i have a opb704 sensor it consists of phototransistor and IR LED
photo transistor interfaced to microcontroller input , IR LED to 5v
anyway the phototransistor works fine and it sense the reflected reds of the IR and it provides logic one to the microcontroller
the problem is the sun........ when the phototransistor gets any sun light it provides logic one to the microcontroller at night it works fine the problem happens on day when there's sun, my home electric lights do not make problem
i just want to make the photo transistor sense the reds coming from the IR LED
not from the the sun
*mcu picaxe 18X
photo transistor interfaced to microcontroller input , IR LED to 5v
anyway the phototransistor works fine and it sense the reflected reds of the IR and it provides logic one to the microcontroller
the problem is the sun........ when the phototransistor gets any sun light it provides logic one to the microcontroller at night it works fine the problem happens on day when there's sun, my home electric lights do not make problem
i just want to make the photo transistor sense the reds coming from the IR LED
not from the the sun
*mcu picaxe 18X
Last edited: