Git Product home page Git Product logo

pianoled's Introduction

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/

pianoled's People

Contributors

pawel-sw avatar

Stargazers

Pratik Rane avatar Esteban Hirzfeld avatar  avatar  avatar Caladhiele avatar  avatar Drahoslav Bednář avatar Andri avatar Alexander Mordvinov avatar Akash avatar Aditya MS avatar Alexander Spitzmacher avatar Stanley avatar  avatar David Young avatar Shunta Iketaki avatar  avatar Tim avatar Peter Carrero avatar Wilson Sumanang avatar  avatar Dominik Wagner avatar  avatar Nuli Giarsyani avatar  avatar Pierre Andrews avatar Dmitriy Semenov avatar Nicolas Clerc avatar Joel Robert Justiawan avatar Joseph Nelson Valeros avatar Jeeheon Kim avatar Matt Le Deuf avatar  avatar Vadim avatar

Watchers

Peter Carrero avatar  avatar Jeeheon Kim avatar

pianoled's Issues

midi cable

hi.
my piano have usb midi interface, not 5 din midi like the picture below.

is it impossible to use this piano???

or is there any way to change 5din to usb in your scheme?
Screenshot_20191228-194029_Samsung Internet

Problem with flashing

Hello. I'm using NodeMCU, ESP-12E. Tried to flash firmware to 0x12000. Rboot easily starts, but it can't see ROM. I've tried to flash eagle.app.bin to 0x2000 (or 0x02000), what is described in readme of rboot sources, but it still do not work. What should I do with this for correct working?
image

J1 connection pinouts

What are the inputs to J1 (MIDI Inputs) on hardware schematic?

In the html.index code it has using Piano and Synthesia inputs selection. Is the raw midi input from digital piano by midi-out (5 din connector) and/or USB midi output from PC/laptop/tablet for Synthesia are used?

From what I can tell, serial USB and serial MIDI are two different format and baud rates. However, the schematic shows both pins of J2 (1,3) going into the opt-couplers, to shit the levels to TTL, then directly to the GPIO inputs on MC.

Can you please provide the pin outs and maybe a brief explanation of how the physical connections are laid out.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.