NodeMCU V3, ST7735 1.77 Display shows artefacts

Hello everyone,

I ran into an issue with properly connecting a 1.77” ST7735 display to a NodeMCU and displaying text/images on it.

Connection:

GND - GND
VCC - 3V3
SCK - D5 (GPIO14)
SDA - D7 (GPIO13)
RES - D4 (GPIO2)
RS - D3 (GPIO0)
CS - D8 (GPIO15)
LEDA - 3V3

The display outputs an image with defects — lines, flickering, and a very dim picture.

When connected to an Arduino Uno, everything works fine without any artifacts, but it doesn’t work properly with the NodeMCU.


Example code:
(Note: I also tried using the TFT_eSPI library, but it didn’t work either):

#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include <SPI.h>

#define TFT_CS D8 // Chip Select
#define TFT_RST D4 // Reset
#define TFT_DC D3 // Data/Command (RS)

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);

void setup() {
tft.initR(INITR_BLACKTAB);
tft.fillScreen(ST77XX_BLACK);
tft.setRotation(1);
tft.setTextColor(ST77XX_WHITE);
tft.setTextSize(2);
tft.setCursor(10, 10);
tft.println("Hello, World!");
}

void loop() {}

Could you upload a photo of the back of the board?
I think you need to close a jumper to power it with 3.3V.

No, it seems that it is not necessary.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.