Monday, June 8, 2015

Sharp GP1S53VJ000F PhotoInterrupter

I recently got a Sharp GP1S53VJ000F photointerrupter from Mouser and successfully tested it with a Texas Instruments EXP-430F5529 LaunchPad with Energia and on an Arduino Uno.    It should work with most LaunchPads using Energia.  Non-transparent objects passing through the "slot" are detected.

The sensor consists of an infrared LED emitter and a phototransistor detector opposite each other in a case.  When the transmission between them is blocked the digital pin will go high.  The sketch will then send a message to the serial monitor.

When tested it gave a very reliable response, even in bright sunlight with the sensor unshielded.

The circuit and sketch can be found here at Github.

No comments:

Post a Comment