SkillShop
SkillShop › IoT Cases › DHT11 Web Server
Day 3 of 100

DHT11 Web Server

Sensors · Board: ESP32 · Day 3 of 100

The ESP32 serves a live web page showing temperature and humidity from a DHT11 sensor. Your first step into Wi-Fi, HTTP servers, and sensor dashboards.

How it works

The ESP32 joins your Wi-Fi network and runs a tiny HTTP server in a loop. Each time a browser requests the page, the board reads temperature and humidity from the DHT11, injects the values into an HTML template, and sends it back. Refresh the browser and you get a fresh reading.

What you'll learn

  • Wi-Fi station mode
  • HTTP request/response cycle
  • Single-wire sensor protocol
  • Dynamic HTML generation

Full project: code, wiring diagram & Wokwi simulation

The complete build guide lives in the original repo. Ours is a summary — the real thing is one click away.

Open full project on GitHub ↗

Summary by SkillShop. Project by Kritish Mohapatra — code and diagrams belong to the original repo.

More Sensors builds