Kids OK with adultESP32Level 3/3
512 LEDs in a Cube You Can Draw On in 3D
An 8×8×8 cube of addressable RGB LEDs. One ESP32 drives all 512 from a single data wire and draws waves, rain, spheres and a beating heart in 3D.
Sign in to save
Kids OK, with an adult
DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.
An adult handles the soldering iron and the mains-powered 5 V supply. 512 LEDs can draw a lot of current, so use a 5 V supply rated 10 A or more and keep the brightness capped.
Strictly follow the description given with this video.
Video
How it works
- The 512 LEDs are chained one after another, so a single data line reaches every one.
- Each LED has an X, Y and Z position; the code turns that position into its place in the chain.
- The ESP32 data goes through a 3.3 V→5 V level shifter and a 330 Ω resistor into the cube, with a 1000 µF capacitor across the 5 V supply.
- Patterns are just maths in 3D: a sine wave, falling drops, a growing sphere, a spiral and a heart.
Parts you need
Wiring
PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | ESP32 GPIO5 | Level shifter A (LV side) |
| 2 Signal | Level shifter B (HV side) | 330 Ω → cube DIN |
| 3 Power | ESP32 3V3 | Level shifter LV |
| 4 Power | 5 V supply | Cube +5V, level shifter HV, ESP32 VIN |
| 5 Power | 1000 µF capacitor | Across 5 V and GND |
| 6 Ground | All grounds | Common GND |
3D print files
This project has no 3D-printed parts.