TILT!Audio controls rgb led rings

With the new lua scripting support you can do “magic things” like control rgb led rings with the sound your machine is playing. Don’t believe it, just watch the video:

How does it work?

There’s 5 pieces you need to plug together:

  1. An arduino mini pro (5V 16Mhz) that controls the leds rings.
  2. Some leds rings (or other 2812 based rgb led strips from alibaba.com)
  3. TILT!Audio board 2.5f or newer that exposes the i2c bus.
  4. init.lua script on the tilt audio sd card for some convinience
  5. Arduino sketch to control the leds.

The sketch and the lua snippet can be found on github: https://github.com/sker65/tiltaudio-extensions

In order to program the arduino mini you need an FTDI usb to serial adapter (best is switchable between 3V3 and 5V). Arduino IDE to compile should be easy to manage, just ask goole there’s a lot of tutorials about that.

Then connect the led rings data pin is pin 4 (but this is configurable in the sketch).

Finally connect the i2c wires SDA, SLC (its a4/a5 on the arduino mini) plus GND and 5V from TILT!Audio board to the Arduino and you ready to play.

Be careful with the power consumption of the leds in my example its already 32 leds with 32*3*20mA = 1,9A when all are bright white. This would of course be already to much for the 5V output on the TILT!Audio board.

So if you add extra light in your pinball game, also add an extra power supply.

This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *