Y-010 Broken Light Blocking Sensor
The KY-010 Photo Interrupter module consists of an optical emitter/detector in the front and two resistors (1 k? and 33 ?) in the back. The sensor uses a beam of light between de emitter an detector to check if the path between both is being blocked by an opaque object.
KY010 Sensor Connection Diagram
Connect the power line (middle) and ground (left) to +5V and GND respectively. Connect signal (S) to pin 3 on the Arduino.
| - (left) |
GND |
| middle |
+5V |
| S (right) |
Pin 3 |