Free & open source

Build your own ESP32 Lab

A browser-based sensor lab for a few pounds of hardware. Flash the firmware, plug in a sensor, and read it from any phone or laptop — no app, no cloud, no accounts.

Two ESP32-C3 boards on mini breadboards, one wired to an ultrasonic sensor and one to a PIR motion sensor
♥

The software is free and always will be. If you're buying parts to build a lab, using the links on this page costs you nothing extra and sends a small commission my way — it helps keep the project going. Thank you!

See it in action

A C3 SuperMini, a mini breadboard, a few jumper wires and a sensor. That's the whole lab.

Sensors tab showing the sensor type, a voltage safety check and the wiring table
Pick a sensor and the lab tells you exactly how to wire it.
System tab showing chip model, revision, clock speed and memory use
See what's going on inside the chip.

1. Pick a board

The firmware runs on either of these. Start with the C3 if you're unsure — it's tiny, cheap and has USB-C.

Recommended

ESP32-C3 SuperMini

Thumbnail-sized RISC-V board with WiFi and USB-C. Usually sold in multi-packs — handy for a class or a spare.

Buy on Amazon
Classic

ESP32 DevKit (WROOM-32)

The original ESP32 dev board. More GPIO pins, plenty of tutorials online. Look for a USB-C version if you can.

Buy on Amazon
Don't skip this

USB-C data cable

Lots of cheap cables are charge-only and won't flash the board. A proper data cable saves a lot of head-scratching.

Buy on Amazon

2. The basics

No soldering needed — everything pushes into a breadboard.

Essential

Mini breadboards

170-point minis, one per sensor, like the ones in the photos. Cheap in multi-packs of mixed colours. The C3 SuperMini fits with room to spare.

Buy on Amazon
Essential

Dupont jumper wires

Get a mixed pack — male-male, male-female and female-female. The sensor modules mostly need male-female.

Buy on Amazon
Digital & PWM output

LEDs & resistor kit

For the first "blink an LED" lesson and PWM dimming. An assortment with 220Ω resistors covers it.

Buy on Amazon
Digital input

Tactile push buttons

The simplest input there is. The firmware's internal pull-ups mean no extra resistors needed.

Buy on Amazon

3. Sensors — the easy way

One box, lots of sensors. A kit covers most of what the lab supports, and plenty more to explore.

An open AZ-Delivery 35 in 1 sensor kit box full of sensor modules
Best value

AZ-Delivery 35-in-1 sensor kit

A sorted box of ready-made sensor modules: temperature, light, sound, buttons, buzzers, LEDs and plenty more to try once you have the basics. Everything is labelled and plugs straight into a breadboard. Ideal for a classroom or a curious kid.

Buy on Amazon

Or buy sensors individually

Every one of these has a built-in wiring guide in the lab's Sensors tab.

Temperature + humidity

DHT11 module

The classic blue sensor. Get the 3-pin module version — it has the pull-up resistor already fitted.

Buy on Amazon
Waterproof temperature

DS18B20 probe

Stainless steel probe on a lead — drop it in a cup of tea, a fish tank or the garden soil. Needs one 4.7kΩ resistor.

Buy on Amazon
Ultrasonic distance

HC-SR04P

Bat-style sonar, 2cm–4m. Make sure it's the P version (3.3V-safe) — the plain HC-SR04 needs 5V.

Buy on Amazon
Motion detection

HC-SR501 PIR sensor

The white dome from burglar alarms. It spots body heat moving across the room. Power it from the 5V pin; its output is 3.3V-safe, so it wires up as a plain digital input.

Buy on Amazon
Turn count + direction

KY-040 rotary encoder

The click-wheel knob from every 3D printer and car stereo. Great for showing how direction is decoded.

Buy on Amazon
Analog input

10kΩ potentiometers

Turn a knob, watch the number change. The best introduction to analog-to-digital conversion.

Buy on Amazon
Analog input

LDR light sensors

Photoresistors — cover it with your hand and watch the reading drop. Pair with a 10kΩ resistor.

Buy on Amazon
PWM output

Passive buzzer

Make noise! A passive buzzer lets PWM play different tones — the active kind only beeps.

Buy on Amazon