Skip to content

smougenot/esp32_tft_sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitpod ready-to-code Build Status CodeFactor

Use TTGO T-Display fo sensors

image

1.Uses the following dependency libraries:

For more informations see the sources

2.TFT_eSPI settings

Settings are managed by the build tooling PlatformIO

3.Install

  • Install PlateformIO
  • PlatformIO will manage all required software for building (aka: plateform like esp32, dependencies like the above TFT_eSPI)

3.Build

  • go to the directory of this project
  • open a terminal
  • build with : pio run (first time is long because it needs to download all the requirements)
  • upload to the board (needs the borad connected using USB + appropriate user settings see installation) : pio run --target upload
  • See th eSerial output : pio device monitor --baud 115200

Pinout

Name V18
TFT Driver ST7789
TFT_MISO N/A
TFT_MOSI 19
TFT_SCLK 18
TFT_CS 5
TFT_DC 16
TFT_RST N/A
TFT_BL 4
I2C_SDA 21
I2C_SCL 22
ADC_IN 34
BUTTON1 35
BUTTON2 0
ADC Power 14