PDA

View Full Version : BS2 Phototransistor Input Sensor Circuit



KatyBri
05-20-2006, 11:13 AM
For my current BS2 project, I need to sense when it is daylight or night (light or dark). I would like to use a phototransistor in a simple, low part count, circuit which would connect to one of the BS2 pins. Any circuit/code suggestions? Thanks.

Chris Savage
05-20-2006, 11:17 AM
There are circuit and code examples in the Robotics With The BOE-Bot manual, which is available free from our website.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)