PianoLED - Light up the notes as you play
This is a PCB that connects all of the needed components to make a working piano LED display.
All of the details can be found here: https://github.com/nicolasdeory/PianoLED
README.MD:
PianoLED
Control an LED strip with MIDI messages on an Arduino.
This Arduino sketch takes MIDI messages from the serial port, and maps them to individual LEDs in the strip, so a MIDI ON message effectively turns on an LED, and MIDI OFF fades it out.
There are implementations for 7 lighting modes.
Configuration
The sketch needs the following:
- A MIDI cable connected to pin RX0 via optoisolator circuit
- A 2-pin button connected to pin 5 and ground (INPUT_PULLDOWN)
- A potentiometer connected to pin A5
- An optional info LED to pin 13
- An LED Strip supported by the FastLED library.
- A piano or anything that generates MIDI data
Customizable parameters:
- The LED strip model, color order and number of LEDs can be configured at the top of the file (default is a strip of 74 WS2812B LEDs, color order GRB, suitable for a regular 8-octave digital piano.
- Note fade out duration, sustain pedal strength
- Color HSV values, palettes (right now there are 6 palettes that can be navigated through with the potentiometer)
- New modes can be added fairly easily.
Usage
Use the button to toggle between 6 modes:
- Mode 0: Off
- Mode 1: Passive (cycle between different LED animations, e.g. rainbow, trail, sparkles)
- Mode 2: Basic (notes light up with a fixed color - potentiometer changes hue)
- Mode 3: Alternate Basic (same as mode 2, but with less saturated colors)
- Mode 4: Palette (color depends on the note pitch, follows a gradient pattern - potentiometer navigates through 6 palettes)
- Mode 5: Velocity Palette (same as mode 4, but color depends on how hard the key is pressed - 2 palettes)
- Mode 6: Hue Cycle (notes light up with a fixed color that changes over time)
- Mode 7: Reverb (when a note is played, surrounding LEDs light up like a droplet)
Enjoy!
PianoLED - Light up the notes as you play
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(3)
- rosegoldgryffith Dec 11,2023
- DrkZ May 27,2023
- farbo g Jan 10,2020
- 2 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
6design
-
6usability
-
7creativity
-
8content
-
1design
-
2usability
-
1creativity
-
10content
More by Nicolás de Ory y Louro
-
Atomic Force Microscope - electronic part
65 0 0 -
-
-
DIY Fiber Laser Tube Cutting Machine
136 0 1 -
-
-
DIY Transistor Tester | Build Your Own LCR Meter at Home with Arduino Nano
299 0 3 -