Wearable LED Project: Scrolling Text, Music Reactive Fedora

Status
Not open for further replies.

Matt G

Member
This is my first wearable project, and after 2 fried teensys and 240 fried LEDs later (power issues :rolleyes:). Its completed.

https://www.youtube.com/watch?v=-mKnxooADio

The hat features a 24x5 LED matrix powered by OctoWS2811 with the Teensy Adapter board.

It has 1 teensy 3.1 at 96 MHz, running a 256 point FFT on a microphone input at a 12000Hz sample rate (meaning half is measurable, without doing funky imaginary number calculations which I still don't understand) but can easily be pushed to 16000, or even 20000 without an issue and it also scrolls text :) thanks to http://orchardelica.com/wp/octows2811-scrolling-text-full-code (thank you wozzy for pointing me to this!)

The project also includes a vest, (everything was part of a suit) which is sitting under the hat in the video.

Everything runs on a 3 cell lipo through a regulator to 3.8 volts.

More information for those who ask! (I am not great at describing things, but I am good at answering questions)

I plan to add a bluetooth module so I can control everything from my Android phone. Also, I want to add capacitive buttons for alternative input. But that's later

(pictures of the inside to come, just got to get around to it...)
 
Last edited:
Hot stuff!

I wanna make my vest interactive...it currently just plays pre rendered data from an SD file.
www.ominal.com/ledvest.html

Would love some audio action...Any chance of some source?

All the audio processing is done by the teensy it self.

This is a great place to start: https://learn.adafruit.com/fft-fun-with-fourier-transforms/overview-1

The example code here is for the Adafruit neopixel library (lots of interrupts used). The example at Adafruit includes a python serial communication example where the analyzed sample is piped out to your computer to view.

The code running my Fedora is a moderately modified version of Adafruit's version. All I have added/changed is the LED library dependence, changed some methods look/slimmed them down, and added custom display methods so I can display the audio sample so different ways on the LED matrix.

Reply back if you are still looking for some help! :D
 
Mate! That's just was I was looking for.

I am also using Neopixel to drive it.

I have an unusual shape of lights, so I didn't use the Octo library, I just bang them out in serial.

Probably should install a logic level converter...but it works ok at 400mhz without it.
 
Status
Not open for further replies.
Back
Top