On previous post we learn how to use LCD as Arduino project display. Another common display for Arduino project is Nokia 5110 LCD. The LCD is the same display used for legendary Nokia 3310 phone. The driver use PCD8544 controller by Phillips. It has nice contrast and also led backlight. Here the example on my project.
After doing research on google, finally I can make this display works.
Wiring
For this type on the back has pin descriptions.
After doing research on google, finally I can make this display works.
Wiring
For this type on the back has pin descriptions.
The wiring need 5 pinS connected to arduino. Here the connection from LCD to Arduino. All pin used is digital pins. See top picture for pinouts.
- RST <----> PIN 12---->
- CE <----> PIN 11---->
- DC <----> PIN 10---->
- DIN <----> PIN 9---->
- CLK <----> PIN 8---->
- VCC <----> 3.3v---->
- BL <----> 3.3v (backlight)---->
- GND <----> GND---->
Libraries
Install Adafruit GFX library and Adafruit PCD8544 Nokia 5110 LCD library using libraries manager.
Testing
Download and upload this sketch to Arduino from my github here https://github.com/satujamsaja/Arduino/tree/master/lcd5110 .My other sketch to display temperature, humidity and pressure also available for download at https://github.com/satujamsaja/Arduino/tree/master/dht22bmp280lcd5110
Good Luck.
Good Luck.
Comments