• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Nokia 5110 Arduino Wiring, Technical Details : Basic Arduino LCD

By Abhishek Ghosh June 25, 2017 11:22 pm Updated on June 25, 2017

Nokia 5110 Arduino Wiring, Technical Details : Basic Arduino LCD

Advertisement

Previously we talked about choosing displays for Arduino. At that time we had no idea that Nokia 5110 Arduino modules are made out of used Nokia 5110 like thrown away phones. After knowing the background story, we really can not suggest this thing to buy. Buying a color LCD, TFT display for Arduino is correct option. Raspberry like single board computers supports high resolution displays and we really want to keep two segments different. If you purchased a basic Arduino LCD at cheap rate then here is Nokia 5110 Arduino wiring, technical details, code. This guide will also give you idea about troubleshooting of common problems.

 

Nokia 5110 Arduino Wiring: Basic

 

At minimum you need :

  1. Nokia 5510LCD
  2. Arduino board
  3. Jumper Wires
  4. Bread Board

Connections are as follows, = sign means you need to connect them :

Advertisement

---

  1. SCK or CLK = Pin 7 of Arduino
  2. MOSI or DIN = Pin 6 of Arduino
  3. DC = Pin 5 of Arduino
  4. RST = Pin 3 of Arduino
  5. CS or CE = Pin 4 of Arduino
  6. VCC = 3.3 volt of Arduino
  7. BL = 3.3 volt of Arduino
  8. GND = ground of Arduino

The above is basic minimum setup enough good for testing, but not good to run more than 10-15 minutes. You should add a 1kΩ resistor between SCE (or CE) and Arduino pin. That is what we have shown in the photographs :

 

Nokia 5110 Arduino Wiring: Advanced

 

You really need some resisters between the pins of the module and Arduino. VCC supplies the logic circuits inside the LCD and datasheet the supply should be between 2.7V and 3.3V. So it is practical to add a resistor to supply around 3.0V to the module. In a normal state, the LCD will consume about 6 or 7mA. BL is the second voltage supply and is required for the LED backlights. Those LEDs of backlights has no current limiting resistors. In this case also it is practical to add a resistor to supply around 3.0V to the BL pin of the module. 330Ω resistors should work for both of them. Check end voltage with multimeter (we have multimeter using guide for dummies).

You should add a 1kΩ resistor between SCE (or CE) and Arduino pin. The others – SCLK (or CLK), DIN, DC, and RST pins should have 10kΩ resistors. You can lower the values of 10kΩ resistors to 1kΩ resistor if does not work.

Nokia 5110 Arduino Wiring Technical Details Basic Arduino LCD

Sparkgun written to hookup using an actual level converters to switch between 5V and 3.3V. Boards like the Bi-Directional Logic Level Converter and the TXB0104 are perfect. We have not tested, does not worth effort or investment of money.

 

Installing Nokia 5110 Arduino Libraries And Examples

 

Open Arduino IDE. You can install the libraries to make it working from Arduino software user interface. Go to Sketch > Include Library > Manage Libraries. Search with Nokia 5110 on the window which will open. Install Adafruit PCD8544 Nokia 5110 LCD Library. Search with Adafruit GFX and install Adafruit GFX Library. Search with OakOLED and install OakOLED Library. Restart the Arduino IDE. After restart, connect Arduino with computer, go to File > Examples > Adafruit PCD8544 Nokia 5110 LCD library > pcdtest. Upload it and check whether you can see things on Nokia 5110 LCD display.

We used this example sketch for the photograph :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
Adafruit_PCD8544 display = Adafruit_PCD8544(7, 6, 5, 4, 3);
#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
 
void setup()   {
  Serial.begin(9600);
  display.begin();
  display.clearDisplay();
  display.setContrast(70);
  display.setTextSize(1);
  display.setTextColor(BLACK);
  display.setCursor(0,0);
  display.println("@AbhishekCTRL");
  display.setTextSize(1);
  display.setTextColor(BLACK);
  display.println(" ");
  display.setTextColor(WHITE, BLACK);
  display.setTextSize(1);
  display.println("#AbhishekGhosh");
  display.setTextSize(1);
  display.setTextColor(BLACK);
  display.println(" ");
  display.setTextSize(2);
  display.setTextColor(BLACK);
  display.println("Read...");
  display.display();
  }
  void loop() {
  
}

Here is an informative library with some more examples :

Vim
1
https://github.com/carlosefr/pcd8544

You need Bitmap converter for the LCD. For Mac, here is a DMG file which will help you to convert images to bitmap :

Vim
1
http://www.csmithsoftware.com/LCD_Creator/LCD_Creator.dmg

Here is a font creating tool :

Vim
1
https://github.com/pavius/The-Dot-Factory

 

Nokia 5110 Arduino Wiring : Technical Details, Troubleshooting

 

LCD can appear fade. This depends on how the used LCD was. It is matter of luck. Not all Nokia 5110 LCDs are the same, although they look identical. Even the connector wiring can be completely different. Philips PCD8544 is the LCD driver for this module. Nokia 5110 LCD has 5 control lines and the interface is of the type SPI.
Here is PDF of Nokia-5110-datasheet manufactured by Goldentek Display System Company in 2001. Here is PDF of Phillips PCD8544 – pcd8544.

 

More Examples With Nokia 5110 Arduino : Stopwatch, Display Capabilities

 

Install more two libraries :

Vim
1
2
https://github.com/geneReeves/ArduinoStreaming
https://github.com/thomasfredericks/Metro-Arduino-Wiring/tree/master/Metro

Create a stopwatch library :

Vim
1
http://www.avdweb.nl/arduino/libraries/stopwatch.html#h5-stopwatch-library

Connect :
CE to 9;
CLK to 13;
DIN to 11;
DC to 12;
RST to 10;

and run this code, load this sketch to a timer watch.

And with the same pin connection, run this code (it is from the above website) :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
#include <Streaming.h>
#include <Metro.h>
 
const byte PWMDACpin = 9; // CE
const byte NokiaSCLKpin = 13; //CLK
const byte NokiaDNpin = 11; // DIN Pin
const byte NokiaDCpin = 12;// DC Pin
const byte NokiaRESETpin = 10;// RST Pin
const char LCDcontrast = 55;
int i;
#include "Stopwatch.h"
Stopwatch stopwatch(micros);
Adafruit_PCD8544 nokia(NokiaSCLKpin, NokiaDNpin, NokiaDCpin, 0, NokiaRESETpin);
Metro LCDinitTimer(2000);
void setup(void)
{ Serial.begin(9600);
  nokia.begin();
  nokia.setContrast(LCDcontrast);
  nokia.clearDisplay();
  nokia << "Hello!\n"; // without using F
  nokia << F("Save RAM with the Flash library\n"); // use F to save RAM space
  nokia.display();
  nokia.setContrast(LCDcontrast);
}
void loop(void)
{ stopwatch.start();
  nokia.clearDisplay();
  nokia << F("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor ") << i++;
  nokia.display();
  if(LCDinitTimer.check()) nokia.begin(LCDcontrast);
  stopwatch.stop(); // test
  Serial << stopwatch.counter << " " << stopwatch.interval << " " << stopwatch.maxInterval(1) << "\n";
}
void findBestContrast(int contrastMin, int contrastMax, int _delay)
{ for(int contrast=contrastMin; contrast<=contrastMax; contrast++)
  { nokia.clearDisplay();
    nokia.setContrast(contrast);
    nokia << F("12345678901234");
    nokia << F("12345678901234\n");
    nokia << F("bla bla bla bla bla bla\n");
    nokia << contrast;  
    nokia.display();
    delay(_delay);
  }
}

Tagged With wiring nokia 5110 with arduino pro mini , Technical details of Arduino Uno IDE , paperuri:(cdb7e4eea607bd6dfb1eec4e40731504) , oakoled in arduino , nokia 5110 connections arduino , nokia 5110 arduino specification , nokia 5100 module arduino , lcd nokia 5110 androido , how to connect nokia 5110 to arduino , check nokia 5110 display

This Article Has Been Shared 882 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Nokia 5110 Arduino Wiring, Technical Details : Basic Arduino LCD

  • Arduino Basic 3V Motor Control : Speed Variation For Robot

    Very Easy With 100% Working Warranty. Code, Circuit Included. This Arduino Basic 3V Motor Control is Intended For Speed Variation For Robot.

  • Arduino 3V Motor Control : Level I Advanced Speed Variation

    Arduino 3V Motor Control Level I Advanced Speed Variation is Second Hard Level Guide Where Diode, Transistor and Resister Has Been Used.

  • DIY Arduino Traffic Light Pedestrian Light Push Button Control

    Here is How to Create LED DIY Arduino Traffic Light – Pedestrian Light Push Button Control. When Pedestrians Will WALK, Cars Will Stop Logic.

  • Arduino TM1637 Scrolling Text, Snake Examples

    Snake Animation Is Used In The Proprietary LED Displays To Indicate Working, Busy. Here Are Examples Of Arduino TM1637 Scrolling Text, Snake.

  • DIY Basic Stand For TM1637 7 Segment LED Display Module

    Is Not It Risky To Use LED Display Unprotected? Here Is How To Build DIY Basic Stand For TM1637 7 Segment LED Display Module With Cardboard.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Configuration Management February 5, 2023
  • What is ChatGPT? February 3, 2023
  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Nokia 5110 Arduino Wiring, Technical Details : Basic Arduino LCD," in The Customize Windows, June 25, 2017, February 6, 2023, https://thecustomizewindows.com/2017/06/nokia-5110-arduino-wiring-technical-details-basic-arduino-lcd/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT