Http://www.elego.cc
60 / 137
Opto Interrupters are commonly used in many arcade games e.g. steering assembly in
older driving games, scoring switches in Whack A Crock etc. Uninterrupted light beam will
turn the phototransistor "ON" connecting the ground to the game board input. When the
light beam is interrupted the phototransistor turns "OFF" , the ground is disconnected from
the input and the pull-up resistor R1 forces the input to go "HIGH" (5V level).
Principle
Photo-interrupter module and number 13 port have the built-in LED simple circuit. To
produce a switch flasher, we can use connect the digital port 13 to the built-in LED and
connect the Photo-interrupter MODULE S port to number 3 port of Elego Uno board. When
the switch sensing, LED twinkle light to the switch signal.