Pages: [1]   Go Down
Author Topic: Using Schmitt trigger for battery life indicator  (Read 725 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 98
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?


* image.jpg (3331.34 KB, 3264x2448 - viewed 61 times.)
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 495
Posts: 19035
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged


Lost Wages
Offline Offline
Full Member
***
Karma: 11
Posts: 103
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

0
Online Online
Shannon Member
****
Karma: 214
Posts: 12408
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

[ I won't respond to messages, use the forum please ]

Denmark
Offline Offline
God Member
*****
Karma: 15
Posts: 743
Please don't send questions as PM!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://bit.ly/IVZaeV

// Per.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 98
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

* comparator_ckts.pdf (15.78 KB - downloaded 26 times.)
Logged

Pages: [1]   Go Up
Jump to: