I built this 4x4x4 NeoPixel LED cube on an Arduino Uno as an academic engineering project. It runs four animated lighting patterns, adapts its brightness to ambient light through an LDR sensor and responds to two physical buttons for power and pattern control.
Click the video below to watch the full demo.
neopixel-description.mp4
- Build the wiring setup described in hardware/README.md.
- Install Adafruit NeoPixel in Arduino IDE through Library Manager.
- Open software/neopixel_cube/neopixel_cube.ino.
- Select Arduino Uno and the correct COM port.
- Upload and open Serial Monitor at 9600 baud.
- 64 addressable WS2812B LEDs in a 4x4x4 layout
- Four built-in animations: Colour Wipe, Smooth RGB Fade, Fire Effect and Rainbow Cycle
- Auto brightness mapping with an LDR sensor
- Real-time serial debug output
- Power and mode controls through physical buttons
📖 Documentation • ❓ FAQ • 🔧 Hardware Guide • 💻 Software Guide • 🖼️ Gallery • 🤝 Contributing
| Item | Tested Value |
|---|---|
| Arduino IDE | 2.x |
| Board | Arduino Uno (ATmega328P) |
| LED Type | WS2812B |
| LED Count | 64 |
| Supply Used During Demo | 5V DC, 2A+ |
| Serial Baud | 9600 |
If you have questions, I encourage you to open an issue in this repository first. You can also reach me directly at eng@isaacadjei.me.