Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The best first ESP32 projects form a simple progression: blink an LED, switch it from a web page on your local Wi-Fi network, then read a sensor and serve its value over the network. Each project adds one main concept, so you can learn GPIO, HTTP, and sensor integration without starting with a complicated build.

What you need to get started

For its ESP-IDF setup flow, Espressif lists an ESP32 development board, a USB cable, and a Windows, Linux, or macOS computer. Its guide documents stable ESP-IDF v5.5 and names the ESP32-DevKitC as an example board: Espressif’s ESP-IDF getting-started guide. The beginner workshop uses Espressif DevKits and assumes basic electronics and embedded-programming knowledge: Espressif’s ESP-IDF workshop.

When choosing a board, search for an “ESP32 development board,” then check the specific model’s USB connector, pinout, onboard LED, and sensors. ESP32 boards do not all have the same built-in components. You can follow Espressif’s ESP-IDF route or use the Arduino-ESP32 WebServer example; the available guides establish both options but do not show that one is universally easier. Choose the environment you want to learn and follow instructions written for that environment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Blink an LED

Make an LED turn on and off under program control. Start with an onboard LED if your board has one and its documentation identifies how to use it. If it does not, use an external LED with a suitable current-limiting resistor and a documented GPIO pin.

#1 Best Overall
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (3PCS)
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Support LWIP protocol, Freertos
  • SupportThree Modes: AP, STA, and AP+STA
  • Ultra-Low power consumption, Compatible with Arduino IDE
  • ESP32 is a safe, reliable, and scalable to a variety of applications

This small exercise introduces the core development loop: edit a program, compile it, flash it to the board, and check the result. Espressif’s workshop begins with compiling and flashing hello_world, then moves to creating a project from blink. Follow the pin and build instructions for your particular board and software environment rather than assuming a GPIO number or LED polarity.

2. Switch an LED from a local Wi-Fi web page

Next, connect the ESP32 to your Wi-Fi network and have it serve a simple web page or HTTP endpoints. Open the page from a phone or computer on the same network and use it to switch the LED on and off. Espressif’s workshop uses GET routes for on and off, with an optional blink route. The Arduino-ESP32 WebServer example demonstrates a local-network server, HTTP requests, and JSON responses.

Rank #2
ELEGOO 3PCS ESP-32 Dev Boards, ESP-WROOM-32, USB-C, WiFi Bluetooth 4.2
  • Dual-Core Performance Up to 240 MHz: Run sensor processing, wireless communication, automation logic and connected-device tasks on a 32-bit dual-core ESP32 platform designed for responsive embedded and IoT projects
  • Built-in Wi-Fi and Bluetooth 4.2: Connect to 2.4 GHz Wi-Fi networks or use Bluetooth Classic and BLE for wireless sensors, smart devices, remote controls, home automation and other connected projects
  • Flexible Power-Saving Modes: ESP32 power-management features support dynamic clock scaling and low-power operating modes, helping developers reduce energy use in compatible sensing, monitoring and connected-device applications, suitable for battery-powered Internet of Things (IoT) devices.
  • USB-C Programming with CP2102: Connect through USB-C for power, sketch uploads and serial monitoring, while GPIO, UART, SPI and I2C interfaces support sensors, displays, motor drivers and other modules (USB-C cable not included)
  • Over-the-Air Update Support: Configure OTA functionality through a compatible ESP-32 software framework to update deployed firmware over Wi-Fi without reconnecting the board by USB for every revision

This adds Wi-Fi and HTTP to the GPIO output from the first project. It also expands the debugging scope: check the LED and pin setup, the ESP32’s network connection, and whether your phone or computer can reach the server on the local network.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Keep this as a local-network demonstration, not a server exposed to the public internet. Espressif’s soft-AP provisioning tutorial warns that its simple provisioning technique is inherently less secure and points to Unified Provisioning with security schemes for real-world applications.

Rank #3
ELEGOO ESP-32 Super Starter Kit with Tutorial Compatible with Arduino IDE
  • Powerful ESP-32 Board: Unlock the world of Internet of Things (IoT) and advanced electronics with the heart of this kit: the ESP-32 board. It features a powerful dual-core processor, integrated Wi-Fi and Bluetooth 4.2, making it perfect for building connected, smart devices that communicate with your phone or the cloud. It's fully compatible with the Arduino IDE for easy programming.
  • Super Starter Kit: This kit contains over 35 different modules and electronic components, including sensors, displays, motors, and input devices. From LEDs and buttons to an OLED screen, servo motor, and keypad, you have everything needed to explore a vast range of projects in one box.
  • Step by Step Online Tutorial: Jump right in with our detailed, beginner-friendly tutorial. Access 30+ projects with complete code, clear circuit diagrams, and step-by-step instructions. Learn the fundamentals of electronics, coding, and how to utilize the ESP-32's unique capabilities without any prior experience.
  • Hands-on Learning for All Skill Levels: Perfect for students, makers, engineers, and hobbyists. Start with basic circuits and coding, then progress to intermediate and advanced IoT applications. Build practical projects like weather stations, smart home controllers, remote-controlled devices, and interactive gadgets. The skills you learn are the foundation for real-world innovation.
  • Quality & Great Support: Elegoo is committed to quality. We provide a clear, detailed tutorial guide, refined code, and a well-organized component kit. All modules are carefully selected for reliability and ease of use. Our dedicated technical support team and active online community are ready to help you succeed in your learning journey.

3. Read a sensor and serve its value

For the third project, read an onboard or external sensor and return its current value in a simple HTTP response. A temperature or humidity reading is one possible result if your chosen hardware supports it. Espressif’s workshop covers GPIO and I2C, includes onboard environmental-sensor exercises, and ends with a sensor gateway that combines connectivity and peripheral control.

Check the exact board documentation before following an onboard-sensor exercise. If the board does not have a compatible sensor, select an external one and confirm its interface and wiring requirements. The project now involves both the sensor connection and the network response, so test the reading separately from the web request if something goes wrong.

Rank #4
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (1 PCS)
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Support LWIP protocol, Freertos;ESP32 is a safe, reliable, and scalable to a variety of applications
  • SupportThree Modes: AP, STA, and AP+STA
  • Ultra-Low power consumption, Compatible with Arduino IDE
  • 1PCS 30Pin ESP32 Development Board 2.4GHz WiFi Dual Cores Microcontroller Integrated with Antenna RF Low Noise Amplifiers Filters
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How the three projects build on one another

Project New concepts Extra hardware What you’ll debug
Blink an LED GPIO output; compile and flash Possibly none if the board has an onboard LED; otherwise an LED and suitable resistor One peripheral and its pin configuration
Switch an LED over Wi-Fi Wi-Fi, HTTP routes, and server requests The LED setup from the first project, if needed Network connection as well as LED output
Serve a sensor reading Sensor interface, such as I2C where applicable, plus network integration A compatible sensor if the board does not include one Sensor communication and the network response

This order follows the beginner exercises in Espressif’s workshop; it is a practical learning sequence, not an objective ranking. The workshop page estimates three hours for the workshop itself, not for completing these projects independently.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA for Arduino IDE
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Ultra-Low power consumption, works perfectly with the Arduino IDE
  • Support LWIP protocol, Freertos
  • SupportThree Modes: AP, STA, and AP+STA
  • ESP32 is a safe, reliable, and scalable to a variety of applications

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.