Measuring battery Vcc

164 views
Skip to first unread message

Baruch Even

unread,
Jan 4, 2013, 4:37:10 PM1/4/13
to minio...@googlegroups.com
Hi,

I found an explanation on how to measure the battery Vcc and would have liked to use it in the future to measure the battery status of my battery shield equipped minions. You can find the info at http://provideyourown.com/2012/secret-arduino-voltmeter-measure-battery-voltage/

I tried it and the usb input shows 3.3 volts which is probably the regulated supply, when I use it on the batteries (3xAAA rechargeables of 1.2V each) I get a reading of 0.05V which sounds a little implausible. I'm wondering if someone can shed some light on this and explain it out.

Baruch

gpcra...@volksdata.com

unread,
Jan 4, 2013, 6:27:54 PM1/4/13
to minio...@googlegroups.com
Hi Baruch,

I'm not particularly good at reading schematics, but it seems to me that the Vcc lines are connected to the output of the 3.3V regulator and thus you should always read 3.3V for Vcc.  I am not sure why you are reading 0.05V for Vcc when connected to batteries.  There is a comment in the post you reference (from Oct 16) where someone is noting he is getting strangely low readings. 


Perhaps someone who is good with schematics can shed some light on this.

That is a very interesting post that you reference.  I will have to give it a try and see what results I get.


-Greg

Evan Sakamoto

unread,
Jan 4, 2013, 9:22:51 PM1/4/13
to minio...@googlegroups.com
Yes, Vcc is connected to Vout of the regulator. So as long as VIN > 3.3+Vdropout, Vcc should be 3.3v.

I can think of two things to do:
  1. Connect Vbatt to an analog in, using a resistor divider to scale 4.2v to the internal reference voltage (e.g. 39k and 56k for 2,56v)
  2. Measure Vcc, when it drops from 3.3v, that means the battery is below 3.3+Vdropout. If you know what Vdropout is you know what Vbatt is.
1 is more accurate, you know exactly where the battery sits, but requires extra parts and an analogue pin. 2 is free, and if all you want is to know when the battery is getting low, it's good enough.

Home this helps.

Glory Vandesteene

unread,
Jun 23, 2014, 2:16:45 PM6/23/14
to minio...@googlegroups.com
getting strangely low readings


cygylozy.pdf
timibaka.pdf
tinykidy.pdf
vekidotu.pdf
wanaloza.pdf
witabiby.pdf
zapehobo.pdf
fumikewo.pdf
fyhobega.pdf
gumogise.pdf
kutetelu.pdf
locawasy.pdf
podetamu.pdf
pyxykixi.pdf
sehenolu.pdf
Reply all
Reply to author
Forward
0 new messages