st7789 tft display module for sale

This is a low-cost but powerful TFT display that makes your project look awesome! The display has 240 x 240 pixels resolution, and its size is only 1.3inch. This allows you to display a high-quality picture, to make your project really cool.

The module interface is SPI, to make the display small the CS pin is not breakout, but you can still drive it without connecting a CS pin, here is a library working library for this particular display, to make it working properly, you also need to install Adafruit’s GFX library.

st7789 tft display module for sale

When you find these modules for sale, they are often mistakenly identified as an OLED display but they are in fact IPS LCD which has a similar wide viewing angle to OLED.

The module operates at 3.3V, so if using with a 5V MCU, be sure to include logic level shifters on the data lines to prevent possible damage.  The circuitry on the back of the module is just a transistor and a few resistors and a capacitor to provide backlight control.  The module does not have a 3.3V regulator on it and so must be powered from 3.3V.

In the above example, Node32-Lite and this 0.96-inch LCD.  Please refer to the tutorial here: ST7789 interfacing with ESP32 to make the connections, Arduino library installation, and modification needed for it to works on this LCD.

st7789 tft display module for sale

When you find these modules for sale, they are often mistakenly identified as an OLED display but they are in fact IPS LCD which has a similar wide viewing angle to OLED.

The module operates at 3.3V, so if using with a 5V MCU, be sure to include logic level shifters on the data lines to prevent possible damage.  The circuitry on the back of the module is just a transistor and a few resistors and capacitor to provide backlight control.  The module does not have a 3.3V regulator on it and so must be powered from 3.3V.

Since it is a write only device, it does not need the SPI MISO line hooked up.  The  module also does not bring the CS pin out to the interface which helps to lower the pin count.  The downside is that it cannot be used with other SPI devices on the same bus at the same time.

These modules are breadboard friendly with a 7-pin header on the back that can be inserted into a solderless breadboard or a 7-pin female connector can be used to connect to it if the display is to be mounted.  The display is mounted on a PCB which helps provide support, but be sure to press on the header pins when applying pressure to insert them into a breadboard and not press on the glass to avoid possible damage.

Though these displays can seem to be a bit intimidating to use at first, especially with a lack of a CS pin, just follow these steps to get up and running very easily.

Connect the SPI lines.  In our example we are using hardware SPI as it gives the best performance.  Module SCL pin goes to the SPI SCK line on the MCU and module SDA goes to the SPI MOSI line on the MCU.  These pins will be different depending on which MCU your are using.  The SPI SCK is pin 13 on Uno and pin 52 on Mega 2560.  MOSI is pin 11 on Uno and pin 51 on Mega 2560.

Install the Arduino-ST7789-Library.  You will need to manually downloadit from the GitHub site as it is not available via the Arduino IDE library manager.  This library is a modified version of the original Adafruit library which makes it easy to use with the displays that do not have a CS pin as well as those that do.  https://github.com/ananevilya/Arduino-ST7789-Library

This change uses the hardware SPI lines on the MCU for fastest operation.  You can also use Software SPI by uncommenting this line instead: //Arduino_ST7789 tft = Arduino_ST7789(TFT_DC, TFT_RST, TFT_MOSI, TFT_SCLK); //for display without CS pin which is slower, but allows you to use any pins you want for the SPI interface.