Go Down

### Topic: Using Schmitt trigger for battery life indicator (Read 1 time)previous topic - next topic

#### kurtselva

##### Feb 26, 2013, 06:24 am
Hi,

I am doing a low battery indicator for a 6V battery using Schmitt trigger.
I want the led to switch on when the voltage is below 5V and switch off above that.. How can I get this done?

I have this circuit diagram attached to show how I have built the circuit but there is this problem where the led would still light up even when the input to the Schmitt trigger is disconnected.

Anyone can help?

#### nickgammon

#1
##### Feb 26, 2013, 06:46 am
How to use this forum

First, resize your image down to about 100 Kb, edit your post and swap them over, thanks.

3 Mb for a circuit is too much.

Please post technical questions on the forum, not by personal message. Thanks!

#### MaJiG

#2
##### Feb 26, 2013, 07:12 am
Using the input trigger voltage of an inverter is pretty chancy, methinks.

I would use a 5.1V zener and a comparator chip like an LM339.

Just a thought...

#### MarkT

#3
##### Feb 26, 2013, 05:46 pm

How to use this forum

First, resize your image down to about 100 Kb, edit your post and swap them over, thanks.

3 Mb for a circuit is too much.

Indeed - we don't need to see every RGB pixel on your screen!

Back to the question - no a schmitt trigger like an HC14 is not suitable for this application,
it has very little precision at all (and a very large hysteresis - you need some hysteresis but
perhaps 1%, not 50!).

A comparator as suggested, but the 5.1V zener isn't going to be useful if the circuit is running at
5V.

The normal method is to set up a wheatstone-bridge arrangement, one arm of which uses two
resistors to sample the battery voltage (typically approx 50% of it).  The other arm would use
a zener and a resistor to form the voltage reference (say 2.7V).  You choose the actual
resistors in the divider arm to make the bridge balance when the battery voltage is at the value
you want to sense.

A comparator then takes its inputs across the bridge.  Adding a little hysteresis is advised to
stop rapid fluctuations due to noise.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

#4

#### kurtselva

#5
##### Mar 03, 2013, 06:48 pm

Using the input trigger voltage of an inverter is pretty chancy, methinks.

I would use a 5.1V zener and a comparator chip like an LM339.

Just a thought...

Can I use the circuit as attached for a 6V source?

And how do I determine the zener diode value according to the voltage source?

Go Up