home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.cbm
- 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
- From: shad04@ccu.umanitoba.ca (Dan Fandrich)
- Subject: Re: User Port Hardware Question
- Message-ID: <1992Aug12.215509.26875@ccu.umanitoba.ca>
- Keywords: User port switching photoresistors specifications
- Organization: University of Manitoba, Winnipeg, Manitoba, Canada
- References: <1992Aug8.165804.16276@usenet.ins.cwru.edu> <1992Aug10.153011.394@HQ.Ileaf.COM>
- Date: Wed, 12 Aug 1992 21:55:09 GMT
- Lines: 38
-
- In article <1992Aug10.153011.394@HQ.Ileaf.COM> hal@HQ.Ileaf.COM (Hal Wadleigh) writes:
- >The question is as follows: What are the specifications for a photocell that
- >will NOT block the TTL current flow in normal room light, but WILL prevent
- >grounding when a dark shadow falls across the cell?
-
- This circuit ought to work. It might be a good idea to put a fixed resistor
- (a couple k) in series with the pot so you don't accidentally fry the
- transistor while adjusting the resistance. You might have to put a
- cylindrical shield around the phototransistor to block out stray light.
- Swap the transistor and resistor to invert the logic.
-
-
- +5V
- ^
- |
- \ |
- \ ___/
- \ V / /\
- \ |_|/ | Phototransistor
- V | |\ |
- \__V/
- \
- \
- |_______\ To input port
- | /
- /
- \<----
- 50k / |
- pot \ |
- / |
- |-----
- |
- ---
- -
-
- >>> Dan
- --
- Internet: shad04@ccu.umanitoba.ca Compu$erve: 72365,306
-