ESP32 IoT

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.

First project

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.
Projects

23 projects ready to run

  • MicroPython WiFi access point mode on an ESP32, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 NTP clock on a TM1637 display, drawn in the Mokxi editor

    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
    Open in the simulator
  • MicroPython WiFi station mode on an ESP32, drawn in the Mokxi editor

    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
    Open in the simulator
  • Plant sensor for Home Assistant, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 Bluetooth serial lamp, drawn in the Mokxi editor

    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
    Open in the simulator
  • WiFi: join the network, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 web server with two LEDs, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 access point web server, drawn in the Mokxi editor

    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
    Open in the simulator
  • WiFi: a lamp on a web page, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP-NOW button and LED, drawn in the Mokxi editor

    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
    Open in the simulator
  • Garage door opener, drawn in the Mokxi editor

    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
    Open in the simulator
  • Radar hallway sensor, drawn in the Mokxi editor

    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
    Open in the simulator
  • Home Assistant multisensor, drawn in the Mokxi editor

    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
    Open in the simulator
  • LED strip controller, drawn in the Mokxi editor

    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
    Open in the simulator
  • API lab: fetch JSON, drawn in the Mokxi editor

    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
    Open in the simulator
  • MicroPython WiFi AP and station at once on an ESP32, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 Telegram doorbell with a PIR sensor, drawn in the Mokxi editor

    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
    Open in the simulator
  • MicroPython WiFi weather on an ESP32, drawn in the Mokxi editor

    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
    Open in the simulator
  • WiFi: fetch the weather, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 BLE UART lamp, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 DHT22 weather web server, drawn in the Mokxi editor

    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
    Open in the simulator
  • ESP32 async web server: BME280, slider and relay, drawn in the Mokxi editor

    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
    Open in the simulator
  • Smart home hub, drawn in the Mokxi editor

    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
    Open in the simulator