Connecting ST7735 (ILI9xxx) to ESP8266

Hello. Today I received from AliExpress display ST7735/TFT/SPI/128*160

The display has contacts:

VCC
GND
CS
RESET
AO
SDA
SCK
LED

After searching I found that:
LED - LED
SCK - CLK
SDA - mosi
AO - DC
RESET - RESET
CS - CS
GND/VCC - 3.3V

As I understand it, the “ST7735 Display” component is outdated. I started studying the page with “ILI9xxx”. Nothing worked for me. After searching for it a bit, I found this post.

But nothing works for me either. The firmware loads, but then it says that the device is not responding, we will try to connect later. The ESP itself blinks the diode about 4 times, at the same time the screen backlight blinks and that’s it.

display:
  - platform: ili9xxx
    id: my_display
    model: ST7735
    invert_colors: false
    show_test_card: true    
    dc_pin: D5  # (AO)
    reset_pin: D4  # (Reset)
    dimensions:
      height: 128
      width: 160

spi:
  clk_pin: D7 # (CLK)
  mosi_pin: D6 # (SDA)

The display backlight is directly connected to 3.3V.

Firstly I have no idea but have you read this

Esp8266
Mosi D7
CLK D5

I already wrote. The page says that this component is outdated and may be removed.
scr_08_11_2024_15_30_09

I don’t understand, D5 is already occupied by dc_pin :face_with_monocle:

Then make it unoccupied…
Try

cs_pin: D3
dc_pin: D2
reset_pin: D4

I don’t understand anything, are you asking me to select some specific pins? It doesn’t seem to make sense. Here is my connection.

display:
  - platform: ili9xxx
    id: my_display
    model: ST7735
    invert_colors: false
    show_test_card: true    
    dc_pin: D2  # (AO)
    cs_pin: D3 # (CS)
    reset_pin: D4  # (Reset)
    dimensions:
      height: 128
      width: 160

spi:
  clk_pin: D0 # (CLK)
  mosi_pin: D1 # (SDA)

Yes.
spi:
clk_pin: D5 # (CLK)
mosi_pin: D7 # (SDA)

No difference. Also, when starting the ESP, the diode and backlight blink 4-5 times, and the following is written in the log.

WARNING Can't connect to ESPHome API for fancontrol @ 192.168.1.222: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.1.222', port=6053))]: [Errno 111] Connect call failed ('192.168.1.222', 6053) (SocketAPIError)
INFO Trying to connect to fancontrol @ 192.168.1.222 in the background

keep the clk D5 and mosi D7
and try this on display component.

cs_pin: D8
dc_pin: D3
reset_pin: D4

[/quote]

I don’t know what the problem is, it doesn’t want to work. I even erased all the other code, leaving only the code for the display, but that didn’t help either. In the end, I inserted the old code st7735 and it worked right away, now it looks like I’ll have to wait until the next update removes it and everything breaks.