Blink to Browser
Status: Complete course. The sketches are compile-tested; nothing has been run on real hardware yet.
From blinking an LED to a live web dashboard served by an ESP32.
A beginner course that teaches the two halves of a connected gadget together: the small program on the microcontroller, and the web page you use to see and control it. You start with how a web page works, learn to make the ESP32 read sensors and join Wi-Fi, and finish with a password-protected dashboard that runs on the board itself and can be updated over the air.
Start learning Original course (placement test) Back to the Learning Database
- 12weeks
- 60daily lessons
- ~46 htotal study time
- 32question placement test
- 31sketches in the compile test
- 12weekly videos
Who It Is For
People starting from zero who want to build something real: a gadget that measures or controls something, with a page they can open on a phone. No earlier programming or electronics knowledge is assumed. A placement test of 32 questions suggests which week to start in, so someone who already knows some HTML can skip ahead.
How It Is Organised
Each week has five lessons, from 35 to 75 minutes each and mostly 40 to 60. Days one to four teach one idea each, and day five is a build that puts the week together. The course has live code editors, a parts list for all twelve weeks, and progress saved in your own browser.
- Weeks 1 and 2: HTML and CSS, the language of web pages.
- Weeks 3 and 4: the ESP32 and Arduino: sketches, electricity, buttons, Serial and analog signals.
- Weeks 5 and 6: JavaScript, and using it to change a page and talk to a server.
- Weeks 7 and 8: sensors, clean data and Wi-Fi.
- Weeks 9 and 10: the ESP32 as a web server, and a live dashboard.
- Weeks 11 and 12: settings that survive a reboot, files, Wi-Fi setup, passwords, updates and a capstone.
The Lessons
Open a week to see its five lessons and their length.
Week 1: HTML: what a web page is
- What a web page really is
- Text: headings, paragraphs and lists
- Links, images and file paths
- The page skeleton and semantic layout
- Build: your “About my lab” page
Week 2: CSS: making it look right
- CSS basics: selectors and properties
- The box model
- Layout with flexbox
- Responsive design and CSS variables
- Build: style your lab page as a dashboard
Week 3: First ESP32 sketches
- Microcontrollers and your first upload
- Anatomy of a sketch
- Just enough electricity
- Loops, functions and non-blocking timing
- Build: a traffic light
Week 4: Serial, buttons and analog
- Talking to your computer with Serial
- Buttons and pull-up resistors
- Clean presses: edges and debouncing
- Analog in, PWM out
- Build: a dimmer lamp with a status report
Week 5: JavaScript basics
- Your first JavaScript
- Operators and decisions
- Functions
- Arrays, objects and loops
- Build: a readings analyzer
Week 6: The DOM, events and fetch
- The DOM: changing the page from code
- Events: buttons, sliders and forms
- Building elements from data
- JSON, fetch and async code
- Build: a live dashboard (simulated)
Week 7: Sensors and clean data
- Libraries: standing on other people's code
- The I²C bus
- Reading temperature, humidity and pressure
- Clean data: structs, smoothing and JSON
- Build: an environment logger
Week 8: Wi-Fi and HTTP
- How your devices find each other
- Connecting to Wi-Fi
- A name and a clock
- Being an HTTP client
- Build: a Wi-Fi weather node
Week 9: The ESP32 as a web server
- Hello from your ESP32
- Routes that control hardware
- Dynamic pages
- A JSON API and a JavaScript front end
- Build: a phone remote for your traffic light
Week 10: A live dashboard
- A readings API
- The live dashboard, for real
- History and a chart
- Push updates with WebSockets
- Build: the live weather dashboard
Week 11: Settings, files and Wi-Fi setup
- Sliders that drive hardware
- Settings that survive a reboot
- Real files with LittleFS
- Wi-Fi setup without hard-coding
- Build: a smart fan controller
Week 12: Capstone: security, updates, reliability
- Plan your capstone
- Lock the door: passwords
- Over-the-air updates
- Make it reliable
- Build: ship your capstone
What You Need
- A computer with a web browser and the free Arduino IDE.
- An ESP32 board and basic electronics parts such as an LED, resistors and a button, plus a temperature, humidity and pressure sensor in week 7. The full kit list for all twelve weeks is in the course, under Parts.
- Wi-Fi at home for weeks 8 to 12.
How Well It Has Been Checked
In a compile test on 30 October 2026, the sketches were built for an ESP32 Dev Module with the Arduino command-line tool and the Espressif ESP32 package, version 3.3.2. All 21 complete lesson sketches and 10 combined sketches built with no warnings in the sketch code. The largest, the week 11 and 12 capstone, uses about 89% of the board's program memory and still leaves room for over-the-air updates. A problem with the week 10 WebSocket code was found in that test and fixed in the lesson.
The course folder now holds more sketch files than that test covered, so lessons edited after 30 October may not have been compiled again.
What was not tested: nothing has been run on a real ESP32 board, and the Arduino Uno versions of the lessons were not compiled. Wiring, sensor readings and Wi-Fi behaviour are therefore unverified. If something does not work on your board, that is useful to know, and we would like to hear it on the Comments page.
Using the Course
- Learn step by step. The learning interface works like an online classroom: 12 units, 60 lessons, a few practice questions after each lesson, and a mastery score that grows as you answer correctly on the first try. Live code editors let you try HTML, CSS and JavaScript on the page.
- Or use the original course. It has a 32-question placement test, a parts list and the same lessons in a single page. It runs in your browser with no sign-in.
- Your progress is saved in your own browser only, so a different browser or device starts fresh.
- The AI tutor and saving across devices belong to the online version of the course and do not work in the copy on this site.
- The videos and sketch files are part of the full course folder and are not hosted on this site.
Start learning Original course
The lessons and sketches have been checked by compiling, not by running them on hardware, and may contain mistakes. Details may change.