Build a Mini Weather Station
SensorsDisplaysIoT
A local temperature and humidity readout you can build in an afternoon — no cloud account, no app, just real numbers on a real screen.
7 real parts included
Total for this kit: 1,829.00 ฿
Doesn't include any order discount you may get at checkout.
What you'll need
ESP32-C3 SuperMini Development Board — Wi-Fi & Bluetooth, USB-C
670.00 ฿
AHT20 Temperature & Humidity Sensor Module — I2C
260.00 ฿
0.96" I2C OLED Display Module — 128×64, White
285.00 ฿
830-Point Solderless Breadboard
125.00 ฿
Jumper Wire Kit — Male-Male, Male-Female, Female-Female
220.00 ฿
USB-C Data & Charging Cable — 1m
180.00 ฿
Electronic Project Enclosure — 100×60×25mm
89.00 ฿
Wiring Diagram
Starter Code
// Mini Weather Station — ESP32-C3 SuperMini + AHT20 + OLED
#include <Wire.h>
#include <Adafruit_AHTX0.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// --- Pins — adjust to match your board's silkscreen if different ---
#define SDA_PIN 8
#define SCL_PIN 9
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define OLED_ADDR 0x3C
Adafruit_AHTX0 aht;
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
void setup() {
Serial.begin(115200);
Wire.begin(SDA_PIN, SCL_PIN);
if (!aht.begin()) {
Serial.println("AHT20 not found — check wiring");
while (1) delay(1000);
}
if (!display.begin(SSD1306_SWITCHCAPVCC, OLED_ADDR)) {
Serial.println("SSD1306 not found — check wiring");
while (1) delay(1000);
}
display.clearDisplay();
display.setTextColor(SSD1306_WHITE);
}
void loop() {
sensors_event_t humidity, temp;
aht.getEvent(&humidity, &temp);
float tempC = temp.temperature;
float tempF = tempC * 9.0 / 5.0 + 32.0;
float rh = humidity.relative_humidity;
display.clearDisplay();
display.setTextSize(2);
display.setCursor(0, 0);
display.print(tempC, 1);
display.println(" C");
display.setTextSize(1);
display.setCursor(0, 20);
display.print(tempF, 1);
display.println(" F");
display.setCursor(0, 40);
display.print("Humidity: ");
display.print(rh, 0);
display.println(" %");
display.display();
Serial.print("Temp: "); Serial.print(tempC); Serial.print(" C / ");
Serial.print(tempF); Serial.print(" F Humidity: "); Serial.print(rh);
Serial.println(" %");
delay(2000);
}Not sure about a step? Ask us