GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - turfptax/micropython-st7735s-tutorial: Tutorial to get ESP32-S2 mini to talk to a TFT ST7735S screen

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
boot.py
boot.py
 
 

Repository files navigation

Micropython ST7735S Tutorial

This repository provides a tutorial to help you get an ESP32-S2 mini to communicate with a TFT ST7735S screen using MicroPython.

Table of Contents

  • Prerequisites
  • Downloading the Required Drivers and Files
  • Identifying the Default SPI Pins
  • Wiring
  • License

Prerequisites

Before you start, ensure you have the following:

  • ESP32-S2 mini
  • TFT ST7735S screen
  • MicroPython firmware installed on your ESP32-S2 mini

Downloading the Required Drivers and Files

The following drivers and files are required for this tutorial:

From the MicroPython ST7735 repository:

  1. ST7735.py
  2. graphicstest.py

Visit the MicroPython ST7735 Repository to download these files.

From the GuyCarver MicroPython repository:

  1. sysfont.py

Visit the GuyCarver MicroPython Repository to download this file. Visit the cheungbx/st7735-esp8266-micropython Repository to download this file.

Identifying the Default SPI Pins

Run the following command in the MicroPython REPL to find the SCK (Serial Clock) and SDA (Serial Data) MISO (Master In Slave Out) pins from the default values on ESP32-S2:

import machine
print(machine.SPI(1))

The output should look similar to this: SPI(id=1, baudrate=500000, polarity=0, phase=0, bits=8, firstbit=0, sck=7, mosi=11, miso=9)

Wiring

Here is a guide on how to wire your ESP32-S2 mini with the TFT ST7735S screen:

ESP32-S2 to TFT ST7735S Wiring Diagram

License

This project is licensed under the terms of the MIT license. For more information, refer to the LICENSE file.

About

Tutorial to get ESP32-S2 mini to talk to a TFT ST7735S screen

Topics

displayesp32esp32-s2micropythonst7735st7735stfttft-displaytutorial

Resources

Readme
MIT license
Activity

Stars

9 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.