Subscribe to Arduino Academy and start learning today for FREE!

Voltage Monitor

Now that we have the current monitor working, the next step is to build the voltage monitor circuit. I built a voltage divider that will break down the highest voltage my battery can possibly see, into a 0-5v input for the Arduino. Here is a great tutorial explaining the math behind determining the resister values, http://forums.trossenrobotics.com/tutorials/how-to-diy-128/cheap-battery-monitor-using-resistive-voltage-divider-3264/, and a schematic of our version:

 

Become the Maker you were born to be. Try Arduino Academy for FREE!

Here is a screen shot of the monitor showing both current and voltage being monitored.

Now the trick is to multiply the current with the voltage to get watts.

The next step is to sample over time to display the amp hour and watt hour values. Still working on that. I’ve posted a spreadsheet for calculating the resistor values (and amp hour formulas) at http://tech.groups.yahoo.com/group/arduinohome/files/volt%20amp%20watt%20hour%20meter/

There’s a good discussion of this project at http://forum.pololu.com/viewtopic.php?f=3&t=5415

 

Subscribe
Notify of
guest
8 Comments
Inline Feedbacks
View all comments
B.A.T.Man
B.A.T.Man
2 months ago

Just an FYI. Your link to a spreadsheet is broken.

“I’ve posted a spreadsheet for calculating the resistor values (and amp hour formulas) at http://tech.groups.yahoo.com/group/arduinohome/files/volt%20amp%20watt%20hour%20meter/

Hmm. We’re having trouble finding that site.

We can’t connect to the server at tech.groups.yahoo.com.

If that address is correct, here are three other things you can try:

   Try again later.
   Check your network connection.
   If you are connected but behind a firewall, check that Firefox has permission to access the Web.

computerguy@ccs911.com
Admin
computerguy@ccs911.com(@computerguyccs911-com)
2 months ago
Reply to  B.A.T.Man

Sorry, but Yahoo shut down groups a year or 2 ago, so the link won’t work.

AlphaBlack
8 years ago

Hello can you put the code for the last image attached on your post? Thanks very much

Steve Spence
8 years ago

Code is listed at http://tech.groups.yahoo.com/group/arduinohome/files/volt%20amp%20watt%20hour%20meter/

just replace the lcd print statements with Serial.print().

AlphaBlack
8 years ago

Thanks very much ! I will reply if my project works.

AlphaBlack
8 years ago

Hello again, I have some problems with the readings. I have done with this exemple http://s21.postimg.org/kk8n8cw4n/current_monitor.png to read a 5v. What I'm doing wrong ? Here is an image with the readings http://s8.postimg.org/5asg785g5/print.png .

Steve Spence
8 years ago

The example you posted is a current sensor, not a voltage sensor.

samia hussain
4 years ago

nice post

Archives

8
0
Would love your thoughts, please comment.x
()
x