Close

Pacman Lamp with Arduino

This IKEA lamp is fitted with a RGB Led strip (Adafruit Neopixels) to display a ‘pacman’ pattern. The leds are first filled with white dots, which get eaten by a yellow pacman dot. Then, the pacman dot flees the scene, as four ghost dots are chasing him. Finally, pacman takes revenge by chasing the ghosts.
ghosts

IKEA lamp

Neopixels – test with 30 rgb leds

You can build this project yourself, using a basic Arduino UNO and a Neopixel Led strip. You can find the code on github and on codebender.
Just one thing: make sure you don’t use more power than your Arduino board can handle.

pacmanlamp diagram

Code