Reading Voltage

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jameschin
 
Posts: 65
Joined: Sun Jan 05, 2014 8:04 pm

Reading Voltage

Post by jameschin »

Is it possible for an Arduino to read the voltage from a battery?

I'm planning on making a voltmeter with an Arduino, but if there's a better way to make a DIY voltmeter, please let me know!

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Reading Voltage

Post by Franklin97355 »

If the battery will always be between 0 and 5vdc you can use an analog pin on the Arduino. If it is more than 5vdc you will need to create a "voltage divider" to reduce the measured to 5v .

User avatar
jameschin
 
Posts: 65
Joined: Sun Jan 05, 2014 8:04 pm

Re: Reading Voltage

Post by jameschin »

Thanks! Could you explain a voltage divider?

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Reading Voltage

Post by Franklin97355 »

This will explain it http://www.allaboutcircuits.com/vol_1/chpt_6/1.html This is a great site to learn about electronics.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”