Hi everyone.
I'm trying to control a relay with Sharp IR sensor
Relay and sensor can be powered by 5V. The problem is that sensor's output varies between 0.2V-2.5V (depends on distance from reflective surface) and this is too low or too high for transistor's base.
Any other solution?
Thanks for any help.
I'm trying to control a relay with Sharp IR sensor
Relay and sensor can be powered by 5V. The problem is that sensor's output varies between 0.2V-2.5V (depends on distance from reflective surface) and this is too low or too high for transistor's base.
Any other solution?
Thanks for any help.