diff --git a/readme.md b/readme.md index 82d9b10..147db33 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,36 @@ -# Interfacing ST7789 LCD vis SPI +# Interfacing ST7789 LCD using SPI [Reference](https://raspberrypi.stackexchange.com/questions/105364/how-to-connect-st7789-lcd-to-raspberry-pi) +## Technical Specifications + +* Display + + Resolution: 240 x 240 pixels + + Color : RGB Full Color + +Interface : SPI +* Operating Ratings + + DC Power Input : 3.3V + + Operating Current : \<30mA (typical) +* Dimensions + + Module Size (PCB) : 39.5 x 28mm (1.56″ x 1.1″) + + Display diagonal : 33mm (1.3″) + + Display (W x H) : 26 x 26mm (1.02 x 1.02″) +* Display Controller + + SH1106 + ## Pinout st7789 Label | Description ------|----- -BLK | Backlight -DC | Data/Command -RES | Reset -SCK | Serial Clock -DIN | Serial Data -VCC | 3V3 -GND | Ground +BLK | Backlight Control. If left unconnected, the backlight is always on. Pull LOW to turn off +DC | Data / Command. Determines type type of data being sent to the display. LOW = Command, HIGH = Data +RES | Reset for the ST7789 LCD controller. Normally HIGH, pull LOW to reset +SCK | Connects to SPI SCL (Clock) +DIN | Connect to SPI MOSI (Data) +VCC | Connect to 3.3V. This can come from the MCU or separate power supply +GND | Connect to system ground. This ground needs to be in common with the MCU. Interfacing @@ -30,7 +46,7 @@ DC | BCM 9 | 21 | SPI0 MISO RES | BCM 19 | 35 | SPI1 MISO ? BL | BCM 27 | 13 | GPIO 2 -![](./SPI.png) +![](SPI.PNG) ## [Sample Code](https://github.com/pimoroni/st7789-python.git)