Giter VIP home page Giter VIP logo

midiled's Introduction

midiLED

Control WS2812B LED Strips with Teensy from Ableton Live!

Installation

Requirements:

Software:

Hardware:

  • Any teensy with MIDI support (for example Teensy LC)
  • WS2812B 5V LED Strip
  • Power supply (if long enough LED Strip is used) More details Here

Compiling & Flashing

Before proceeding Install all required software (listed above)

Open Arduino IDE and follow these steps:

1. Download & Open the midiLED.ino

2. Set board type to your teensy target (as shown below)

3. Set USB Type to MIDI in Tools --> USB Type: --> MIDI

4. Set Optimize option in Tools --> Optimize to Fastest

5. In code, set the number of LEDs you're using in line 3, and set the PIN your LED strip is connected to in line 4.
Adjust other options if necessary (not recommended)

6. Set the port the Teensy is connected in Tools --> Port. Tip: Port COM1 is normally not valid. The correct port will be marked with your microcontroller name

7. Build and upload by clicking the button (shown below)

Common issues

LEDs are getting stuck/don't turn off

Play with the rDelay variable in the code, slightly decrease it (by 20 or 30) or increase it. Might fix the issue. Larger, more powerful teensy might potentially solve the issue as well

No output

Make sure the PIN in the code is set to the actual PIN that your leds are connected. Also, the LED strip MUST be WS2812B, other LED strips will NOT work. Make sure you're actually sending some MIDI to the Teensy Double-check the polarity of the LED strip, and that you've connected the signal wire to DIN/DI (Digital In) on the LED Strip, not the DO (Digital Output)

midiled's People

Contributors

yarosmallorca avatar

Stargazers

 avatar

Watchers

 avatar

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.