Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smougenot/esp32_tft_sensors
Use esp32 with tft screen (from TTGO) with sensors
https://github.com/smougenot/esp32_tft_sensors
arduino esp32 espressif pio plateformio platformio sensors tft tft-espi ttgo wifi wifimanager
Last synced: about 2 months ago
JSON representation
Use esp32 with tft screen (from TTGO) with sensors
- Host: GitHub
- URL: https://github.com/smougenot/esp32_tft_sensors
- Owner: smougenot
- Created: 2020-01-04T23:04:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T18:19:21.000Z (about 4 years ago)
- Last Synced: 2024-10-31T03:23:18.365Z (3 months ago)
- Topics: arduino, esp32, espressif, pio, plateformio, platformio, sensors, tft, tft-espi, ttgo, wifi, wifimanager
- Language: C
- Size: 58.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/smougenot/esp32_tft_sensors/)
[![Build Status](https://travis-ci.org/smougenot/esp32_tft_sensors.svg?branch=master)](https://travis-ci.org/smougenot/esp32_tft_sensors)
[![CodeFactor](https://www.codefactor.io/repository/github/smougenot/esp32_tft_sensors/badge)](https://www.codefactor.io/repository/github/smougenot/esp32_tft_sensors)# Use TTGO T-Display fo sensors
![image](https://github.com/Xinyuan-LilyGO/TTGO-T-Display/blob/master/image/pinmap.jpg)
## 1.Uses the following dependency libraries:
For more informations see the sources
- [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI)
- [Button2](https://github.com/LennartHennigs/Button2)## 2.TFT_eSPI settings
Settings are managed by the build tooling PlatformIO
- [TFT_eSPI settings](https://github.com/Bodmer/TFT_eSPI/blob/master/Tools/PlatformIO/Configuring%20options.txt)
- based on TFT_eSPI provided values in [User_Setups/Setup25_TTGO_T_Display.h](https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setups/Setup25_TTGO_T_Display.h)## 3.Install
- [Install PlateformIO](https://docs.platformio.org/en/latest/installation.html#python-package-manager)
- 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 e`Serial` 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 |