Start Stop Photogate Timer by victor3

This sketch is missing a short description
###DIY Photogate Timer This is a photogate timer circuit using an Arduino. It polls the status of the IR Detector (on pin 2) ####Hardware connections: Connect an IR LED between pin 12 and GND and the IR detector between pin 2 and GND. An optional LED can be connected to pin 13. Position the IR emitter / detector pair until you see LED 13 turn on. This indicates that the IR beam is being picked up. Open up the Serial Monitor at 115200 baud to see photogate events. Hit the reset button on the Arduino to re-start the timer.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:118053" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>