How To Build a Piano LED Light Strip with Raspberry Pi

Raspberry Pi Piano LEDs
(Image credit: Tom's Hardware)

I often see piano tutorial videos on YouTube where lights appear to illuminate the players’ hands right as they play the keys. Using the power of a MIDI, a Raspberry Pi, and some programmable LEDs, I wanted to see if I could turn my piano into something similar. If you dabble in technology as much as you do music - here’s how to build a LED strip for your piano that lights up as you play it. 

What You’ll Need For This Project

Ryder Damen
Freelance Writer

Ryder Damer is a Freelance Writer for Tom's Hardware US covering Raspberry Pi projects and tutorials.

  • boultoa
    This looks like a lovely project, thank you. I've always found it frustrating when people demonstrate chords on the piano and I'm unable to clearly see which keys they are showing, so this nicely solves that. Also, it may be possible to create a program that could post-process video footage and partially recover the MIDI!

    Anyhoo, I have a couple of questions:
    - which LED strip type did you use (Neopixel, DotStar, other)? (I read that some cannot work with the RPi because of timing instability)
    - what density did you find works for you (e.g. LEDs/metre = 30, 60, 144, other)?
    - what power adapter did you use?
    - did you measure the current or power consumption in use? What was it?

    Thanks again for sharing this cool idea.
    Reply