Go Down

Topic: AA Undershield with battery monitor? (Read 920 times) previous topic - next topic

magagna

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.
http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

johnwasser

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.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

magagna

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

Go Up