Difference between revisions of "Nokia 5110 LCD Module"
(→Example code) |
|||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
==Document== | ==Document== | ||
− | [http://www.geeetech.com/Documents/Nokia5110%20datasheet.pdf Nokia 5110 LCD datasheet]<br> | + | [http://www.geeetech.com/Documents/Nokia5110%20datasheet.pdf Nokia 5110 LCD datasheet] <br> |
− | [http://www. | + | [http://www.henningkarlsen.com/electronics/library.php?id=44 LCD5110_Basic (for Arduino)]<br> |
+ | [http://www.henningkarlsen.com/electronics/library.php?id=47 LCD5110_Graph(for Arduino)]<br> | ||
+ | [http://www.henningkarlsen.com/electronics/library.php?id=45 LCD5110_Basic (for ChipKit)]<br> | ||
+ | [http://www.henningkarlsen.com/electronics/library.php?id=48 LCD5110_Graph (for ChipKit)]<br> | ||
==Usage== | ==Usage== |
Latest revision as of 00:45, 28 June 2012
Introduction
The Nokia 5110 is a basic graphic LCD screen for lots of applications. It was originally intended for as a cell phone screen. This one is mounted on an easy to solder PCB.
It uses the PCD8544 controller, which is the same used in the Nokia 3310 LCD. The PCD8544 is a low power CMOS LCD controller/driver, designed to drive a graphic display of 48 rows and 84 columns. All necessary functions for the display are provided in a single chip, including on-chip generation of LCD supply and bias voltages, resulting in a minimum of external components and low power consumption. The PCD8544 interfaces to microcontrollers through a serial bus interface.
Features
- Single chip LCD controller/driver
- 48 row, 84 column outputs
- Display data RAM 48 × 84 bits
- Serial interface maximum 4.0 Mbits/s
- Logic supply voltage range VDD to VSS 2.7V to 3.3V
- Limiting values: supply voltage VDD: 7V
- Limiting values: all input voltages: VDD + 0.5V
- Low power consumption, suitable for battery operated
systems
Document
Nokia 5110 LCD datasheet
LCD5110_Basic (for Arduino)
LCD5110_Graph(for Arduino)
LCD5110_Basic (for ChipKit)
LCD5110_Graph (for ChipKit)
Usage
SCLK – Pin 8 DN – Pin 9 DC – Pin 10 RST – Pin 11 SCE – Pin 12 LED – 5V
Example code
#include <LCD5110_Basic.h> LCD5110 myGLCD(8,9,10,11,12); extern uint8_t SmallFont[]; extern uint8_t MediumNumbers[]; extern uint8_t BigNumbers[]; void setup() { myGLCD.InitLCD(); } void loop() { for (int i=0; i<=10000; i++) { myGLCD.setFont(MediumNumbers); myGLCD.printNumF(float(i)/3, 2, RIGHT, 0); myGLCD.setFont(BigNumbers); myGLCD.printNumI(i, RIGHT, 24); } myGLCD.setFont(SmallFont); myGLCD.print("| |", CENTER, 16); delay(500); for (int i=0; i<12; i++) { myGLCD.print("\\", 6+(i*6), 16); delay(500); } myGLCD.clrScr(); }
How to buy
Click here to buy Nokia 5110 LCD Module