TEMPERATURE MONITORING USING DHT22 AND AURDIUNO FOR A SOLAR PASSIVE HEAT BAG
Design & Simulation Project | Sustainable Product Design
A single-zone solar-heated smart carrier that passively heats its interior using the greenhouse effect and displays live internal temperature on an OLED screen β no electricity needed for heating.
Sunlight enters through a transparent acrylic top panel β absorbed by matte black interior β trapped as heat inside the bag. A DHT22 sensor reads the internal temperature and displays it live on a 0.96" OLED screen powered by a 9V battery.
| Component | Specification |
|---|---|
| Arduino Nano Clone | ATmega328P, CH340 |
| DHT22 Sensor | Β±0.5Β°C accuracy |
| 0.96" OLED (I2C) | SSD1306, 128Γ64px |
| 9V Battery + Snap | PP3 alkaline |
| 10kΞ© Resistor | Pull-up for DHT22 |
| Breadboard 400pt | Solderless |
| Jumper Wires M-M | 20cm set |
| From | To |
|---|---|
| 9V Battery + | Arduino VIN |
| 9V Battery β | Arduino GND |
| DHT22 VCC | Arduino 5V |
| DHT22 DATA | Arduino D2 + 5V via 10kΞ© |
| DHT22 GND | Arduino GND |
| OLED VCC | Arduino 3.3V |
| OLED GND | Arduino GND |
| OLED SDA | Arduino A4 |
| OLED SCL | Arduino A5 |
π View Live Simulation on Wokwi
| Bug | Cause | Fix |
|---|---|---|
| 10+ compiler errors | Semicolons after #define |
Removed all ; from #define lines |
| Function not found errors | Wrong capitalisation in library calls | Used IDE autocomplete to fix casing |
| DHT22 returning NaN | 10kΞ© pull-up on wrong pin (SDA instead of DATA) | Moved resistor between DATA pin and 5V rail |