Shop OBEX P1 Docs P2 Docs Learn Events
BS2 Phototransistor Input Sensor Circuit — Parallax Forums

BS2 Phototransistor Input Sensor Circuit

KatyBriKatyBri Posts: 171
edited 2006-05-20 03:17 in BASIC Stamp
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.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-05-20 03:17
    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
Sign In or Register to comment.