IoT

IoT project ideas for ESP32 and Pico W

These projects are tagged IoT. They cover WiFi web servers, Bluetooth, ESP-NOW, LoRa, SMS and Home Assistant sensors. Mokxi has 47 of them (18 beginner, 23 intermediate and 6 advanced). Here are 24, from “ESP32 web server with two LEDs” to “LoRa messenger”. 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 “HC-06 Bluetooth chat”, a beginner project that needs a bluetooth serial module.
  • 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 (14 projects), the push button (6) and the filament lamp (5). With those on hand, most of this list is open to you.
  • Get the board on WiFi and printing its address before you add a sensor. A web page that never loads is nearly always the network, not the sensor.
Projects

24 projects of 47

  • 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
  • Receive an SMS, drawn in the Mokxi editor

    Receive an SMS

    The GSM receive sketch on a SIM900A, on a simulated network: type sms hello in the modem’s serial box and the Uno prints the +CMT line and the text.

    Board
    Arduino Uno R3
    Parts
    GSM modem, DC jack and adapter
    Level
    Beginner
    Open in the simulator
  • IR remote control relay module, drawn in the Mokxi editor

    IR remote control relay module

    IRremote and a 21-key handset: keys 1 to 4 toggle the four channels of a relay board, each switching a 12 V lamp, and 0 turns them all off.

    Board
    Arduino Uno R3
    Parts
    IR remote, IR receiver and remote, four-channel relay board, DC jack and adapter, filament lamp
    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
  • Pico W joins WiFi in MicroPython, drawn in the Mokxi editor

    Pico W joins WiFi in MicroPython

    MicroPython on a Pico W: network.WLAN joins the simulated access point with a ten-second limit and prints the IP address it was given.

    Board
    Raspberry Pi Pico W
    Parts
    Just the board
    Level
    Beginner
    Open in the simulator
  • HC-06 Bluetooth chat, drawn in the Mokxi editor

    HC-06 Bluetooth chat

    An HC-06 on SoftwareSerial at 9600. Pair from the Bluetooth tab with PIN 1234, connect, and send 1 or 0 for the LED. Simulated Bluetooth, no radio.

    Board
    Arduino Uno R3
    Parts
    Bluetooth serial module
    Level
    Beginner
    Open in the simulator
  • 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
  • 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
  • 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
  • Bluetooth lamp, drawn in the Mokxi editor

    Bluetooth lamp

    An HC-05 modeled as what it is to the board: a serial bridge whose far end is the serial monitor. Type on or off and the lamp answers.

    Board
    Arduino Uno R3
    Parts
    HC-05 Bluetooth module, resistor, LED
    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
  • 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
  • RS-485 link, drawn in the Mokxi editor

    RS-485 link

    Two MAX485 modules on one A/B pair carry a numbered ping from the Uno’s TX to pin 8, with pin 4 switching the sender between talk and listen.

    Board
    Arduino Uno R3
    Parts
    RS-485 module
    Level
    Intermediate
    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
  • MicroPython WiFi AP and station at once on a Pico W, drawn in the Mokxi editor

    MicroPython WiFi AP and station at once on a Pico W

    MicroPython on a Raspberry Pi Pico W: the board starts its own access point and joins Mokxi’s simulated network at the same time, printing both.

    Board
    Raspberry Pi Pico W
    Parts
    Just the board
    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
  • LD2410 presence radar, drawn in the Mokxi editor

    LD2410 presence radar

    A Hi-Link LD2410 mmWave radar on the Mega’s Serial1 at 256000 baud: the ld2410 library tells a moving person from a still one, and OUT lights the LED.

    Board
    Arduino Mega 2560 R3
    Parts
    Presence radar
    Level
    Intermediate
    Open in the simulator
  • ESP-NOW on two NodeMCUs, drawn in the Mokxi editor

    ESP-NOW on two NodeMCUs

    Two ESP8266 boards talking ESP-NOW with the ESP8266 core’s espnow.h: one sends a count and a knob reading every two seconds.

    Board
    ESP8266 NodeMCU V1.0
    Parts
    Potentiometer
    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
  • 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
  • Pico W web server sets an RGB LED, drawn in the Mokxi editor

    Pico W web server sets an RGB LED

    MicroPython on a Pico W: a socket server on port 80 serves a page whose links set an RGB LED on GP13 to GP15 and that shows a thermistor’s.

    Board
    Raspberry Pi Pico W
    Parts
    Resistor, 10k NTC thermistor, RGB LED
    Level
    Advanced
    Open in the simulator
  • Send a heartbeat, drawn in the Mokxi editor

    Send a heartbeat

    Two Unos, each with an nRF24L01 radio, a button and a red LED: press the button on one and the heart on the other beats lub-dub.

    Board
    Arduino Uno R3
    Parts
    NRF24L01+ 2.4 GHz radio, push button, resistor, LED
    Level
    Advanced
    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
  • LoRa messenger, drawn in the Mokxi editor

    LoRa messenger

    Two Unos, a Ra-02 LoRa module each and no wire between them: one sends a numbered message every two seconds, the other prints it.

    Board
    Arduino Uno R3
    Parts
    LoRa module
    Level
    Advanced
    Open in the simulator

See all 47 IoT projects on the templates page