Submit

Learn ESP32: 20 Interactive Labs

Explore a 3D ESP32 DevKit and run 20 labs covering GPIO, sensors, motors, Wi-Fi, Bluetooth and ESP-NOW. Inspect wiring, code and live signals.

Browse the lesson guides ↓
0 / 20

Meet the ESP32

Explore the module, antenna, USB, GPIO and 3.3 V supply.

ESP32 teaching illustration with module, GPIO headers and lesson components

Preparing the 3D view. Experiment controls are already available.

Ready to explore
SIGNAL TRACEWaiting to run
Component directory · select to locate

Numbers match model markers. Select a part for its function, connections and controls. With the model focused: Q/E rotate, WASD pan, +/− zoom, R reset, Esc returns.

CODEESP32LED

Experiment controls

Change one thing. Make a prediction, then run it.

sketch.ino
void setup() {
  Serial.begin(115200);
  pinMode(2, OUTPUT);
}

void loop() {
  digitalWrite(2, HIGH);
  Serial.println("Hello, ESP32 · 3.3V logic");
  delay(1000);
}
Signal monitor
Run the experiment to watch inputs and outputs here.

Guided simulation · not a C++ compiler

Your experiment

Locate GPIO 2, GPIO 34 and GND before running your first sketch.

Show explanation

FULL-SCREEN STUDY

Meet the ESP32

All 20 ESP32 lessons

Start with the ESP32 DevKit and alternating LEDs, then move on to wireless and connected projects. Each guide includes wiring, a sketch, an observation task and a knowledge check.

  1. Meet the ESP32

    Explore the module, antenna, USB, GPIO and 3.3 V supply.

    Run experiment
  2. Flash two LEDs

    Build a crossing signal with two independently wired lights.

    Run experiment
  3. Guard the fridge

    A magnetic reed switch tells you when a door has been open too long.

    Run experiment
  4. Use Wi-Fi

    A tiny HTTP server lets a virtual phone switch an LED.

    Run experiment
  5. Sound a siren

    Sweep a passive buzzer between two frequencies.

    Run experiment
  6. Build a mini piano

    Eight copper pads use capacitive touch to play an octave.

    Run experiment
  7. Fill a ring of LEDs

    Map a 12-bit potentiometer reading to twelve addressable pixels.

    Run experiment
  8. Make a mood lamp

    Mix three PWM channels inside a frosted globe.

    Run experiment
  9. Light up in the dark

    Use an LDR divider and a threshold to switch a desk lamp.

    Run experiment
  10. Distance meter

    Time an ultrasonic echo and show centimeters on an OLED.

    Run experiment
  11. Drive a wheel

    An H-bridge controls both speed and direction of a DC motor.

    Run experiment
  12. Laser barrier gate

    An interrupted beam opens a striped servo barrier.

    Run experiment
  13. Talk over Bluetooth

    Pair a virtual phone and send ON or OFF to the board.

    Run experiment
  14. Board to board

    Send a potentiometer reading directly to a second ESP32.

    Run experiment
  15. Smart parking bay

    Combine ranging, traffic lights and a Wi-Fi occupancy page.

    Run experiment
  16. Automatic water pump

    A level probe and a relay keep a tank between two marks.

    Run experiment
  17. Keypad door lock

    Scan a 3 × 4 keypad and open a servo lock with the right code.

    Run experiment
  18. Sun-tracking solar panel

    Balance two light sensors to aim a servo-mounted panel.

    Run experiment
  19. Ultrasonic radar

    Sweep a distance sensor and plot a detected target by angle.

    Run experiment
  20. Pick and place

    Coordinate a stepper base, servo arm and gripper in sequence.

    Run experiment

Why it’s here

Having the sketch, connections and output together lets you test a change and see what caused it.

  1. Choose the alternating LED lesson and locate GPIO 2, GPIO 4 and GND in the inspector.
  2. Run the experiment and watch the two LEDs alternate.
  3. Change the delay and compare the sketch with the new blink rhythm.

Sources

Wireless lessons use virtual links. For physical wiring, check Espressif’s board and GPIO documentation.

Arduino-ESP32 ↗ · Learn ESP32 standalone site ↗

MAKE A THOUGHTFUL CHOICE

Your shortlist, side by side.

Pricing models are indicative. Check each official website for current plans and limits.