Serial Port Programming

8 posts / 0 new
Last post
macfreak4's picture
Offline
Last seen: 19 years 5 months ago
Joined: Nov 13 2004 - 18:30
Posts: 23
Serial Port Programming

This is both a hardware and software topic. I have this idea for an old compact Mac I have laying around to automate things in the house (ex. running a relay/solenoid to turn on lights, etc) I was thinking about programming the serial port (somehow) to achieve this; Is this possible :? I already have REALBasic, but I'm not sure wheather that would help me or not.

sourapple's picture
Offline
Last seen: 16 years 10 months ago
Joined: May 27 2004 - 02:42
Posts: 209
buy X10 stuff. Its compatibl

buy X10 stuff. Its compatible with ANYTHING back to System 7.

macfreak4's picture
Offline
Last seen: 19 years 5 months ago
Joined: Nov 13 2004 - 18:30
Posts: 23
Yes, but...

I've looked into x10 stuff, but its expensive, at least 50$ just to get started. I'm looking for a cheap way to do it, and it doesn't nesessarily have to be "wireless"

Offline
Last seen: 9 years 3 days ago
Joined: Dec 20 2003 - 10:38
Posts: 211
RealBasic is easy to use but

RealBasic is easy to use but it has a big memory footprint and may not be able to compile 68000 binaries. AppleScript may be a better option. You'll need to get a third party Serial Port OSAX to go with the standard Apple components.

Phil

macfreak4's picture
Offline
Last seen: 19 years 5 months ago
Joined: Nov 13 2004 - 18:30
Posts: 23
I've used REALBasic 3.5.1 68k

I've used REALBasic 3.5.1 68k apps on a Classic w/ 4MB RAM before, but the problem is that it outputs digital signals, which obviously won't work directly without some kind of board to convert the signal. :/

DrBunsen's picture
Offline
Last seen: 10 years 9 months ago
Joined: Dec 20 2003 - 10:38
Posts: 946
From my bookmarks

There used to be a box called the ADB I/O that did pretty much what the name implies, but it's long out of production. Stick it on permanent search on Ebay for the next twelve months and one might turn up Beee

I've added a few other things below which might be of interest.

http://www.iwac.se/adbiotech/ADB_IO/ADB_Resources/ADB_IO_Resource_Pages.html


macfreak4's picture
Offline
Last seen: 19 years 5 months ago
Joined: Nov 13 2004 - 18:30
Posts: 23
Found something

I found these pages with google:

http://francis.courtois.free.fr/jc1/serial/main.html

http://www.wam.umd.edu/~zben/mac/MacSerHard.html

Its a bit foreign to me...

macfreak4's picture
Offline
Last seen: 19 years 5 months ago
Joined: Nov 13 2004 - 18:30
Posts: 23
Finished!

I used a modem to control a relay circuit. More info at the link below:

http://macfreak4.homeunix.com/mac/automac/index.html

Log in or register to post comments