ESP32 IoT project ideas
These ESP32 projects are tagged IoT. They cover web servers on your WiFi, Bluetooth and BLE lamps, ESP-NOW between boards and Home Assistant sensors. There are 23 (8 beginner, 14 intermediate and 1 advanced). Here are all of them, from “MicroPython WiFi access point mode on an ESP32” to “Smart home hub”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “ESP32 NTP clock on a TM1637 display”, a beginner project that needs a TM1637 display.
- Most of them are intermediate projects. Pick one a level below what you think you can do, finish it, then move up.
- The parts used most here are the LED (11 projects), the push button (4) and the DHT11 or DHT22 sensor (3). With those on hand, most of this list is open to you.
- Start with the project that joins WiFi and serves a page; every other IoT build here is that plus a sensor or a relay.
23 projects ready to run

MicroPython WiFi access point mode on an ESP32
MicroPython on an ESP32: network.WLAN(AP_IF) starts a hotspot of the board’s own and prints its name and its IP settings.
- Board
- ESP32-DevKitC V4
- Parts
- Just the board
- Level
- Beginner

ESP32 NTP clock on a TM1637 display
An ESP32 gets the time from an NTP server with NTPClient and shows hours and minutes on a TM1637 four-digit display, the colon blinking every second.
- Board
- ESP32 DevKit V1
- Parts
- TM1637 four-digit display
- Level
- Beginner

MicroPython WiFi station mode on an ESP32
MicroPython on an ESP32: network.WLAN(STA_IF) joins Mokxi’s simulated access point and prints the IP address the router hands out.
- Board
- ESP32-DevKitC V4
- Parts
- Just the board
- Level
- Beginner

Plant sensor for Home Assistant
A capacitive soil sensor mapped between two calibration readings, a light level, and a thirsty LED with two thresholds so it does not flicker.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Photoresistor module, capacitive soil moisture sensor, resistor, LED
- Level
- Beginner

ESP32 Bluetooth serial lamp
BluetoothSerial on the ESP32: pair with ESP32-Lamp in the Bluetooth tab, send on or off, and the LED answers.
- Board
- ESP32 DevKit V1
- Parts
- Resistor, LED
- Level
- Beginner

WiFi: join the network
The connect loop every ESP32 tutorial opens with, on a simulated network: no 802.11, and the address a simulated DHCP hands out.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Just the board
- Level
- Beginner

ESP32 web server with two LEDs
The Random Nerd Tutorials ESP32 web server: press Run, open the Web panel, and its ON and OFF buttons switch the LEDs on GPIO 26 and 27.
- Board
- ESP32 DevKit V1
- Parts
- Resistor, LED
- Level
- Beginner

ESP32 access point web server
The ESP32 makes its own WiFi network, MyESP: press Run, open the Web panel, which joins it as a phone.
- Board
- ESP32 DevKit V1
- Parts
- Resistor, LED
- Level
- Beginner

WiFi: a lamp on a web page
A WebServer with two buttons and a form. Press one in the Web panel and the LED on the breadboard follows; the network under it is simulated.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Resistor, LED
- Level
- Intermediate

ESP-NOW button and LED
Two ESP32s and no wire between them: the button on one sends on or off over ESP-NOW, the other lights its LED and prints each message.
- Board
- ESP32 DevKit V1
- Parts
- Push button, resistor, LED
- Level
- Intermediate

Garage door opener
A relay that presses the opener’s wall button for half a second and two reed switches that say closed, opening, open, closing or stopped.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Reed switch, push button, relay module
- Level
- Intermediate

Radar hallway sensor
An RCWL-0516 radar holds a hallway "occupied" for ten seconds after the last movement and lights the lamp only when it is dark.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Photoresistor module, microwave motion sensor, resistor, LED
- Level
- Intermediate

Home Assistant multisensor
Temperature, humidity, light and motion on one ESP32-C3, the room sensor Home Assistant users build first.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Light sensor, DHT11 or DHT22 sensor, PIR motion sensor, resistor, LED
- Level
- Intermediate

LED strip controller
Sixteen WS2812B pixels with on, off, brightness, color and two effects, faded between, from two buttons and a knob on the strip or from the Web tab.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Potentiometer, push button, WS2812 NeoPixel LEDs
- Level
- Intermediate

API lab: fetch JSON
Call an API with normal HTTPClient code, edit its JSON response in Cloud and inspect the complete request and response.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Just the board
- Level
- Intermediate

MicroPython WiFi AP and station at once on an ESP32
MicroPython on an ESP32: the board starts its own hotspot and joins Mokxi’s simulated access point at the same time, and prints both addresses.
- Board
- ESP32-DevKitC V4
- Parts
- Just the board
- Level
- Intermediate

ESP32 Telegram doorbell with a PIR sensor
An ESP32 doorbell: the button rings a buzzer and sends you a Telegram message with UniversalTelegramBot, and a PIR sensor reports motion at the door.
- Board
- ESP32 DevKit V1
- Parts
- Push button, buzzer, PIR motion sensor
- Level
- Intermediate

MicroPython WiFi weather on an ESP32
MicroPython on an ESP32 DevKit: network.WLAN joins the simulated access point and urequests fetches the weather from http.
- Board
- ESP32 DevKit V1
- Parts
- Just the board
- Level
- Intermediate

WiFi: fetch the weather
HTTPClient against a simulated origin, with the numbers on a dial in the Cloud panel, and a request to the real internet that is refused.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Just the board
- Level
- Intermediate

ESP32 BLE UART lamp
A Bluetooth LE server with the Nordic UART service: connect from the Bluetooth tab, write on or off to RX, and turn on TX notifications for the reply.
- Board
- ESP32 DevKit V1
- Parts
- Resistor, LED
- Level
- Intermediate

ESP32 DHT22 weather web server
ESP32 DHT22 weather web server: the board serves its own page with the temperature in C and F and the humidity, plus the same reading as JSON.
- Board
- ESP32 DevKit V1
- Parts
- DHT11 or DHT22 sensor
- Level
- Intermediate

ESP32 async web server: BME280, slider and relay
ESPAsyncWebServer serves a page with BME280 temperature, humidity and pressure, a slider that dims an LED and a button that switches a relay.
- Board
- ESP32 DevKit V1
- Parts
- BME280 weather sensor, resistor, LED, relay module, DC jack and adapter, +1 more
- Level
- Intermediate

Smart home hub
An ESP32-C3 web dashboard that switches a lamp and a fan through relays, dims a porch light, reads temperature, humidity and motion.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Two-channel relay board, filament lamp, DC motor, LED, resistor, +4 more
- Level
- Advanced
Wiring, libraries and more ideas
Wiring guides
Library pages
More project ideas
- ESP32 project ideas
- LED projects for Arduino, ESP32 and Pico
- Projects with a push button
- Projects with a DHT11 or DHT22 sensor
- Projects with a PIR motion sensor
- Projects with a lamp
- Projects with a light sensor module
- Projects with a relay module
- Home automation projects with ESP32 and Arduino
- IoT project ideas for ESP32 and Pico W
- Weather station projects
- Arduino music and sound projects