IoTAdvanced 5 hours
Mini Weather Station
DHT22 + BMP280 + 0.96" OLED. A great intro to I2C and reading multiple sensors at once.
Required components
- Arduino UNO
- DHT22 Sensor
- BMP280 Sensor
- 0.96" OLED Display
- Breadboard
- Jumper Wires
Circuit diagram
Shared I2C bus on A4/A5 for OLED and BMP280. DHT22 on D2 with pull-up resistor.
Interactive 3D circuit viewer coming in the Virtual Lab.
Step-by-step guide
- 1
Connect DHT22 to digital pin 2 (with 10kΩ pull-up).
- 2
Wire BMP280 and OLED via I2C: SDA→A4, SCL→A5.
- 3
Install DHT, Adafruit_BMP280 and SSD1306 libraries.
- 4
Upload sketch — readings refresh every second.
Code
// Pseudocode — see Botix tutorial video for full sketch
#include <DHT.h>
#include <Adafruit_BMP280.h>
#include <Adafruit_SSD1306.h>
// ... init and loop reading sensors, draw to OLEDNeed help?
Stuck on a step?
Ask the Botix AI Tutor — it knows this project end-to-end.