My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
electronic:lcd:nokia5110 [2022/10/05 07:27] – tonyelectronic:lcd:nokia5110 [2026/09/26 08:35] (current) – tony
Line 1: Line 1:
-{{ :electronic:lcd:pb253714a.jpg?200|Diymore 3310 overview}}+^The previous content of this page has been moved to [[:electronic:lcd:diymore3310]].^\\ 
 +{{ :electronic:lcd:.jpg?200|Nokia 5110 overview}}
 ^  LCD Description  || ^  LCD Description  ||
-^Model|**Diymore 3310**| +^Model|**Nokia 5110**| 
-^Manufacturer|Diymore| +^Manufacturer|Philips| 
-^Recovered from| | +^Recovered from|[[:electronic:equipment:phone:nokia5110|Nokia 5110 cellphone]]| 
-^Board IDs|LPH 7779|+^Board IDs|LPH7366|
 ^LCD type|positive| ^LCD type|positive|
 ^Polarizer type|transflective| ^Polarizer type|transflective|
Line 11: Line 12:
 ^Char matrix|-| ^Char matrix|-|
 ^Driver IC|{{https://www.sparkfun.com/datasheets/LCD/Monochrome/Nokia5110.pdf|Philips PCD8544}}| ^Driver IC|{{https://www.sparkfun.com/datasheets/LCD/Monochrome/Nokia5110.pdf|Philips PCD8544}}|
-^Backlight|blue LED| +^Backlight|-| 
-^Arduino driver|U8g2lib.h| +^Arduino driver|| 
-^Connector|pins| +^Connector|elastomeric| 
-^Num Pins|8|+^Num Pins|9|
 ^Pin spacing|0.044"| ^Pin spacing|0.044"|
-^Module size|45L x 45W x 6.5H mm| +^Module size|mm| 
- +\\ 
-Optimal contrast value : 63 - 70 (0x3f - 0x46) + {{arduino:nokia:lph7366_pinout.gif|LCD front view diagram}}\\
- +
-{{:electronic:lcd:lph7779.gif|LCD front view diagram}}\\+
 Connector layout, LCD front view Connector layout, LCD front view
-^  LCD pinout (([[https://web.archive.org/web/20061231142224/http://sandiding.tripod.com/lcdn6210.html]]))   ^^^ +^  Connector pin-out  ^^| 
-^Pin^Label^Description| +^Pin#^Label^Description| 
-^1|VDD|2.7V - 3.3V| +^1|Vdd|2.7 - 3.3V| 
-^2|CLK|Clock| +^2|SClk|Clock| 
-^3|SDIN|Data in| +^3|SDIn|Data In| 
-^4|D/C|Data or command| +^4|D/C|Data/Command| 
-^5|SCE|Chip select| +^5|SCE|Chip Select| 
-^6|VSS|Ground| +^6|Osc|External oscillator ((or tied high for internal oscillator))| 
-^7|VLCD|DC/DC voltage converter| +^7|Vss|Ground| 
-^8|RES|Reset|+^8|VOut|DC/DC voltage converter ((to external 0.1μF))| 
 +^9|Res|Reset|
  
-^  PCB Connector pin-out  ^^^  Arduino test rig  || 
-^Pin#^Label^Description^Pin^colour| 
-^1|RST|Reset|8|Grey| 
-^2|CS|Chip Select|10|Yellow| 
-^3|D/C|Data/Command|9|Purple| 
-^4|DIn|Serial Data Line|11|Blue| 
-^5|Clk|Serial Clock|13|Green| 
-^6|Vdd|2.7V to 3.3V| | | 
-^7|LED|Backlight Control| | | 
-^8|GND|Power Ground| | | 
 \\ \\
 +----
 +===== Schematics =====
 +^Nokia 5110 LCD schematic :^
 +{{:electronic:lcd:nokia_5110_lcd_schematic.png|Nokia 5110 LCD circuit}}
  
 +\\
 ---- ----
 ===== Additional info ===== ===== Additional info =====
-  * [[https://www.adafruit.com/product/338|Nokia 5110/3310 monochrome LCD + extras]] 
-  * [[https://learn.adafruit.com/nokia-5110-3310-monochrome-lcd|Nokia 5110/3310 Monochrome LCD (Adafruit)]] 
-  * [[https://forum.arduino.cc/index.php?topic=149181.0|PCB layout for Nokia 5110 bare graphic LCD]] 
-  * [[https://components101.com/nokia-5110-lcd|Nokia 5110 LCD]] 
-  * [[https://forum.crystalfontz.com/threads/old-cell-phone-display-panels.2065/|3310 LCDs : LPH7779, LPH7677 or LPH7366]] 
-  * [[https://mcuoneclipse.com/2012/12/16/zero-cost-84x48-graphical-lcd-for-the-freedom-board/|Zero Cost 84×48 Graphical LCD for the Freedom Board]] 
-    * [[https://www.element14.com/community/docs/DOC-51656/l/tutorial-zero-cost-84-48-graphical-lcd-for-the-freescale-frdm-kl25z-freedom-board|Zero Cost 84×48 Graphical LCD for the Freescale Freedom Board]] 
-  * [[https://www.espruino.com/PCD8544|PCD8544 LCD driver (Nokia 5110)]] 
-      * [[https://github.com/espruino/EspruinoDocs/blob/master/devices/PCD8544.mdPCD8544 LCD driver (Nokia 5110)|]] 
-  * [[https://hackaday.com/tag/nokia-5110-lcd/|]] 
-  * [[https://hackaday.com/2020/07/04/an-rgb-backlight-for-the-nokia-5110-lcd/|An RGB Backlight For The Nokia 5110 LCD]] 
-  * [[https://www.instructables.com/Getting-Started-With-NOKIA-5110-LCD-Screen-Using-A/|How to Use NOKIA 5110 LCD Screen With Arduino]] 
-  * [[https://lastminuteengineers.com/nokia-5110-lcd-arduino-tutorial/|Interface Nokia 5110 Graphic LCD Display with Arduino]] 
-  * [[http://linkshideout.blogspot.com/2006/03/pcd8544-vs-s1d15g14.html|PCD8544 Vs. S1D15G14]] 
-  * [[http://forum.lcdinfo.com/viewtopic.php?t=474|Driving PCD8544 (Nokia LCD)]] 
-  * [[https://mecrisp-stellaris-folkdoc.sourceforge.io/nokia-5110.html|Nokia 5110 LCD Display]] 
-  * [[https://web.archive.org/web/20171212064425/http://www.module.ro/nokia_3510.html|Bertys Nokia pinouts]] 
-  * [[https://web.archive.org/web/20100127165452/http://sandiding.tripod.com/Bertys.html|Bertys old home page]] 
-  * [[http://rifer.narod.ru/nokia3210.htm|Connecting Nokia Lcd to LPT port]] 
-  * [[https://randomnerdtutorials.com/complete-guide-for-nokia-5110-lcd-with-arduino/|Complete Guide for Nokia 5110 LCD with Arduino]] 
-  * {{https://www.sparkfun.com/datasheets/LCD/Monochrome/Nokia5110.pdf|Philips PCD8544}} 
-  * [[http://serdisplib.sourceforge.net/ser/pcd8544.html|PCD8544-based displays]] 
-  * [[https://www.tindie.com/products/microinventions/rgb-nokia-5110-lcd-board/|RGB Backlit Nokia 5110 LCD]] 
   * [[:electronic:lcd:nokia1|Nokia monochrome displays]].   * [[:electronic:lcd:nokia1|Nokia monochrome displays]].
   * [[:electronic:lcd:nokia2|Nokia colour displays]].   * [[:electronic:lcd:nokia2|Nokia colour displays]].
  
 +\\
 +----
 +===== Examples =====
  
-===== Driver libraries ===== +{{:electronic:lcd:.jpg?800|Nokia 5110 overview}} 
- +/*{{:electronic:lcd:.jpg?800|Nokia 5110 front}}*/ 
-  * Library: [[https://learn.adafruit.com/adafruit-gfx-graphics-library|Adafruit GFX Graphics Library]] +/*{{:electronic:lcd:.jpg?800|Nokia 5110 back}}*/
-  * Library: [[https://github.com/adafruit/Adafruit-PCD8544-Nokia-5110-LCD-library|Adafruit PCD8544 Nokia 5110 LCD library]] +
-     * pcdtest.ino +
-     * ( Logo, graphics, scale & rotated text, falling stars) +
-     * <html><video width="400"  controls><source src="/dokuwiki/_media/electronic/lcd/pc074058b.mp4" type="video/mp4">Your browser does not support the video tag.</video></html>  +
- +
-  * [[https://www.youtube.com/watch?v=1ZvY_lb6BoU|InterlinkKnight]] Display_LCD_Nokia_5110_SPI_PCD8544_U8GLIB.ino +
-     * (hello world with shapes and left/right justified numbers) +
- +
-  * Library: [[http://www.rinkydinkelectronics.com/library.php?id=47|LCD5110_Graph]] +
-     * [[https://www.electronics-lab.com/project/drive-nokia-5110-84x48-lcd-display-arduino/|LCD5110_Graph_Demo.pde]] +
-     * (Text and graphics demo with pacman) +
-     * <html><video width="400"  controls><source src="/dokuwiki/_media/electronic/lcd/pc074058a.mp4" type="video/mp4">Your browser does not support the video tag.</video></html> +
- +
-  * Library: [[https://www.arduinolibraries.info/libraries/nokia-5110-lcd-library|Nokia 5110 LCD library]] +
- +
-  * Library: [[https://github.com/olikraus/u8g2/|Universal 8bit Graphics Library]]  +
-     * GraphicsTest.ino +
-     * (Graphics and pages of fonts) +
-     * <html><video width="400"  controls><source src="/dokuwiki/_media/electronic/lcd/pc074063a.mp4" type="video/mp4">Your browser does not support the video tag.</video></html> +
- +
-===== Applications ===== +
-  * [[https://thecavepearlproject.org/2018/05/18/adding-the-nokia-5110-lcd-to-your-arduino-data-logger/|Using the Nokia 5110 LCD with an Arduino Data Logger]]((includes using minimal drivers)) +
- +
-===== Notes ===== +
-There are two common Nokia phone LCD boards regularly for sale.  Most commonly described as Nokia 5110 boards, some are infact designed for the Nokia 3310 LCD.  The two boards are functionally the same, but have slightly different wiring as one LCD has 9 pins (LPH 7366, Nokia 5110) and the other 8 pins (LPH 7779, Nokia 3310). +
- +
-The Philips PCD8544 controller uses an SPI like protocol, but can't share the bus with other devices. +
- +
-Each byte written is a column of 8 bits, columns are written out from left to right, then top to bottom.  The first byte represents the top, left column of 8 bits.  The second represents the one to the right of it, and so on.  The least significant bit is the top of the column, and then following pixels proceed downward to the most significant bit.  But note that the driver libraries probably use an entirely different byte layout for bit-mapped images. +
- +
-The cheaper PCB mounts for these displays have only 4 backlight LEDs compared to 6 on some phones, and the LEDs are mounted facing up, rather than sideways,  horizontally across the board,  so don't spread light very evenly. +
- +
-===== Examples : ===== +
- +
-{{:electronic:lcd:pb253707b.jpg?800|Diymore 3310 front}} +
- +
-{{:electronic:lcd:pb253708b.jpg?800|Diymore 3310 back}} +
- +
-{{:electronic:lcd:pb253714a.jpg?800|Diymore 3310 overview with board}} +
- +
-{{:electronic:lcd:pb253709a.jpg?300|Diymore 3310 connector}}\\ +
- +
-{{:electronic:lcd:pc054038a.jpg?800|Diymore 3310 connector}} +
- +
-{{:electronic:lcd:pa030133.jpg?300|Diymore 3310 chip}} +
- +
-|{{:electronic:lcd:.jpg?300|Diymore 3310 character set}} +
-{{:electronic:lcd:pc084064a.jpg?400|Diymore 3310 examples}} +
- +
-{{:electronic:lcd:pc084065a.jpg?400|Diymore 3310 examples}}+
  
-{{:electronic:lcd:pc144127a.jpg?400|Diymore 3310 examples}}+/*{{:electronic:equipment:phone:.jpg?600|Nokia 5110 overview with board}}*/ 
 +/*{{:electronic:lcd:.jpg?600|Nokia 5110 overview with board}}*/
  
-|{{:electronic:lcd:.jpg?200|Diymore 3310 pixel layout}} +/*{{:electronic:lcd:.jpg?300|Nokia 5110 connector}}\\*/ 
-{{:electronic:lcd:diymore_3310_pcb.png?800|Diymore 3310 PCB circuit}}+/*{{:electronic:lcd:.jpg?300|Nokia 5110 connector}}*/ 
 +/*{{:electronic:lcd:.jpg?300|Nokia 5110 chip}}*/ 
 +/*{{:electronic:lcd:.jpg?300|Nokia 5110 character set}}*/ 
 +/*{{:electronic:lcd:.jpg?400|Nokia 5110 examples}}*/ 
 +/*{{:electronic:lcd:.jpg?200|Nokia 5110 pixel layout}}*/