Hardware & IoTEmbedded Systems & Firmware DeveloperFeatured Project

SonicGlowCube – Microcontroller-Based Application

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) hosts an asynchronous web server to process user inputs over Wi-Fi without interrupting the Arduino's display loop. Efficient algorithms dynamically translate user-submitted strings and 3D coordinate patterns into smooth, continuous light animations.

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 interrupting the real-time display loop.

The Solution & Architecture

Decoupled display multiplexing (handled by Arduino Mega 2560 via hardware timers) from the wireless networking and web server layer (handled by NodeMCU ESP8266 as an asynchronous web server), 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.
  • Asynchronous Web Server: Wi-Fi web interface that processes user inputs in real-time without disrupting the display loop.
  • Dynamic 3D Light Patterns: Custom algorithms for spatial ripples, rotational helixes, rain effects, and marquee text.
  • Published Technical Article: Published engineering case study on Medium: 'Designing the 8x8x8 LED Cube – How I Controlled 512 LEDs with the Multiplexing Concept'.

My Role & Key Contributions

  • 1Physical Construction & Multiplexing: Constructed and soldered the physical 8×8×8 volumetric LED cube matrix (512 LEDs) with multiplexed layer planes.
  • 2Asynchronous Web Server: Implemented a responsive, asynchronous web server on the ESP8266 to process user inputs over Wi-Fi without interrupting the Arduino's display loop.
  • 3Animation Algorithms: Designed efficient algorithms to dynamically translate user-submitted strings and 3D coordinate patterns into smooth, continuous light animations.
  • 4Dual-Microcontroller Communication: Programmed high-frequency multiplexing on Arduino Mega 2560 and established UART serial communication with the NodeMCU (ESP8266).

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, documented in a published Medium engineering guide.

Technologies & Tools

React JSNode JSArduino Mega 2560ESP8266 (NodeMCU)HTTPClientEmbedded C/C++Electronics Multiplexing

Project Summary

Timeline
2024 Dec - Aug 2025
Type
Group Project
Category
Hardware & IoT
Role
Embedded Systems & Firmware Developer
Status
Active / Completed