Serial Port access from Squeak

Todd Coram tcoram at BLaCKSMITH.com
Mon Jan 12 16:25:23 UTC 1998


Hello All,

A newbie question:

I am interested in getting Squeak to control  my Kodak DC20 digital
camera (This camera is cheap <$200 and fun to play with). It connects to
your computer's serial port and uses a very simple protocol (I have
written controllers using Python and TCL in less than a couple of
hours).

My goal:  Squeak + DC20 = cheap playground for digital photography.

The problem:  Squeak doesn't support serial port access (or does it?).

Are there any Squeak modifications out there that have serial port
access? (BTW, I would love to see such a feature become part of the
core.  One could implement it in a fairly portable fashion...)

Right now, I am looking at writing a tiny "serial port" server in C that
any program (including Squeak) can connect to using TCP.  Of course,
doing it this way would allow me to open the camera to all types of
Web/Internet interfaces!  But, right now I would be happy if I can get
Squeak to talk to it directly (and maintaining cross-platform
compatibility would be a big plus).

Anyway, any suggestions would be appreciated.

--
Todd Coram (Maroc Ddot)
tcoram at BLaCKSMITH.com | tcoram at pobox.com

Sardonic slaughterer of sacred cows.





More information about the Squeak-dev mailing list