Loading...
Pages: [1]   Go Down
Author Topic: AA Undershield with battery monitor?  (Read 575 times)
0 Members and 1 Guest are viewing this topic.
Southern California
Offline Offline
Sr. Member
****
Karma: 4
Posts: 464
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a project I need to run off batteries. I've built the AA Undershield (http://www.instructables.com/id/The-Arduino-AA-Undershield/) and it gives me the runtime I need (> 20 hours), so far so good.

I was thinking about connecting the +3v from the batteries to an analog port to measure battery life. I think this should work, but I don't know enough about hardware to make sure this isn't a bad idea.

Is there any reason I shouldn't do this?

Thanks in advance.
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 96
Posts: 6331
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Ground pin of the Arduino is connected to the negative terminal of the battery so you should be able to run positive side of the ~3V battery to an Arduino analog input without problem.
Logged

Southern California
Offline Offline
Sr. Member
****
Karma: 4
Posts: 464
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks John!
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Pages: [1]   Go Up
Print
 
Jump to: