Pages: [1]   Go Down
Author Topic: AA Undershield with battery monitor?  (Read 869 times)
0 Members and 1 Guest are viewing this topic.
Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
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: 208
Posts: 8849
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

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
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
Jump to: