Subject:
|
Re: Low battery detection
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 29 Oct 1997 02:13:32 GMT
|
Original-From:
|
Brian Lavery <blavery@acslink/stopspammers/.aone.net.au>
|
Viewed:
|
1642 times
|
| |
| |
> Is it possible for a handy-board program (either 'C' or assembler) to
> detect a low battery condition?
Sure:
Solder a wire to the "BATTERY +", add 2 resistors to make a voltage divider
(to divide the battery ABSOLUTE MAX condition, say about 12V, down to about
4 volts for the analog 0-5v range), and feed it into an ANALOG input point.
Put a multimeter on the battery to measure its volts in a LOW charge
condition, and then in a HIGH charge condition. Read the HB analog input
value for both those conditions, and assume a linear connection between bat
volts and analog reading.
Pity it wasn't built in!
Brian Lavery
blavery@computer.org
============================= ===================================
Brian Lavery BE MACS MIEEE Tel: +61 (2) 9906 3900
Technical Manager Fax: +62 (2) 9906 3436
Online International Pty Ltd Email: <blavery@reservhotel.com>
20/130 Pacific Highway Web: <http://www.reservhotel.com>
St Leonards NSW 2065 and <www.acslink.aone.net.au/reservhotel>
Australia Personal: <blavery@computer.org>
============================= ===================================
|
|
Message is in Reply To:
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|