The LED Hexapad is, at its heart, a MIDI controller, but specced up with 324 individually controlled RGB LEDs. This means the pads are dynamic, reacting in real time to your touch, while also sending MIDI signals to your computer to play, say a virtual drum machine, or a virtual piano.
The project has 2 microcontrollers: One to handle the touch responses, and one to handle the precarious task of handling 300+ neopixels. We've used a teensy LC for the former. Be sure to have installed the teensy loader first. To set it up:
- Load midiTouchTeensy.ino
- In the arduino IDE, select Tools > USB type > "Serial + MIDI"
- Upload.
An UNO handles 6 separate strips of neopixels - one in each hexagon. Only one Adafruit_NeoPixel object is instantiated though, and different strips are handled using Adafruit_Neopixel.setPin() method. The strip is arranged concentrically inside each hexagon.
To set it up:
- Load ledSlaveUNO.ino
- Upload.