ST7735S 80x160 0.96" SPI LCD Display Module: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
BLK ???? (This can remain unconnected.) | BLK ???? (This can remain unconnected.) | ||
'''Notes:''' | '''Hardware Notes:''' | ||
* The wire colors shown above are messed up. The harness was pulled off of another SPI display. | * The wire colors shown above are messed up. The harness was pulled off of another SPI display. | ||
Line 35: | Line 32: | ||
// OR use this initializer (uncomment) if using a 0.96" 160x80 TFT: | // OR use this initializer (uncomment) if using a 0.96" 160x80 TFT: | ||
tft.initR(INITR_MINI160x80); // Init ST7735S mini display | tft.initR(INITR_MINI160x80); // Init ST7735S mini display | ||
'''Software Notes:''' | |||
* The display colors are messed up. | |||
ST77XX_RED displays as blue. | |||
ST77XX_YELLOW displays as light blue. | |||
* Occasionally, a messed up row is visible on the bottom of the display, | |||
and a messed up column is visible on the right side of the display. |
Latest revision as of 17:12, 12 January 2021
ST7735S 80x160 0.96" SPI LCD Display Module
Hardware
![](/wiki/images/thumb/1/18/80x160_front.jpg/300px-80x160_front.jpg)
![](/wiki/images/thumb/e/eb/80x160_back.jpg/300px-80x160_back.jpg)
These displays use the ST7735S controller: https://www.crystalfontz.com/controllers/Sitronix/ST7735S/320
Connecting to the Arduino Uno as follows:
LCD Wire Signal Color UNO Pin GND Red GND VCC Brown 5V LED Grey 3.3V (or 200 ohm resistor to 5V) SCL Violet 13 SCLK SDA Blue 11 MOSI RES Yellow 9 DC Green 8 (This is the Data/Command DC signal) CS Orange 10 BLK ???? (This can remain unconnected.) Hardware Notes: * The wire colors shown above are messed up. The harness was pulled off of another SPI display.
Software
Installed "Adafruit_ST7735_and_ST7789_Library", version 1.6.0. Using Arduino/libraries/Adafruit_ST7735_andST7789_Library/examples/graphicstest/graphicstest.ino example Modified to use the following constructor: // For 1.44" and 1.8" TFT with ST7735 use: Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST); // Using this for Hardware SPI Modified to use the following display initialization: // OR use this initializer (uncomment) if using a 0.96" 160x80 TFT: tft.initR(INITR_MINI160x80); // Init ST7735S mini display Software Notes: * The display colors are messed up. ST77XX_RED displays as blue. ST77XX_YELLOW displays as light blue. * Occasionally, a messed up row is visible on the bottom of the display, and a messed up column is visible on the right side of the display.