Light Bar Controller

by Nate  |  
June 11, 2008  |  

Checkout this compact LED light bar controller created by Adam Greig!

Sound is picked up by an electret mic, amplified with an opamp, and then ADC'd to an ATtiny microcontroller. The ATtiny in turn pulses a MOSFET to control the sink current to a LED array. A simple design implemented well.

Adam has posted the Eagle files as well as some stellar photos and a video of the box in action. If you've ever wondered how to do audio and LED control with a microcontroller, this is a great example project. Adam's got a great electronics related site as well so be sure to poke around.
Do we also mention we're completely enthralled he re-used his SparkFun box for a greater good? Nice job Adam!
 

Comments

9 comments


Log in to post comments.

by
Gussy's rank:
+21
|   June 11, 2008 at 3:14 PM
Comment rating:
+0.58
Damn, I have been ripped off, I never got any special Sparkfun printed boxed :(

Nice project, although the video is nowhere to be seen...
by Nate is a SparkFun employee
|   June 11, 2008 at 7:55 PM
Oh, you thought the 'video' link would actually take you to a video? Sorry. My bad. Fixed now.
by
Random's rank:
+3.5
|   June 11, 2008 at 3:31 PM
Comment rating:
+0.15
Video link seems to go to the project files, but the YouTube link is here: http://www.youtube.com/watch?v=6ihIaNN9UBY
It's in the blog post, too.
by
Zach's rank:
+9.3
|   June 11, 2008 at 4:28 PM
Comment rating:
–0.15
Nice barrage of SF components!
Is there a reason for 3 MOFSETs?
robodude666's rank:
+8.5
|   June 11, 2008 at 6:51 PM
Comment rating:
–0.15
Can never have enough MOSFETs! Very interesting, and simple design. Oh, speaking of which, how do you get a special Sparkfun red box???
by
jproach's rank:
+1
|   June 11, 2008 at 6:54 PM
Comment rating:
0
Theres only one mosfet, the other two are voltage regulators (5V mcu, 3.3V LEDs).
by
PSmith's rank:
+32
|   June 11, 2008 at 7:40 PM
Comment rating:
0
I've got several of those little red boxes. Just order a couple of small components. The last one I got held two LiPo cells and a tiny charger.
TheDonkey's rank:
+1.3
|   June 15, 2008 at 8:19 PM
Comment rating:
0
I was actually surprised when I got my sparkfun box, I ordered an LCD couple months ago and didn't get one.

But I just received my Arduino + USB cable couple days ago, and got a box.

I Shall now go on to mount my LCD into my Arduino box.(It just kinda floated around my desk before.)

Any chance I could get 10% off my next order for mounting a Sparkfun product in a Sparkfun branded box :)
unmanaged's rank:
+4.5
|   July 25, 2008 at 10:49 AM
Comment rating:
0
Hey do you have a DigiKey BOM (order) list?
Or any kind of BOM...?

Also what are the voltages your driving the LED's with...?

Feedback

What's on your mind?

Please include your email address if you'd like us to respond to a specific question.

submit


If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.