home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / apple2 / 24297 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.7 KB

  1. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!vaxc.cc.monash.edu.au!chm114u
  2. From: chm114u@vaxc.cc.monash.edu.au
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: How do I control soft switches?
  5. Message-ID: <1992Nov21.153529.90665@vaxc.cc.monash.edu.au>
  6. Date: 21 Nov 92 15:35:29 +1100
  7. References: <1992Nov16.190037.2147@news2.cis.umn.edu> <1eamgvINNgks@gap.caltech.edu>
  8. Organization: Computer Centre, Monash University, Australia
  9. Lines: 28
  10.  
  11. In article <1eamgvINNgks@gap.caltech.edu>, toddpw@cco.caltech.edu (Todd P. Whitesel) writes:
  12. > hiroki@limerick.cbs.umn.edu (Hiroki Morizono) writes:
  13. >
  14. >>Hi, I'm trying to open/close a switch using  a solid state relay, from
  15. >>the game port of an apple2e, using game controller 0
  16. >
  17. > Bzzt. Game controller 0 is an input. The output your program correctly controls
  18. > is "Announciator 0" or AN0 for short. This is -not- connected to the 9 pin
  19.  
  20.      < good stuff deleted)
  21.  
  22. > Also, make sure the relay can activate with only a few mA of current at about
  23. > 3 volts, because that's all the TTL output can provide. I STRONGLY advise that
  24. > you spend a little extra time working up a transistor switch or something
  25. > similar; TTL outputs are _not_ designed to power things, and you may fry a
  26. > chip on your motherboard if you draw too much current for too long.
  27. >
  28. > Todd Whitesel
  29. > toddpw @ cco.caltech.edu
  30.  
  31. These days, I always use an optocoupler. They switch more nicely than a relay,
  32. they're sensitive and they're inexpensive (about 50 cents Australian). Use a
  33. couple of thousand ohm resistor to limit the annunciator current. They also
  34. provide more protection from "nasties" from the load you might be switching.
  35.  
  36. Mike Atkinson  chm114u@vaxc.cc.monash.edu.au
  37.                Chemistry Dept., Monash Uni., Melbourne, Australia.
  38.  
  39.