knark
Junior Member level 1
Friends,
i am having problems when i interface my comparator LM324 which is taking inputs from infrared sensors and giving output to the microcontroller. what happens is that without microcontroller the comparator gives good output like 3.6V and 0 V for a high and a low respectively . but when we interface it with a controller i dont know what happens . some people are suggesting that you should have a pull up or pull down resistor at comparator's output. which one should i have pull up or down and why should i have it and we also know that there are internal pull ups in 89c51 so dont they function properly ?
i am having problems when i interface my comparator LM324 which is taking inputs from infrared sensors and giving output to the microcontroller. what happens is that without microcontroller the comparator gives good output like 3.6V and 0 V for a high and a low respectively . but when we interface it with a controller i dont know what happens . some people are suggesting that you should have a pull up or pull down resistor at comparator's output. which one should i have pull up or down and why should i have it and we also know that there are internal pull ups in 89c51 so dont they function properly ?