ST7735S 80x160 0.96" SPI LCD Display Module: Difference between revisions

From Embedded Workshop
Jump to navigation Jump to search
(Created page with "==ST7735S 80x160 0.96" SPI LCD Display Module== '''Hardware''' right|thumb right|thumb These displays use the ST7735S cont...")
 
No edit summary
Line 1: Line 1:
==ST7735S 80x160 0.96" SPI LCD Display Module==
==ST7735S 80x160 0.96" SPI LCD Display Module==
'''Hardware'''
===Hardware===
[[File:80x160_front.jpg|right|thumb]]
[[File:80x160_front.jpg|right|thumb]]
[[File:80x160 back.jpg|right|thumb]]
[[File:80x160 back.jpg|right|thumb]]
Line 20: Line 20:
   
   
  '''Notes:'''
  '''Notes:'''
  * It appears the colors are both inverted and out of order.
  * The display colors are messed up.
     White displays as black (inversion problem)
    ST77XX_RED displays as blue.
  * The wire colors are messed up.  The harness was pulled off of another SPI display.
     ST77XX_YELLOW displays as light blue.
  * 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

Revision as of 17:43, 12 January 2021

ST7735S 80x160 0.96" SPI LCD Display Module

Hardware

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.)

Notes:
* The display colors are messed up.
    ST77XX_RED displays as blue.
    ST77XX_YELLOW displays as light blue.
* 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