noobie, failing to make a st7735 to work

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
wester
Posts: 1
Joined: Fri Apr 27, 2018 12:14 am

noobie, failing to make a st7735 to work

Post by wester » Fri Apr 27, 2018 12:28 am

Hello all,

as my first project i want to be able to draw something using a st7735 tft 1.8" lcd display with an esp8266 running upython 1.9.3.

with some research i found this repository https://github.com/adafruit/micropython ... gb-display

from witch i uploaded the st7735.py and rgb.py files to my esp8266 and tried to make them work with:


from machine import Pin, SPI
import st7735
spi = SPI(1, baudrate=32000000)
display = st7735.ST7735R(spi, dc=Pin(15), cs=Pin(0),width=160,height=128)
display.fill(0)


but nothing happens

the mosi pin is connected to gpio13(sd1) of my board.

can you see what am i failing at?
is it even posible?

thanks in advance

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: noobie, failing to make a st7735 to work

Post by deshipu » Fri Apr 27, 2018 10:30 am

I'm using those displays a lot, and they work very well.

Can you tell us how you connected the display module exactly?

Also, did you connect the backlight to power? This display won't show anything without a backlight.

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: noobie, failing to make a st7735 to work

Post by OutoftheBOTS_ » Fri Apr 27, 2018 8:11 pm

You also have to connect the rest pin to 3.3v as well

Post Reply