USER MANUAL Nokia 5110 LCD
Introduction: This 84x48 pixel black and white LCDs are what you might have found in an old Nokia 3310 or 5110 cell phone. They re not flashy, not colorful and there s no touch screen. But, they are cheap and easy to control. If you re looking to step up your project s user interface (UI) from simple character displays or LEDs, this graphic LCD is a good place to start. It s very convenient for beginners. Features: 1. Very easy to control, perfect for beginners. 2. Dedicated arduino library. Only 5 digital pins of arduino is needed to control it. 3. User controllable blue backlight. 4. Can be used to show any bitmap image of your choice. 5. Signal pins can be controlled with either 5V or 3.3V logic level. Specifications: 1. Operating Voltage: 3.3V (on VCC pins), 5V or 3.3V (on signal pins). 2. LCD driver: PCD8544 3. Dimension: 45mm X 45mm 4. Backlight: Blue 5. LCD Resolution: 84 X 48 6. No. of signal/control pins: 5 Application: Any arduino project where you need a monochrome graphics LCD. Operating Voltages: The VCC pin must be connected to 3.3V. The LCD will be damaged if you put 5V to the VCC pin. However, the signal/data pins can withstand 5V and can be directly connected to arduino digital pins. LCD backlight will turn on if you connect the LIGHT pin to GND or any arduino digital pin set as LOW.
Circuit connection: LCD pin Arduino Pin Comment GND GND LIGHT GND VCC 3.3V CLK 13 DIN 11 DC 9 CE 10 RST 8 GND or any arduino digital pin set as LOW to turn on LCD backlight. To turn off backlight, keep this pin disconnected or any arduino digital pin set as HIGH. LCD will be damaged if 5V is connected LCD clock. Must connect to Arduino Hardware SPI SCK pin LCD data input pin. Must connect to Arduino Hardware SPI MOSI pin Data/ Command. Can be any Arduino digital pin. Chip Enable. Can be any Arduino digital pin. LCD Reset. Can be any Arduino digital pin. Arduino Library: The LCD can be controlled using U8G Arduino library. It s available in the document section of this product page. You can download it from here. Do not extract the.zip file after downloading it. Open Arduino IDE, then go to Sketch >> Include Library >> Add.ZIP Library. Then browse to the downloaded u8glib.zip file. Arduino Codes: Arduino codes are available in the document section of this product page. You can download them from here. Extract the.zip file. You ll find two codes 1. Nokia5110_LCD_PCD8544 2. Nokia5110_LCD_Custom_Image
Testing: Provide circuit connection as described earlier, install arduino library and then upload the Nokia5110_LCD_PCD8544 sketch. Display Custom Image: You can display any image in this display. To do so, you need to - Convert your image to 1 bit monochrome bitmap image. - Reduce image size to fit in the resolution of 84 X 48 pixel of the LCD. - Generate a 2D array from the image file. - Copy-paste the 2D array to appropriate Arduino Code. As an example here, we ve used the techshopbd logo. STEP 1: Open your desired image in PAINT and crop it if needed. Then reduce its size by pixels. The Horizontal value MUST be a multiple of 8 and lower than 84 (48 in this example). The Vertical value MUST be lower than 48 (45 in this example). Remember to maintain aspect ratio.
STEP 2: Save the picture as Monochrome Bitmap. STEP 3: Download LCD Assistant. It s available in the document section of this product page. You can also download it from here. Unzip the file and open LCDAssistant.exe. Go to File >> Load Image and then select the monochrome bitmap image that you ve created in STEP 2. Image size and Table name will depend on your image. But you MUST keep Byte orientation Horizontal. Keep other parameters as shown in image below.
Go to File >> Save output. Give your file a name and save it. No file extension is needed. STEP 4: Open the created file using notepad and copy everything within the brackets as shown below. STEP 5: Open code Nokia5110_LCD_Custom_Image (See Arduino Codes section to download it). Then Paste what you ve copied in STEP 4, within the brackets, just like the picture below.
STEP 6: Upload the code to arduino. If everything you ve done is correct, you ll see your image on the LCD.