← All projects in the gallery

Pocket Hygrometer

by jonathan harrocks

The T-Display-S3 is a strip, not a screen: 170 x 320. Everything stacks, and a layout that works on a CYD falls off the edge here - which is the point of having one example shaped like this. An SHT31 reads temperature and humidity; dew point is arithmetic on the two, done in a formula rather than by a third sensor. The marker under the humidity rides a scale of too dry, comfortable and too damp. Exports as ESPHome. The panel is 8-bit parallel, which ESPHome drives as an octal SPI bus - so this one needs an S2 or S3, and the T-Display-S3 is one.

About this design

Pocket Hygrometer is an LVGL interface for the LilyGO T-Display-S3 (ST7789 170 x 320, CST816S touch), with 1 screen and 18 widgets, made for ESPHome on LVGL 9.

Screens

  • Screen1

Hardware and build

Board
LilyGO T-Display-S3
MCU
ESP32-S3
Display
ST7789
Resolution
170 x 320
Touch
CST816S
Graphics library
GFX Library for Arduino
LVGL
v9
Exports to
ESPHome
Peripherals
SHT31 / SHT35
Libraries
lvgl, GFX Library for Arduino, Adafruit SHT31 Library

Notes from the author

Temperature, humidity and dew point on a 170 x 320 strip.

Using it

Open a copy in the designer and it is yours to edit: restyle the screens, move it to another board, and export the ESPHome project. Designing is free, and a copy needs no account. Open the designer.