Pages: [1]   Go Down
Author Topic: Arduino Flashing LED's - URGENT NEED HELP  (Read 684 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 135
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: