Getting Started

(lily) #1

Chapter 7: Microcontroller Interrupts and Timers


Figure 23: Opto Interrupt Switch - H21A1


Figure 24: Opto Interrupter Glued on Motor Base



  • Optoisolator pin 2 to a 200 Ohm resistor


Wiring:



  • Optoisolator pin 1 to +3v

Free download pdf