Arduino Voltmeter DIY project
In this video we are going to learn how to build our own Arduino voltmeter using a very inexpensive sensor. The voltage we measure is then displayed in a Nokia 5110 LCD display. This project is very easy to build and great learning experience.
With this project we can measure the voltage of our voltage sources, or monitor the battery level of our projects. Let’s see the project in action. I have connected two wires to the voltage sensor module I am using today. I place the red wire to the positive terminal of an AA battery and the black wire to the negative terminal of the battery. In the display we get its voltage. Let’s now try this 18650 battery, we get 3.6V. Let’s now measure this big 12V battery. The voltage is 12.1V. If we compare the readings with a Multimeter, we can see that the measurements are really close! The project is working fine. But be careful, the maximum input voltage that this sensor can measure is 25V, so if you exceed it, you are going to burn your Arduino Pin. Let’s now see how to build this project.
The parts needed in order to build this Arduino Voltmeter project are these:
WHERE TO BUY
Arduino Uno: http://bit.ly/Cheap_Uno
Nokia 5110 LCD: http://bit.ly/NOKIA5110
Voltage Sensor: http://bit.ly/VoltageSensor
Small Breadboard: http://bit.ly/SmallBreadboard
Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!
The connection with Arduino is very easy. We only have to connect two wires to Arduino. The pin with – sign goes to Arduino GND and the Signal pin which is marked with an S, goes to any analog pin of Arduino. I am using analog pin 0 today. That’s it. We can leave the positive pin unconnected, since it is not used at all by the module! Next we have to connect the Nokia 5110 LCD display. Please watch the detailed tutorial I have prepared on how to use the Nokia 5110 LCD display. That’s it, if we now power up the project, in the display a splash screen is displayed for a couple of seconds and after that we are ready to measure the voltage.
But now let’s see how this sensor module works. This voltage sensor is very simple. It consists of only two resistors! You can build your own easily if you wish, or you can buy this module sensor with less than a dollar if you want something already built. This is how it works. This sensor is actually a voltage divider. A voltage divider circuit is a very common circuit that takes a higher voltage and converts it to lower one by using a pair of resistors. The formula for calculating the output voltage is based on Ohms law.
CODE OF THE PROJECT
SUBSCRIBE ON YOUTUBE
Never miss a video: Subscribe to educ8s.tv