A ESP32 based Temperture monitor and timer with ST7789 TFT Display
ESP32_Temp_Monitor_Timer_Demo.mp4
#define TFT_MOSI 23 // Master Out Slave In pin
#define TFT_SCLK 18 // Serial Clock Pin
#define TFT_CS 15 // Chip select pin
#define TFT_DC 2 // Data/Command pin
#define TFT_RST 4 // Reset pin
#define TFT_BLK 32 // Backlight (BLK) pin
#define MAX6675_CS_PIN 5 // Chip Select Pin
#define MAX6675_SCK_PIN 14 // SPI Clock Pin
#define MAX6675_MISO_PIN 12 // SPI MISO Pin
#define ROTARY_PIN_A 27 // Signal pin A
#define ROTARY_PIN_B 26 // Signal pin B
#define ROTARY_PIN_SW 25 // Push button pin
This project can be build and uploaded to the ESP32 (or Arduino) using PlatformIO:
To compile the project:
pio run
To build and upload the firmware to the board:
pio run --target upload
To open the serial monitor:
pio device monitor
If you want to build, upload, and monitor in sequence:
pio run --target upload && pio device monitor
You can specify the baud rate (this project uses 9600):
pio device monitor --baud 9600