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!
Reading Voltage
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Reading Voltage
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 .
- jameschin
- Posts: 65
- Joined: Sun Jan 05, 2014 8:04 pm
Re: Reading Voltage
Thanks! Could you explain a voltage divider?
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Reading Voltage
This will explain it http://www.allaboutcircuits.com/vol_1/chpt_6/1.html This is a great site to learn about electronics.
Please be positive and constructive with your questions and comments.