Difference between revisions of "Category:LCDs"

From ElectroDragon
Jump to: navigation, search
(LCD Drive and Key Scan)
(LCD2USB)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
=== Hardware Design ===
 
=== Hardware Design ===
 +
 +
== Schematic ==
 +
<gallery>
 +
File:1.8 LCD PCB.png | 1.8'' and 2.2'' SPI LCD SCH
 +
File:2.4'' TFT LCD schematic.png | 2.4'' SPI LCD SCH
 +
File:2.8_lcd_schematic.png | 2.8'' SPI LCD SCH
 +
File:3.5%27%27_LCD_shield.png | 3.5'' Arduino LCD shield
 +
</gallery>
  
 
==== Dimension and schematic ====
 
==== Dimension and schematic ====
Line 19: Line 27:
 
</gallery>
 
</gallery>
  
* R1 schematic
+
 
<gallery>
+
File:1.8 LCD PCB.png | 1.8'' and 2.2''.
+
File:2.4'' TFT LCD schematic.png | 2.4'' LCD schematic
+
File:2.8_lcd_schematic.png | 2.8'' schematic
+
</gallery>
+
  
 
* R2 (not sell)
 
* R2 (not sell)
Line 127: Line 130:
 
  avrdude -c stk200 -p atmega8 -U lfuse:w:0x9f:m -U hfuse:w:0xc9:m -U flash:w:firmware-avrusb.hex
 
  avrdude -c stk200 -p atmega8 -U lfuse:w:0x9f:m -U hfuse:w:0xc9:m -U flash:w:firmware-avrusb.hex
 
* install driver libusb-win32 in windows
 
* install driver libusb-win32 in windows
* in raspberry pi, is driver free, use with python  -> sudo pip install lcd2usb
+
=== Linux ===
 +
* in raspberry pi, is driver free, use with python  -> sudo pip install lcd2usb, also install psutil
 
* Demo code avaialble [[:File:USBLCD1.zip|here]] and testing code [[:File:USBLCD.zip|here]].
 
* Demo code avaialble [[:File:USBLCD1.zip|here]] and testing code [[:File:USBLCD.zip|here]].
 +
 
== LCD Drive and Key Scan ==
 
== LCD Drive and Key Scan ==
 
TM
 
TM
Line 150: Line 155:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! - !! Segments !! Segment Bits !!  
+
! - !! Segments !! Segment Bits !! Keys
 
|-
 
|-
| HT1628 || ~ 32 || ~4 ||  
+
| HT1628 || ~14 || ~ 7 ||  
 
|-
 
|-
| HT1621  
+
| HT1621 || ~ 32 || ~4 ||
 
|-
 
|-
| HT1621B
+
| HT1621B || || ||
 
|-
 
|-
| HT16K33  
+
| HT16K33 || ~ 16 || ~8 || 13 x 3
 
|}
 
|}
 
   
 
   
 
[[category:Display]]
 
[[category:Display]]

Latest revision as of 08:42, 20 April 2018

Char LCD

EDS SPI-LCD

Hardware Design

Schematic

Dimension and schematic

  • R1 dimension


  • R2 (not sell)

Pins

  • All the pins must be connected, if not connect, it won't work (Athough not all the pins are defined in the arduino sketch).
  • All the pins power/logic should be 3.3V, include LCD back light.
  • LCD power supply can be 5V, on board LDO regulator
  • 1.8 can use 5V for test, the rest can not do
Name Description Common Connection
SCK Serial Clock (SPI) D13
DO Data out, MISO (NA for 1.8 LCD) D12 (optional)
DI (SDA for 1.8) Data in, MOSI D11
CS Chip select, setup this in the head of your arduino sketch D10
AO D/C, Command/Data switch, setup this in the head of your arduino sketch D9
Reset reset pin D8
VCC power supply, can use 5V or 3.3V, on board regulator LDO VCC
GND power ground GND
LED backlight 3V (actually 3.2V, can add 5ohm resistor in serial) -

Documents

Demo Video

Demo Code STM32 C51 ILI9341

Software Design

Arduino library


EDL 160x128 1.8 SPI LCD (Discountined)

Schematic

Shematic 1.8 SPI TFT LCD.png

  • JP1 is the power level selector, short connecting it when you supply the power with 3.3V

Pin definition

Pins Name Description Common Connecting to Arduino Pin
GND Power Ground - GND
VCC Power VCC - 5V
NC...NC NC1, NC2, NC3 - NC
Reset Reset LCD reset pin Pin 8
A0 D/C - Pin 9
SDA SDA LCD data input/slave input Pin 11 (MOSI of arduino)
SCK SCK Clock Pin Pin 13
CS CS Chip Select of LCD Pin 10
SD_SCK - - -
SD_MISO - - -
SD_MOSI - - -
SD_CS - - -
LED+ LED+ LED VCC 3.3V
LED- LED- LED GND GND

LCD2USB

avrdude -c stk200 -p atmega8 -U lfuse:w:0x9f:m -U hfuse:w:0xc9:m -U flash:w:firmware-avrusb.hex
  • install driver libusb-win32 in windows

Linux

  • in raspberry pi, is driver free, use with python -> sudo pip install lcd2usb, also install psutil
  • Demo code avaialble here and testing code here.

LCD Drive and Key Scan

TM

- Segments Segment Bits relation Keys Keys Bits Footprint
TM1620 8 x6 - - - SOP20
TM1628 12 or 11 x6 or x7 + 8 x2 SOP20
TM1637 8 x6 + 8 x2 SOP20
TM1640 8 x16 - - - SOP28
TM1650 8 or 7 x4 or 8 x4 SOP16
TM1651 7 x6 + 8 x1 SOP16

HT

- Segments Segment Bits Keys
HT1628 ~14 ~ 7
HT1621 ~ 32 ~4
HT1621B
HT16K33 ~ 16 ~8 13 x 3

Pages in category "LCDs"

The following 8 pages are in this category, out of 8 total.