×

SparkFun will be closed on Tuesday, December 24th, and Wednesday, December 25th, in observance of the Christmas holiday. Any orders qualifying for same day shipping placed after 2:00 p.m. (MST) on Monday, December 23rd, will be processed on Thursday, December 26th, when we return to regular business hours. Wishing you a safe and happy holiday from all of us at SparkFun!

Please note - we will not be available for Local Pick up orders from December 24th-December 27th. If you place an order for Local Pick-Up we will have those ready on Monday, December 30th.

Light Bar Controller

Adam creates a light bar controller inside a SparkFun box.

Favorited Favorite 0
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!

Interested in learning more about LEDs?

See our LED page for everything you need to know to start using these components in your project.

Take me there!


Comments 10 comments

  • Gussy / about 17 years ago / 3

    Damn, I have been ripped off, I never got any special Sparkfun printed boxed :(
    Nice project, although the video is nowhere to be seen...

    • Oh, you thought the 'video' link would actually take you to a video? Sorry. My bad. Fixed now.

  • robodude666 / about 17 years ago / 2

    Can never have enough MOSFETs! Very interesting, and simple design. Oh, speaking of which, how do you get a special Sparkfun red box???

  • Zach / about 17 years ago / 2

    Nice barrage of SF components!
    Is there a reason for 3 MOFSETs?

  • Random / about 17 years ago / 2

    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.

  • unmanaged / about 16 years ago / 1

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

  • TheDonkey / about 17 years ago / 1

    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 :)

  • PSmith / about 17 years ago / 1

    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.

  • jproach / about 17 years ago / 1

    Theres only one mosfet, the other two are voltage regulators (5V mcu, 3.3V LEDs).

Related Posts

Recent Posts

Tags


All Tags