A simple breakout PCB for the GP1A57HR photo interrupter. This PCB has three connections for PWR, GND, and Signal.
When the gate is clear, SIG will be low (<0.4V). When the gate is blocked by a finger, writing utensil, food pellet, or anything else - SIG will go high (>4.9V). Assembled picture is for reference only.
Board comes bare; photo interrupter and the 220Ω (330Ω, works as well) current limiting resistor are listed below
|Schematic : Download|