My Projects

Differences

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

Link to this comparison view

electronic:lcd:start [2019/02/11 20:10]
tony
electronic:lcd:start [2023/04/02 16:38] (current)
tony
Line 64: Line 64:
 **Gnd** : Ground, **Vdd** : +3.3V or +5V, **VO** : Contrast, **RS** :  Instruction/​Data,​ **R/W** :  Read/Write, **E** :  Device select, **DB0**–**7** : Data bus, **A** : Backlight +ve, **K** :  Backlight ground **Gnd** : Ground, **Vdd** : +3.3V or +5V, **VO** : Contrast, **RS** :  Instruction/​Data,​ **R/W** :  Read/Write, **E** :  Device select, **DB0**–**7** : Data bus, **A** : Backlight +ve, **K** :  Backlight ground
  
 +\\
 Common I2C LCD pinouts Common I2C LCD pinouts
-^Pin|Label|+^Pin^Label|
 ^1|Vout| ^1|Vout|
 ^2|Cap1N| ^2|Cap1N|
Line 76: Line 77:
  
 Key:\\ Key:\\
-**VOUT** ​ DC/DC voltage converter. Connect a capacitor between this terminal and VIN when the built-in booster is used. , **CAP1N, CAP1P** ​ For voltage booster circuit(VDD-VSS) External capacitor about 0.1u~4.7uf, **VDD** 3/5V, **SDA** and **SCL** - I2C bus (I2C bus is to connect a resister between ​SDA/SCL and the power of I2C bus ). +**VOUT** ​ DC/DC voltage converter. Connect a capacitor between this terminal and VIN when the built-in booster is used. , **CAP1N, CAP1P** ​ For voltage booster circuit(VDD-VSS) External capacitor about 0.1u~4.7uf, **VDD** 3/5V, **SDA** and **SCL** ​(also the - I2C bus lines, ​SDA/SCL, are open drain  ​and so need pullup resistors to the I2C bus power line ). 
  
 +\\
 +Common SPI LCD pinouts
 +^Pin^Label|
 +^1|Data|
 +^2|SCK|
 +^3|STB|
 +^4|V0|
 +^5|Vdd|
 +^6|Gnd|
  
 +Key:\\
 +**Data** : Serial data, **SCK** : SPI clock, **STB** : Strobe, **V0** : Contrast, **Vdd** : +3.3V or +5V, **Gnd** : Ground
 +
 +====== Determining pinout ======
 +The first thing to do is determine the power supply pins.  Ground is often connected to the LCD frame. ​ Care should be taken if it is suspected to require a 3.3V power supply, most old LCDs only run off 5V.  If the LCD is from old equipment, examining that circuit is the easiest way to determine the power requirements. ​ If you just connect the power and '​contrast'​ supplies you will usually get a display of some character cells as solid blocks:
 +
 +{{:​electronic:​lcd:​p4013008a.jpg?​400|Power on without data or control connected}}
 +
 +If nothing is displayed while applying a '​contrast'​ voltage between 0 and 5V, try a negative voltage, maybe -3V to a maximum of -12V but with current limiting to a few milliamps in case you've got it wrong. ​ A hint that a negative supply is needed is the board having pads for and additional 8 pin IC (a charge pump negative supply). ​ (If the chip is actually present, then there is probably a negative supply generated on board that can be applied to the '​contrast'​ input.
 +\\
 +\\
  
 ====== References and Additional Resources ====== ====== References and Additional Resources ======
   * [[http://​www.instructables.com/​id/​Salvaging-Liquid-Crystal-Displays-LCDs/​|Salvaging and testing Liquid Crystal Displays]]   * [[http://​www.instructables.com/​id/​Salvaging-Liquid-Crystal-Displays-LCDs/​|Salvaging and testing Liquid Crystal Displays]]
   * [[https://​www.instructables.com/​id/​Testing-a-Graphic-LCD-Module|Testing a Graphic LCD Module]]   * [[https://​www.instructables.com/​id/​Testing-a-Graphic-LCD-Module|Testing a Graphic LCD Module]]
-===== Drivers =====+  * [[http://​forum.lcdinfo.com/​|Forum supporting LCDinfo program]] 
 +  * [[https://​web.archive.org/​web/​20061207084005/​http://​www.epemag.wimborne.co.uk/​lcd1.pdf|How To Use Intelligent LCDs, part 1]] 
 +  * [[https://​web.archive.org/​web/​20061207084108/​http://​www.epemag.wimborne.co.uk/​lcd2.pdf|How To Use Intelligent LCDs, part 2]] 
 +===== LCD module ​Drivers =====
   * [[:​arduino:​metp0000 driver library|Driver for METP0000]], NEC µPD7225 based LCD display panel.   * [[:​arduino:​metp0000 driver library|Driver for METP0000]], NEC µPD7225 based LCD display panel.
   * [[:​arduino:​uPD7228 driver library|Driver for NEC upd7228]] and uPD16434 LCD based display panels.   * [[:​arduino:​uPD7228 driver library|Driver for NEC upd7228]] and uPD16434 LCD based display panels.
Line 91: Line 115:
   * [[https://​bitbucket.org/​fmalpartida/​new-liquidcrystal/​wiki/​Home|New LiquidCrystal]],​ higher speed driver for HD44780.   * [[https://​bitbucket.org/​fmalpartida/​new-liquidcrystal/​wiki/​Home|New LiquidCrystal]],​ higher speed driver for HD44780.
  
-===== Datasheets =====+===== LCD module ​Datasheets =====
   * [[https://​www.crystalfontz.com/​controllers/​|Collection of LCD Controller Datasheets]],​ data on a wide range of LCD controllers from ASLIC to Wuxi.   * [[https://​www.crystalfontz.com/​controllers/​|Collection of LCD Controller Datasheets]],​ data on a wide range of LCD controllers from ASLIC to Wuxi.
   * [[http://​spurtikus.de/​2017/​03/​05/​pollin-lcd-roundup/​|Pollin LCD Roundup]] (German).   * [[http://​spurtikus.de/​2017/​03/​05/​pollin-lcd-roundup/​|Pollin LCD Roundup]] (German).
-  * [[https://​web.archive.org/​web/​20120501035512/​http://​www.newhavendisplay.com/​index.php?​main_page=app_notes|LCD controllers]]+  ​* [[https://​web.archive.org/​web/​20081226164749/​http://​www.av-display.com.cn/​en/​Products_List.aspx?​menu=search&​series=Character|AV-Display]] Shenzhen AV-Display Character LCDs 
 +  * [[http://​www.datavision.com.tw/​en/​lcm_01.php|Data Vision]] LCD Datasheets 
 +  * [[http://​i-lcd.com/​Downloads/​LCD-Driver-Datasheets.php|IDS (Intelligent Display Solutions]] LCD Datasheets 
 +  ​* [[https://​web.archive.org/​web/​20120501035512/​http://​www.newhavendisplay.com/​index.php?​main_page=app_notes|Newhavendisplay]] ​LCD controllers 
 +  * [[https://​web.archive.org/​web/​*/​http://​sdec.com.tw/​downloadfiles/​*|SDEC]] Archived modules. 
 +  * [[http://​www.sacg.com.tw/​sacweb/​marcom/​epaper/​PDFs-new/​PHILIPS-LCD%20Driver.pdf|Philips LCD controller/​driver list]] 
 + 
 +===== LCD module naming/​numbering/​code scheme/​systems ===== 
 +  * {{:​electronic:​lcd:​Shenzhen AV-Display LCM Coding System.pdf|Shenzhen AV-Display}} LCD naming system 
 +  * {{:​electronic:​lcd:​data_vision_lcd_coding_system.pdf|Data Vision}} LCD naming system 
 +  * {{:​electronic:​lcd:​yes_module_naming.pdf|YES Optoelectronics}} LCD naming system ((http://​web.archive.org/​web/​20090105155758/​http://​yes-lcd.com/​yesj/​product_lcd.asp)) 
 + 
 +===== Nokia Cellphone LCDs ===== 
 +  * [[:​electronic:​lcd:​nokia1|Nokia 5110 cellphone and similar monochrome graphic LCDs]] 
 +  * [[:​electronic:​lcd:​nokia2|Nokia cellphone colour graphic LCDs]]
  
 <​html><​small>​If any referenced page no longer exists, try looking for its URL on <a href="​http://​archive.org">​http://​archive.org</​a>​.</​small></​html>​ <​html><​small>​If any referenced page no longer exists, try looking for its URL on <a href="​http://​archive.org">​http://​archive.org</​a>​.</​small></​html>​