Problem with low battery indicator
I have built a low battery indicator circuit for a 6V battery source. It will light up a led when the voltage reaches below 5V.
The 6V battery source powers a servo motor, which is controlled by a microcontroller.
The problem I have is that when the servo motor rotates, the led lights up. And when the servo stops rotating, the led goes off. This happens even when the battery is above 5V. Any idea what is wrong? And how I could rectify the problem?
I have attached the circuit of the low battery indicator, if it helps.