Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!thfisher From: thfisher@watmath.UUCP Newsgroups: comp.sys.cbm Subject: Re: Commodore 64: How do you control a simple AC relay? Message-ID: <15408@watmath.waterloo.edu> Date: Thu, 5-Nov-87 10:32:02 EST Article-I.D.: watmath.15408 Posted: Thu Nov 5 10:32:02 1987 Date-Received: Sat, 7-Nov-87 15:51:32 EST References: <2955@bnrmtv.UUCP> Reply-To: thfisher@watmath.waterloo.edu (Terry Fisher) Distribution: na Organization: U. of Waterloo, Ontario Lines: 29 Keywords: Commodore 64, Hardware, User Port, Relay In article <2955@bnrmtv.UUCP> geller@bnrmtv.UUCP (Phil Geller) writes: >I want to use a Commodore 64 to turn an AC device on and off. >It seems like this is a simple task, that could be accomplished >with off-the-shelf hardware. My problem is that I know next to >nothing about Commodores and the peripherals available for them. >From reading the manual it seems like I could connect the user port >to a CIA chip, which would then control a relay. If at all possible, >I would much rather go out and buy something that is already designed. >Does anybody know where I can find this sort of hardware, and an >approximate cost? The circuit to turn one AC device on and off is trivial. It requires a couple of off-the-shelf chips and a few resistors (plus of course the connector to fit the computer:-). I don't remember the circuit off hand, but if you are interested, I can post a schematic and a simple program to run it. As for price, you should probably be able to pick up the parts for <$10. >Phil Geller >Voice: (415) 940-2376 >UUCP: ...{hplabs | amdahl | ames}!bnrmtv!geller >mail: BNR, P.O. Box 7277, Mountain View, CA 94039-7277 Terry Fisher -- watmath!thfisher // \\//-\miga user. The meek shall inherit the earth because everyone else is leaving. Disclaimer: Would you claim these ideas? Neither do I.