Home > Projects > Metering – Instrument Projects > DIY Voltmeter with Arduino and a Nokia 5110 Display

DIY Voltmeter with Arduino and a Nokia 5110 Display

Summary of DIY Voltmeter with Arduino and a Nokia 5110 Display


This tutorial guides users in building a low-cost DC voltmeter using an Arduino Uno, a voltage sensor module, and a Nokia 5110 LCD display. The project demonstrates Ohm's Law principles, specifically utilizing a voltage divider circuit to scale input voltages between 0-25V down to the Arduino's safe analog input range of 0-5V. By leveraging the PCD8544 controller and a specific library, the device offers a clear visual readout for monitoring electronic circuits or battery states while consuming minimal power.

Parts used in the DIY Voltmeter with Arduino:

  • An Arduino Uno
  • A Voltage Sensor
  • A Nokia 5110 LCD display
  • A Small Breadboard
  • Some wires

Story

In this tutorial I am going to show you how to build a Voltmeter with a big Nokia 5110 LCD display using Arduino.

Building a voltmeter is a great learning experience. When you finish building this project, you will have a better understanding of how voltmeters work, you will refresh your knowledge of Ohms law and you are going to see in action how powerful the Arduino platform can be. With this project as a base and the experience gained, you will be able to easily build more complex projects in the future.DIY Voltmeter with Arduino and a Nokia 5110 Display

You can use this project to measure DC voltage from various electronic circuits or monitor the battery state of your Arduino projects easily. Also, with the knowledge gained you can easily build your own voltage sensor to create a custom voltmeter that fits your needs.

Without any further delay, let’s get started!

Step 1: Get All the Parts

The parts needed in order to build this project are these:

The cost of the project is very low. It is about 10$.

Step 2: The Voltage Sensor Module

Let’s see how this sensor module works. This voltage sensor is very simple and it can measure DC voltage from 0-25V. 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. Please check the attached image.

In this module, the R1 is 30.000 Ohms, the R2 is 7500 Ohms. If we put 25V on the input and if we make the calculations, we get 5V at the output! And that’s the maximum voltage an analog pin of Arduino can handle. So, if we exceed 25V at the input, we will burn the Analog pin of Arduino. If we put 0 volts in the input we get 0V at the output. So, if we put any voltage from 0-25V at the input we will get a voltage from 0-5V at the output.

The Arduino Uno has a 10bit ADC so the resolution that we can achieve using this sensor is 25mV. If we use an Arduino Due, we can achieve even better resolution since it has 12bit ADCs. But, of course, we need to build our own voltage sensor, because the Arduino Due board uses 3.3V logic levels, and any voltage beyond that will destroy its analog pin.

Step 3: Nokia 5110 LCD

The Nokia 5110 is my favorite display for my Arduino Projects.

The Nokia 5110 is a basic graphic LCD screen which was originally intended for as a cell phone screen. It uses the PCD8544 controller which is a low power CMOS LCD controller/driver. Because of this this display has an impressive power consumption. It uses only 0.4mA when it is on but the backlight is disable. It uses less than 0.06mA when in sleep mode! That’s one of the reasons that make this display my favorite.

The PCD8544 interfaces to microcontrollers through a serial bus interface. That makes the display very easy to use with Arduino. You only need to connect 8 wires and use the following library: http://www.rinkydinkelectronics.com/library.php?id=47

Schematic DIY Voltmeter with Arduino and a Nokia 5110 Display

This impressive library is developed by Henning Karlsen, who has put forth a huge amount of effort to help the Arduino community move forward with his libraries.

I have prepared a detailed tutorial on how to use the Nokia 5110 LCD display with Arduino. I have attached that video in this tutorial, it will provide may useful information about the display, so I encourage you to watch it carefully.

For more detail: DIY Voltmeter with Arduino and a Nokia 5110 Display

Quick Solutions to Questions related to DIY Voltmeter with Arduino:

  • How much does this project cost?
    The cost is very low, approximately 10 dollars.
  • What is the maximum voltage the sensor can measure?
    The sensor measures DC voltage from 0 to 25 volts.
  • Why is a voltage divider used in this module?
    It converts higher input voltages into lower voltages (0-5V) safe for the Arduino analog pin.
  • What happens if the input voltage exceeds 25V?
    Exceeding 25V will burn the Analog pin of the Arduino.
  • Does the Nokia 5110 display consume much power?
    No, it uses only 0.4mA when on without backlight and less than 0.06mA in sleep mode.
  • Which library is recommended for the Nokia 5110 display?
    The library developed by Henning Karlsen is recommended for use with this display.
  • Can this project be built using an Arduino Due?
    You can use an Arduino Due for better resolution, but you must build your own sensor because it uses 3.3V logic levels.
  • What is the resolution of the measurement using an Arduino Uno?
    The resolution achieved using an Arduino Uno is 25mV.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top