Originally this 2000 circuit was designed to be a switch to the parallel port, but with 5 V or even 3.3 V power it can be used with microcontrollers. The 270 ohm resistor can be reduced for 3.3 V logic case. Q1 can be any photo transistor.
Originally this 2000 circuit was designed to be a switch to the parallel port, but with 5 V or even 3.3 V power it can be used with microcontrollers. The 270 ohm resistor can be reduced for 3.3 V logic case. Q1 can be any photo transistor.