ESP32 Embedded Real-Time Web Telemetry Server
Host a responsive HTML5 dashboard directly inside ESP32 flash memory with asynchronous WebSockets for live sensor charts.

Project Overview & Working Principle
Eliminate cloud dependencies by hosting an asynchronous web server entirely on embedded silicon. Students store HTML, CSS, and Chart.js code in SPIFFS flash, serve web pages over local Wi-Fi, and broadcast bi-directional real-time telemetry over WebSockets at 20 updates per second.
Engineering Concepts Explored
Bill of Materials & Components
Verify you have all parts before starting. Official ROBOCADIA modules link directly to authentic hardware specifications.
ESP32 dual-core controller module with 4MB SPIFFS flash.
Used for potentiometers, RGB LEDs, and live analog inputs.
Analog test input controls for steering and speed telemetry.
Required Workbench Tools & Software
Step-by-Step Build & Firmware Guide
Follow each phase in chronological sequence to assemble mechanics, wire sensors, and deploy firmware.
SPIFFS Flash File System Setup
Partition the ESP32 flash memory to allocate 1.5MB for the SPIFFS file system. Upload index.html, styles.css, and chart.min.js onto the board using the file system uploader tool.
- Minifying CSS and JavaScript files reduces memory usage and speeds up client load times.
Asynchronous Web Server & WebSocket Daemon
Initialize ESPAsyncWebServer on port 80. Attach an AsyncWebSocket listener on /ws to handle connection events and stream serialized JSON sensor packets.
- Avoid doing heavy blocking math inside the WebSocket event callback.
Frontend Real-Time Chart Integration
Open the rover IP address in any smartphone or desktop browser. The web client establishes a WebSocket connection and draws live rolling graphs of sensor telemetry without page reloads.
- Limit the chart history array to 50 data points to prevent browser memory bloat.
Project Summary

ANT Discovery Autonomous Rover
Four-wheel drive educational rover equipped with ultrasonic scanning, line sensors, and onboard Wi-Fi telemetry.
- Dual-core ESP32 with Wi-Fi & BLE
- Ultrasonic obstacle avoidance turret
Demystify microcontrollers: direct register manipulation, hardware timers, DMA buffers, and FreeRTOS multitasking.
View CurriculumGet pre-sorted classroom packs with teacher guides, spare components, and structured student worksheets.
Configure Classroom Lab