Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
June 16, 2017
Tutorial - Interactive LED Music Visualizer
about 2 years ago
Hello, Thanks for a wonderful tutorial! This really sparked my interest into doing some DIY electronics as i was looking to do this very thing with some LED strips i aquired. I couldn't fine any premade products that would do this for DotStar LEDS, so i dove in to your tutorial and making something from scratch.
The more i dove in to it, the more tweaks i wanted to make. I ended up duplicating your entire setup, and porting the program over from using NeoPixels over to DotStars (which wasn't too difficult). However i wanted to use a direct music feed instead of a mic, so i ended up crawling the internet until i found another tutorial ( https://www.instructables.com/id/Arduino-Audio-Input/ ) on how to do this. I duplicated this, however i didnt want to use batteries, nor use two power supplies so i ended up digging around and finding a tutorial and diagram on how to create a dual rail power supply from a single source. But of coarse it needed to have a higher voltage than the rest of the LED circuit, so i had to figure out how to make a DC-DC boost converter.
I had breadboards set up all over the place. It was starting to become a fire hazard. After i verified that things were mostly working i decided that i needed to probably solder everything together on a board. Naturally that meant that i had to learn how to use Eagle to design everything up. Thankfully i have access to a PCB milling machine, so after 1 failed board i made necessary adjustments and milled a second, which still had some things quirky about it but it worked... WAY better than it did with the bread boards. I hop on here and get ready to thank you for your wonderful tutorial and low and behold i discovered that sparkfun already has nearly everything that i built from scratch over the coarse of a month from components our Electrical Engineering department was throwing away.
That being said, I do have 1 problem that i am running into. It seems like the number of LEDs i address directly affects the performance of the Arduino. I start noticing a decent amount of slowdown at higher numbers, almost like the frame rate is too slow. Also at some point between 200 and 250 LEDs the program just doesn't even try to compute. Im planning on using 5M strips under tables at an event im hosting, but they are 300 LEDs. Is there something in your code that needs to be changed to allow for that high of a number? Otherwise i'll have to cut my strips in half and just duplicate the signals again, which isn't a huge deal, i just dont want to have to run that much extra cable. Any suggestions you have for speeding it up at higher LED Counts and how to get it to compute at 200+ LED numbers would be greatly appreciated.
Items for the June 30th 2017 Afterlife LAN
Forgot your password?
No account? Register one!