Top 10 ESP32 projects for IoT and Wi-Fi

The 10 best ESP32 projects to build: first Wi-Fi web page, Wi-Fi relay switch, Google Sheets logger, ESP32-CAM stream, Telegram control and ESP-NOW networks, with full code.

In short

What are the best ESP32 projects?

Begin ESP32 with the first Wi-Fi web page, then build the Wi-Fi relay switch and the Google Sheets logger. They cover the three things an ESP32 does best: serve a page, switch a load and send data to the internet. After that try the ESP32-CAM video stream, Telegram bot control and an ESP-NOW sensor network.

Projects
10 guided builds
Levels
Beginner, Intermediate
Build time
30 min to 3 h

The 10 projects

ESP32 is the board to choose when a project needs Wi-Fi or Bluetooth. These ten cover web pages, relays, cloud logging, a camera, chat control, a robot car and router-free sensor networks, roughly easiest first.

  1. ESP32 first Wi-Fi web page

    An ESP32 joins your Wi-Fi and serves a web page with a button that turns an LED on and off.

    Beginner30 minLearningOpen the build →
  2. ESP32 Wi-Fi switch with web buttons

    An ESP32 hosts a small web page on your home Wi-Fi with buttons that switch two relays from any phone or laptop.

    Intermediate1.3 hSmart HomeOpen the build →
  3. Log sensor data to Google Sheets

    An ESP32 posts readings to a Google Apps Script, which adds a row to a sheet you can chart and share.

    Beginner1 hIoTOpen the build →
  4. Water leak detector with phone alert

    A sensor under the washing machine or RO purifier sends a phone alert the moment water appears on the floor.

    Beginner1 hSmart HomeOpen the build →
  5. ESP32-CAM Wi-Fi video stream

    An ESP32-CAM streams live MJPEG video to a browser on your Wi-Fi, with a snapshot link, for under ₹600 of parts.

    Intermediate1.3 hSecurityOpen the build →
  6. Control devices with a Telegram bot

    Send /on, /off or /status to a Telegram bot and an ESP32 switches a relay and replies with readings.

    Intermediate2 hIoTOpen the build →
  7. Wi-Fi robot car with a phone joystick

    An ESP32 makes its own Wi-Fi network and serves a web page with a touch joystick, then drives a two-wheel car over WebSockets with low delay.

    Intermediate3 hRoboticsOpen the build →
  8. ESP-NOW sensor network without a router

    Two sensor nodes send temperature and humidity to a gateway with ESP-NOW, which needs no Wi-Fi router and sleeps between readings.

    Intermediate2.5 hIoTOpen the build →
  9. Heart rate monitor with OLED

    A MAX30102 sensor reads your pulse from a fingertip and an ESP32 shows beats per minute on an OLED.

    Intermediate1.3 hHealthOpen the build →
  10. PM2.5 dust monitor with PMS5003

    A PMS5003 laser sensor measures PM1, PM2.5 and PM10 in µg/m³, and an ESP32 shows them on an OLED with India's AQI band for PM2.5.

    Intermediate1.3 hEnvironmentOpen the build →

Before you start

Every build has the full parts list, wiring table, tested code and troubleshooting. Check the circuit or sketch first in the code space or the circuit builder, then order parts with the Buy at Geekobot links on each project page. ElectroLark does not sell parts.

New to the basics? Take the free microcontrollers course, or browse all projects and final-year project briefs.

ESP32 projects: common questions

What is the best first ESP32 project?

The ESP32 first Wi-Fi page. It connects the board to your router and serves a web page you open from your phone, which is the base for almost every IoT build.

Is ESP32 better than Arduino for IoT?

For projects that need Wi-Fi or Bluetooth, yes: an ESP32 has both built in, runs faster than an Uno and has more memory. An Arduino is simpler for plain sensor and motor projects with no network.

Can I program the ESP32 with the Arduino IDE?

Yes. ESP32 boards use the Arduino framework, so most Arduino libraries work. You can also write and check code in the ElectroLark code space and flash a board from Chrome or Edge.

Which ESP32 board do these projects use?

Mostly the ESP32 DevKit V1. A few small builds use the ESP32-C3 or XIAO boards, and the camera build uses an ESP32-CAM. Each page lists the exact board.

Can I use these for a final-year IoT project?

Yes. The Google Sheets logger, Telegram control, ESP32-CAM and ESP-NOW network make good starting points for a mini or final-year IoT project. See the final-year briefs for report templates.