i made an ir sensor for line tracing using lm358 as a comparator.. i am getting the lm358 output as 2.5v.. so naturally when i connect it to the microcontroller, mc does not respond to the sensor.. can anyone suggest a solution for increasing the output voltage of lm358.. i dont wish to change the comparator further..
Hi, LM358 is not a rail to rail opamp... I recommend you to use a rail to rail opamp to get full voltage. Any manufacturer designed rail-to-rail opamps you only have to search and you'll find... I hope this would help you.
Refer to the LM358 data sheet. You can expect about 3.8 V for the unloaded output. 2.5 V means the device is either defective or you're drawing more than 20 mA from the output, which wouldn't be a good idea. Check your circuit!
You can expect about 3.8 V for the unloaded output. 2.5 V means the device is either defective or you're drawing more than 20 mA from the output, which wouldn't be a good idea. Check your circuit!