Skip to content

juergs/ESP32_GC9A01_Breadboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f429ac0 · Apr 9, 2024

History

60 Commits
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
Apr 9, 2024
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024

Repository files navigation

Using ESP32 to experience the basics of using TFT_eSPI-library and more sensors as GPS, Compass, LoRA etc. The underlying Library used for the display is Bodmer/TFT_eSPI. Bodmer/TFT_eSPI. GC9A01-Tutorial and raspioverlay TFT_eSPI-sprite usage

PlatformIO configuration

This is the first working version not adjusted to actual display size of 240x240 pixels with round shape:

I am using the Wemos Mini D1 ESP2 - board, which is not usable for breadboard usage, because it uses double row headers. But works fine for manual soldering on these pcbs.

Primary connection schema:

ESP32-pin gpio
scl 18
sda/miso 19
dc 27
cs 5
rst 33

I'm using this eps32 pin configuration TFT_eSPI in User_Setup.h:

See also: Setting up the TFT_eSPI Library

/--- GC9A01.V1 display has no MISO-pin nor a BL-pin!
//###################################################################################
//--- js 3.4.24 changed for Breadboarddisplay and release Debugging-Pins 12,13,14,15
//###################################################################################
#define TFT_MISO -1 
#define TFT_SCLK 18
#define TFT_MOSI 19  // *SDA* labeled pin on GC9A01.V1
#define TFT_CS   5   // Chip select control pin
#define TFT_DC   27  // Data Command control pin
#define TFT_RST  33  // Reset pin (could connect to Arduino RESET pin)
#define TFT_BL   -1  // LED back-light, could be 22

This schematic shows the wemos mini d1 ESP32 pinout from the botton side (!).

Some GPIO-pins (12,13,14,15) are exclusively reserved for openOCD-Debugging with PlatformIO.

Debugger-HowTo

PIO-Debugging

Debugger-Flaws

Especially for this annoying kind of error:

.pioinit:11: Error in sourced command file

dronebot-Tutorial

GC9A01 Display Driver Demo

TFT in general

About

Test round 1.28" display capabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published