Difference between revisions of "Category:LCDs"

From ElectroDragon
Jump to: navigation, search
(LCD2USB)
(Replaced content with " category:Display")
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Char LCD ==
 
* [[1602]]
 
* [[2004]]
 
* [[12864]]
 
== EDS SPI-LCD ==
 
* Specification please see on [[:category:display]] page.
 
 
=== Hardware Design ===
 
 
==== Dimension and schematic ====
 
 
* R1 dimension
 
<gallery>
 
File:1.8 LCD dimension.jpg| 1.8'' LCD
 
File:2.2 LCD dimension.jpg| 2.2'' LCD
 
File:2.4''_dimension.jpg| 2.4'' LCD
 
File:EDS24-dimen.png| 2.4'' LCD
 
File:2.8%27%27_eds_LCD.png| 2.8‘’ LCD
 
</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)
 
<gallery>
 
File:1.8_size_01.jpg | 1.8'' dimension
 
File:2.4_size_01.jpg | 2.4'' dimension
 
File:3.2_size_01.jpg | 3.2'' dimension
 
</gallery>
 
 
==== 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).<br />
 
* 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
 
{| class="wikitable sortable"
 
|-
 
! 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
 
* [http://www.youtube.com/watch?v=6DH7ljxuD3k Demo video with displaytext sketch test. (1.8'' LCD)]
 
* [http://youtu.be/f45CYMsevL4 Demo video with ILI9341 sketch (2.2'' LCD) (Pro mini 3v3/8M)]
 
* [https://www.youtube.com/watch?v=c2npSZgvVh4 Demo video with ILI9341 (2.2'' LCD) with arduino UNO and logic shifter]
 
* [https://www.youtube.com/watch?v=0nE2QpSg3aY&feature=youtu.be 2.2 LCD working with Beaglebone, code supported (provided by kind customer:)]
 
Demo Code STM32 C51 ILI9341
 
* [[:File:51_keil_demo_code_2.8.zip|C51 demo code 2.8'']]
 
* [[:File:STM32_demo_code_2.8.zip|STM32 demo code 2.8'']]
 
 
== Software Design ==
 
=== Arduino library ===
 
* Arduino official TFT library (in arduino IDE)
 
* Adafruit [[ILI9341]] library
 
* UTFT library, not yet tested ([[Arduino library]])
 
* [https://github.com/adafruit/ Adafruit library], use library Adafruit_GFX and Adafruit_ST7735
 
* [[File:Raw_LCD_datasheet_EDS2.4.pdf|Datasheet of raw LCD]]
 
 
 
 
== EDL 160x128 1.8 SPI LCD (Discountined) ==
 
 
=== Schematic ===
 
[[File:Shematic 1.8 SPI TFT LCD.png|500px]]<br />
 
* JP1 is the power level selector, short connecting it when you supply the power with 3.3V
 
 
=== Pin definition ===
 
{| class="wikitable sortable"
 
|-
 
! 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
 
|}
 
* Reference Setup [http://blog.simtronyx.de/en/a-1-8-inch-tft-color-display-hy-1-8-spi-and-an-arduino/ link 1 by simtronyx.de] and [http://www.benbarbour.com/arduinolcd link 2 by benbarbour.com]
 
 
== LCD2USB ==
 
* [https://github.com/harbaum/LCD2USB Based on original project here]
 
* Upload firmware by:
 
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
 
* in raspberry pi, is driver free, use with python  -> sudo pip install lcd2usb
 
* Demo code avaialble [[:File:USBLCD1.zip|here]] and testing code [[:File:USBLCD.zip|here]].
 
== LCD Drive and Key Scan ==
 
{| class="wikitable sortable"
 
|-
 
! - !! 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
 
|}
 
  
 
[[category:Display]]
 
[[category:Display]]

Latest revision as of 00:45, 22 June 2018

Subcategories

This category has the following 5 subcategories, out of 5 total.

Pages in category "LCDs"

This category contains only the following page.