[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IIGS Controlling and Sensing Ideas



In article <MPG.2b307401784cd063989680@news.giganews.com>,
I. G. Dev <starigdev@hotmail.comstar> wrote:
>All ideas appreciated related to making a "light controller". Or any 
>other ideas that fall under the "home control" paradigm.

I have a refrigerator controlled by a IIGS (could also use a II+ or IIe)
that I use to control homebrew fermentation.  It uses a 1-Wire temperature
sensor and real-time clock, and an annunciator output is used to switch a
relay on and off (which in turn switches the compressor on and off). If you
need to switch more than one device, you could control a relay with a DS2405
(or eight of them with a DS2408); since I only needed one, an annunciator
output controls a PN2222, which controls a relay.

The following archive contains cc65 source code for my beer-fridge
controller:

http://alfter.us/files/apple2/a2bfc-1.0.tar.gz

Searching "1-Wire switch" turned up this circuit for controlling a relay
with a DS2405:

http://electronicdesign.com/article/components/drive-a-relay-using-a-1-wire-addressable-switch725

My 1-Wire controller works by bit-banging the 1-Wire protocol over an
annunciator output and a paddle-button input.  Its main advantage is that
it's cheap and can plug into the 16-pin joystick connector inside an Apple
II.  You could also use something like this, plugged into a serial port:

http://www.embeddeddatasystems.com/HA2--RS232-1-Wire-Host-Adapter_p_16.html

  _/_
 / v \ Scott Alfter (remove the obvious to send mail)
(IIGS( http://alfter.us/            Top-posting!
 \_^_/                              >What's the most annoying thing on Usenet?