home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / cbm / 3362 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.7 KB  |  50 lines

  1. Newsgroups: comp.sys.cbm
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!shad04
  3. From: shad04@ccu.umanitoba.ca (Dan Fandrich)
  4. Subject: Re: User Port Hardware Question
  5. Message-ID: <1992Aug12.215509.26875@ccu.umanitoba.ca>
  6. Keywords: User port switching photoresistors specifications
  7. Organization: University of Manitoba, Winnipeg, Manitoba, Canada
  8. References: <1992Aug8.165804.16276@usenet.ins.cwru.edu> <1992Aug10.153011.394@HQ.Ileaf.COM>
  9. Date: Wed, 12 Aug 1992 21:55:09 GMT
  10. Lines: 38
  11.  
  12. In article <1992Aug10.153011.394@HQ.Ileaf.COM> hal@HQ.Ileaf.COM (Hal Wadleigh) writes:
  13. >The question is as follows: What are the specifications for a photocell that
  14. >will NOT block the TTL current flow in normal room light, but WILL prevent
  15. >grounding when a dark shadow falls across the cell?
  16.  
  17. This circuit ought to work.  It might be a good idea to put a fixed resistor
  18. (a couple k) in series with the pot so you don't accidentally fry the
  19. transistor while adjusting the resistance.  You might have to put a 
  20. cylindrical shield around the phototransistor to block out stray light.
  21. Swap the transistor and resistor to invert the logic.
  22.  
  23.  
  24.             +5V
  25.              ^
  26.              |
  27.    \         |
  28.     \    ___/
  29.   \  V  /  /\
  30.    \   |_|/  |  Phototransistor
  31.     V  | |\  |
  32.         \__V/
  33.             \
  34.              \
  35.               |_______\  To input port
  36.               |       /
  37.               /
  38.               \<----
  39.         50k   /    |
  40.         pot   \    |
  41.               /    |
  42.               |-----
  43.               |
  44.              ---
  45.               -
  46.  
  47. >>> Dan
  48. -- 
  49. Internet: shad04@ccu.umanitoba.ca               Compu$erve: 72365,306
  50.