View Full Version : BS2 Phototransistor Input Sensor Circuit

05-20-2006, 10: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, 10: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)