1/9

Model Overview & Print Notes
Weather Station
A compact DIY weather station based on the ESP32-C3 SuperMini, featuring a color TFT display, online weather data, and local temperature & humidity measurement.
The project is designed to be simple, energy-efficient, and fully standalone, suitable for desktop use or as a portable weather monitor.
Hardware Used
Main Components
Microcontroller: ESP32-C3 SuperMini
Display: 1.8" TFT (ST7735, 128×160)
Temperature & Humidity Sensor: SHT31 (I2C)
Button: 6×6 mm tactile switch
Power: 450 mAh Li-ion battery (e.g. from disposable vape)
Other: wires, solder, solder paste
Before Flashing the Firmware
Before uploading the firmware, you must edit the settings.h file.
1. Wi-Fi Configuration
Enter your Wi-Fi credentials:
constexpr char SSID[] = "your_wifi_name";
constexpr char PASSWORD[] = "your_password";
Without this, the device will not be able to retrieve weather data.
2. Location Settings
Set your geographic coordinates for accurate weather data:
constexpr double LATITUDE = 45.493525;
constexpr double LONGITUDE = 15.565131;
You can find your coordinates using Google Maps or any online GPS service.
How It Works
Operating Modes
The device has two modes, switched using a single button:
Indoor Mode
Displays real-time temperature and humidity
Data is read directly from the SHT31 sensor
Outdoor Mode
Connects to Wi-Fi
Downloads weather data from the met.no API
Uses coordinates defined in settings.h
Power Saving
The project is optimized for battery operation:
After 5 seconds — display brightness is reduced to 2%
After 20 seconds — device enters Deep Sleep
Wake-up occurs via button press
This allows long battery life even with a small Li-ion cell.
Weather API Information (met.no)
This project uses the official API of the Norwegian Meteorological Institute.
Key advantages:
Works worldwide
No API key required
High accuracy
Free and open access
Technical notes:
Europe and Scandinavia use high-resolution 1×1 km models
Global coverage is provided via ECMWF data
One of the most reliable public weather APIs available
Because of this, the project works anywhere in the world — just enter your coordinates.
Pinout
Component Module Pin ESP32-C3 GPIO Description
TFT Display SCL (SCLK) GPIO 7 SPI Clock
SDA (MOSI) GPIO 9 SPI Data
RES GPIO 4 Reset
DC GPIO 5 Data / Command
CS GPIO 6 Chip Select
LED (BLK) GPIO 3 Backlight (PWM)
SHT31 Sensor SDA GPIO 2 I2C Data
SCL GPIO 0 I2C Clock
Button S1 GPIO 1 Mode switch
Summary
Compact and low-power design
Works worldwide
No API keys required
Simple hardware
Ideal for learning ESP32 + IoT
Clean and minimal wiring
The ESP32-C3 SuperMini fits perfectly behind the display, making the entire device small, clean, and portable.
Git link (sketch files) is in "How to flash.txt"







💬CrealityCloud Community Comments(...)
★CrealityCloud Original Reviews