All paths

Build a smart home hub

A web dashboard on an ESP32-C3 that switches relays, reads sensors and runs schedules from a clock.

ESP32-C3-DevKitM-1Free3 lessons3 h2 chapters848 XPMaker · Advanced+250 XP

0 of 3 done

Start the course freeA dashboard that switches real thingsLesson plan for teachers
What you will build

One project, built step by step

3 lessons in 2 chapters, about 3 hours on a simulated ESP32-C3-DevKitM-1. Free, in your browser, every step checked by the simulator.

Chapter 2 project

Schedules and a status screen

Finish the hub: a DS3231 clock that turns the porch light on at dusk and off at bedtime, and an LCD that shows the time, the climate and every switch.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Control

Serve a dashboard and switch real loads through relays and PWM.

  1. Open212 XP

    A dashboard that switches real things

    Serve a web page from the ESP32-C3 and use it to switch a lamp and a fan through relays, and to dim a porch light. Why a relay, and why it is wired the way it is.

    0 of 4 steps

Chapter 2

Automation

Let sensors, then a clock, decide when things switch.

  1. Locked212 XP

    Sensors and automatic modes

    Add a DHT22 and a motion sensor, and give each switch an auto mode: the fan follows the temperature and the lamp waits for someone to walk by.

    0 of 4 steps

  2. ProjectLocked424 XP

    Schedules and a status screen

    Finish the hub: a DS3231 clock that turns the porch light on at dusk and off at bedtime, and an LCD that shows the time, the climate and every switch.

    0 of 4 steps

Syllabus

Every lesson in the course

All 3 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Control

  1. A dashboard that switches real thingsServe a web page from the ESP32-C3 and use it to switch a lamp and a fan through relays, and to dim a porch light. Why a relay, and why it is wired the way it is.
Chapter 2

Automation

  1. Sensors and automatic modesAdd a DHT22 and a motion sensor, and give each switch an auto mode: the fan follows the temperature and the lamp waits for someone to walk by.
  2. Schedules and a status screenFinish the hub: a DS3231 clock that turns the porch light on at dusk and off at bedtime, and an LCD that shows the time, the climate and every switch.
Keep going

The next course on your track

Build a smart home hub is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a solar tracker

Light sensors and servos aim a panel, an INA219 measures it, and a fair experiment compares tracked with fixed.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a smart home hub

Is Build a smart home hub free?

Yes. All 3 lessons of Build a smart home hub are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real ESP32-C3-DevKitM-1?

No. Every lesson runs on a simulated ESP32-C3-DevKitM-1 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a smart home hub take?

About 3 hours: 3 lessons in 2 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Schedules and a status screen.

Where do I start?

With "A dashboard that switches real things", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.