Go Down

Topic: Arduino Flashing LED's - URGENT NEED HELP (Read 695 times) previous topic - next topic

willhew

Hi there,

I am using 3 freetronics shift register expansion modules to try and run 24 LED's that flash on and off to the beat of music. I have little programming experience and have a week before handing this in. Can someone please help me to do the programming? I have been trying to program with little success.

Thanks Will

James C4S


Can someone please help me to do the programming?

Help, or do it all?  Post what you have tried so far, explain what you expected to happened, and what actually happened.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

winner10920

Id suggest getting a msgeq7 for splitting the audio into channels, then just mapping that to your leds,
id suggest using spi with those shift registers to keep it changing as fast as possible to make it look good

xolroc

I don't believe you'd need an arduino at all for this, let alone your shift registers.  You could use a voltage divider setup with a bunch of comparators, each one's output driving one LED, which would give you a rudimentary volume display--more LEDs lit means higher volume.  Just put them in a line like a bar graph!

willhew

Hi there, I will upload a diagram of the led placement and wiring soon, what I want to happen is have the outer ones change with the volume, and the inner ones flash randomly.

Thanks,

Will

Go Up