Logo home 9

Over 10 years we helping companies reach their financial and branding goals. Onum is a values-driven SEO agency dedicated.

CONTACTS
Chip
ESP32-S3
Type
EdTech / Embedded
Storage
64 MB SPI Flash
Status
Delivered
Background

A Fully Offline Classroom Device — Quiz Distribution, Homework Transfer, and Real-Time Results on ESP32-S3 Without Internet or Cloud

This project delivered a self-contained embedded learning platform for classroom and home use, built entirely on an ESP32-S3 with no dependency on internet connectivity, cloud services, or external tablets. The system runs interactive UI screens loaded from a 64 MB external SPI flash chip, manages separate teacher and student device flows, distributes quizzes with images, collects and scores answers in real time, and transfers homework to student-side storage — all within the tight memory constraints of the ESP32-S3. The challenge was not just building the features: it was making a rich, multi-device educational workflow run reliably on hardware that costs a fraction of what traditional EdTech solutions demand, while remaining fully offline and privacy-compliant from day one.

Challenges

Key Project Challenges

1
UI Asset Storage Within ESP32-S3 Flash Limits
The internal flash of the ESP32-S3 was insufficient to hold the full UI binary alongside firmware. All UI page assets were offloaded to a W25Q512 64 MB external SPI flash chip, with a custom header and offset system to address and load individual pages on demand.
2
RAM Pressure During Page Rendering
Loading entire UI pages into RAM simultaneously was not possible within the ESP32-S3's memory budget. Dynamic buffer allocation was implemented so only the currently required page and its assets are resident in RAM at any given time, with safe teardown before the next page loads.
3
Multi-Device Classroom Coordination Without a Router
Managing quiz distribution, answer submission, and homework delivery across a classroom of student devices required an IP-based cluster management layer that operates entirely over local ESP-NOW communication — no internet router or cloud backend involved.
4
Large Binary Flashing Reliability
Programming the combined firmware and external flash UI binary reliably required a merge_bin workflow to handle large binary sizes without corruption, ensuring clean cold-boot behavior and flash integrity across repeated power cycles.

Project Details

CategoryEmbedded / EdTech / HMI
Client TypeEdTech / Smart Classroom
ChipESP32-S3 Mini
External FlashW25Q512 (64 MB SPI)
FrameworkESP-IDF + FreeRTOS
NetworkingESP-NOW / Local IP
OperationFully Offline
StatusDelivered

Need a Similar Device?

We build custom embedded HMI systems, offline IoT platforms, and EdTech hardware from the ground up. Let's talk.

Request a Free Quote →
Solutions

How We Built It

Our Approach

ESP-IDF + FreeRTOS Firmware with External SPI Flash UI Loader, Dynamic Page Buffering, IP-Based Cluster Manager, and Offline Quiz/Homework Workflows

The system was built on ESP-IDF with FreeRTOS running on a custom ESP32-S3 Mini PCB. UI binary pages are compiled and programmed into a W25Q512 64 MB external SPI flash chip using a merge_bin flashing workflow. At runtime, the firmware reads flash headers and page offset maps to locate the requested screen, loads only that page into a dynamically allocated RAM buffer, renders it to the SPI display, and tears down the buffer before the next page is requested — keeping RAM usage predictable and within budget at all times. A separate IP-based cluster manager handles teacher-to-student device communication over local ESP-NOW, coordinating quiz pushes, answer collection, real-time scoring, and homework file transfer without any internet connection or external infrastructure. The full system was validated through cold boot testing, flash corruption simulation, power-cycle stress testing, and 72-hour long-duration stability runs.

ESP32-S3 ESP-IDF FreeRTOS W25Q512 SPI Flash Dynamic UI Page Loader Flash Header + Offset Map ESP-NOW Networking IP-Based Cluster Manager Embedded HMI Memory Optimization Offline Operation C / C++
Benefits

Value Delivered

Rich UI on Constrained Hardware
By storing all UI assets in external SPI flash and loading pages dynamically into RAM, the system delivers a full interactive screen experience on an ESP32-S3 — a chip that would normally be considered too limited for HMI workloads.
Zero Internet Dependency
The entire classroom ecosystem — quiz distribution, answer submission, scoring, and homework delivery — operates over local ESP-NOW communication with no router, no cloud, and no internet connection required at any point.
Real-Time Quiz Scoring
Student answers are collected, evaluated, and scored in real time on the teacher console — giving instructors immediate visibility into class performance without waiting for manual grading or a backend sync.
Homework Distribution to Student Devices
The teacher console pushes homework files directly to student-side external storage over the local network, replacing paper handouts and eliminating the need for cloud file sharing or email in low-connectivity environments.
72-Hour Stability Validated
The firmware passed cold boot, flash corruption simulation, power-cycle stress testing, and 72-hour continuous operation testing — confirming it is stable enough for daily classroom deployment without babysitting or reboots.
Cost-Effective at Scale
The W25Q512 external flash expansion avoids the need for a more expensive processor class entirely — delivering a 64 MB UI asset store on commodity hardware, keeping per-unit cost low enough for wide classroom rollout.
Client Feedback

What the Client Said

"

We needed something that would work in schools where internet is unreliable or simply not available. The idea of running quizzes, collecting answers, and sending homework all from a small embedded device seemed ambitious, but the team made it work cleanly. Teachers push a quiz and results come back in real time — students don't need to do anything special. The fact that it all runs on relatively inexpensive hardware and passed 72 hours of continuous testing gave us the confidence to move forward with a larger classroom rollout.

Need a Similar Device?

We build custom embedded HMI systems, offline IoT platforms, and EdTech hardware tailored to your requirements.

Request a Free Quote →