Home Arduino Projects Arduino Count up Timer Using the Nokia 5110 LCD

Arduino Count up Timer Using the Nokia 5110 LCD

by Nikodem Bartnik
Arduino Count up Timer Using the Nokia 5110 LCD

LCDs are the easiest way to display data out of your electronics project and they are widely used in electronics. The most popular ones are alphanumeric ones, just like the one we used in this project.

What if you need to display more complex data or graphics? One of the cheapest solutions to this is to use is the well known Nokia 5110 LCD display. This LCD is as cheap as $4. It has a 84 x 84 pixels screen size. The Nokia 5110 LCD display communicates with Arduino over SPI which reduces the number of pins needed to connect the LCD.

I will suggest you check these Arduino projects where we made use of LCDs before coming back to this one if you haven’t yet.

Parts needed

Arduino Count up Timer Using the Nokia 5110 LCD

Not a lot is needed for this project.

Once you have all the components, use the schematic below to build the project. Note the VCC of the LCD must be connected to 3.3V. Connecting it to 5V might destroy it. Make sure you double check that before connecting your project to power.

Arduino Count up Timer Using the Nokia 5110 LCD

One pin of the LCD is not connected. It is labeled as BL, the LED or LIGHT (this depends on the LCD manufacturer). This pin is for the backlight. If you intend to use the screen in the dark, feel free to connect it to 3.3V. In my case, the backlight LED is blue but might be different in yours.

Arduino Count up Timer Using the Nokia 5110 LCD
Arduino Count up Timer Using the Nokia 5110 LCD

Before uploading the code, we have to install two libraries. To download the first one, type “5110” in the libraries manager and select one from Adafruit. The second library is also made by Adafruit and it is called Adafruit_GFX. If you don’t know how to install those libraries, check out this tutorial. When those two libraries are installed, upload the code below to the Arduino.

This code will show seconds based on the millis() function. It simply counts up in seconds.

Arduino Count up Timer Using the Nokia 5110 LCD

And That’s all. Hope all went fine for you. Remember the comment section is just down below, in case of any question.

Related Posts

1 comment

Joe Daccache October 31, 2018 - 7:31 am

are we able to get to 3 digits counter with this project and does it work for aa long period of count like a day or a period of 86400 min ?

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy