optical sensor
I just bought the the QRB1134, it consists of an infrared emitting diode and a NPN silicon phototransistor mounted side by side.· Anyone know how to wire this to the·boe-bot·and how to program it to read black and white lines.· I've attached the data sheet.· Any help would be greatly apprecieated.· Thanks.
pdf
48K
Comments
K goes to ground
A goes to + 5 volts through a 330 ohm resistor
C goes to + 5 volts
E goes to the input pin on your microcontoller
E also connects to ground through a 1K ohm resistor
Daryl
Do
Debug IN1
Loop