SonicGlowCube: Microcontroller-Based 8x8x8 LED Cube
SonicGlowCube is an interactive embedded systems project combining precision electronics and web connectivity. The hardware consists of an 8×8×8 LED cube (512 individual LEDs) multiplexed through shift registers and transistors. An Arduino Mega 2560 executes high-frequency layer multiplexing in C++, while a NodeMCU (ESP8266) provides Wi-Fi connectivity to receive commands from a dedicated React web interface.
Problem & Motivation
Controlling 512 individual LEDs in a 3D volumetric matrix requires high-speed refresh rates without visible flicker, while enabling seamless wireless user control without overloading the real-time display controller.
The Solution & Architecture
Separated concerns by decoupling the high-frequency display multiplexing (handled by Arduino Mega 2560 via hardware timers) from the wireless networking and API layer (handled by NodeMCU ESP8266), interconnected via UART serial protocol and driven by a React web app.
Key System Features
- 512 Volumetric LEDs: 8×8×8 physical matrix structure engineered with layer-by-layer multiplexing.
- Dual-Microcontroller Architecture: Dedicated Arduino Mega 2560 for rendering and NodeMCU (ESP8266) for wireless networking.
- Real-Time Wireless Control: Web dashboard over Wi-Fi/HTTP for live pattern selection and text rendering.
- Dynamic 3D Animations: Custom algorithms for spatial ripples, rotational helixes, rain effects, and marquee text.
- Embedded C/C++ Firmware: Optimized buffer manipulation and timer-based multiplexing to eliminate visual flicker.
My Role & Key Contributions
- 1Constructed and soldered the physical 8×8×8 volumetric LED cube matrix (512 LEDs) with multiplexed layer planes.
- 2Programmed high-frequency multiplexing, timer interrupts, and 3D spatial rendering algorithms on Arduino Mega 2560 in C++.
- 3Configured NodeMCU (ESP8266) to host embedded HTTPClient servers and relay commands to the Arduino via UART serial communication.
- 4Built an intuitive React web dashboard allowing users to input live text, adjust animation speeds, and trigger custom visual presets wirelessly.
Result & Outcome
Successfully built a fully operational 8x8x8 LED cube capable of smooth 3D animations and wireless text displays triggered in real-time from any web browser.
Technologies & Tools
Project Summary
- Category
- Hardware & IoT
- Role
- Embedded Systems & Firmware Developer
- Status
- Completed