|
Forum Index : Microcontroller and PC projects : Monitoring battery voltage
| Author | Message | ||||
| PhilTilson Newbie Joined: 15/11/2015 Location: United KingdomPosts: 35 |
Can anyone point me to a simple method of monitoring the battery voltage of a project? I took the obvious route of reading the 5V supply of a Micromite Plus (via potential divider) but, of course, that suffers from the problem that, as the battery voltage falls below a certain point, the reference voltage on the chip falls as well, so the measured voltage is inaccurate, and you never get to an end point! The project is powered from a single 18650 Li cell, usually kept topped up from a 5.5V external power supply via a charge controller. I just want a way to tell when the Li cell has dropped below its minimum voltage so that I can then power down the unit. I know I could use a brownout function, but that wouldn't give me an indication of how far things had got. Or am I missing something obvious? (probably ) |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Page 49 of Getting Started With the Micromite has an example of one way to do it. Geoff Geoff Graham - http://geoffg.net |
||||
| PhilTilson Newbie Joined: 15/11/2015 Location: United KingdomPosts: 35 |
Thanks Geoff, that's really helpful! Phil |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |