Skip to content

iondrive2020/PianoLED

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Piano MIDI LED Controller

Summary

This is a ESP8266 based LED controller for key instruments. It can be used as a cool gadget when playing piano or as a piano learning tool when connected to Synthesia that can light up correct keys.

Demo

Piano MIDI LED Controller

Features

  • up to 2 selectable MIDI inputs
  • up to 176 RGB WS2812 LED (2 LED per key)
  • automatic standby mode (5 animations available in UI)
  • velocity based mode (color depend on key velocity)
  • 3 non velocity modes
  • special effect for Frozen
  • ripple effect
  • included web IDE for lua code
  • rboot for easy firmware upgrades using web IDE

Source code

NodeMCU ANSI C code is included in NodeMCU code .

Assembly

Requirements

ESP8266 module with qio and at least 4MB of flash.

Hardware

The MIDI inputs are compatible with TTL logic signal. To connect standard MIDI you will need to use circuit to create TTL signal (e.g. using optocoupler). 2 meters of 144 LED WS2812 strip almost perfectly matches standard piano keyboard, to make it match perfectly you can cut the strip into octaves (24 LEDs) and solder it using correct distance.

Firmware

  1. Download and flash firmware MIDI firmware
  2. Upload lua and supporting code from directory src/nodemcu/ see: https://nodemcu.readthedocs.io/en/master/en/upload/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 77.4%
  • Lua 21.4%
  • CSS 1.2%