Hi, everybody; I have my circuit on a breadboard and it works but when the voltages approximate the limits, the LEDs flicker. Seems as if hysteresis is needed but I don´t believe it can be implemented.
Could it be my layout? Something missing or wrong with my circuit?
Attaching my code because I don´t have internet at home and we are not allowed to install software at cyber.Thanks, Alberto
alah:
Hi, everybody; I have my circuit on a breadboard and it works but when the voltages approximate the limits, the LEDs flicker. Seems as if hysteresis is needed but I don´t believe it can be implemented.
. . .
You could try something like this (untested). It uses hysteresis. It should work like this. If the voltage is inside the window, it tends to stick in the window. If it is outside the window, it tends to stick outside the window.
septillion:
What do you mean "the voltages approximate the limits"?
I meant that at the voltages of the window plus and minus approx. 0.25v the LEDs flicker meaning that the output isnt swing form GND to V+ nor from V+ to GND.
And I do have the cap, thanks.
PS Circuit is missing a 100nF ceramic cap over the chip. Every chip likes that
6v6gt; Ill try your code and reply by Friday, Thankss