Author Topic: [Idea sharing] Audio Controlled LEDs  (Read 5205 times)

0 Members and 1 Guest are viewing this topic.

Offline krd777Topic starter

  • Contributor
  • Posts: 33
[Idea sharing] Audio Controlled LEDs
« on: July 20, 2010, 08:26:35 pm »
Hi everyone!

One of these days a friend showed me a video in Youtube about a circuit that would process an audio signal and light 3 LEDs. But those LEDs would be controlled by frequency. One for low frequencies, another for middle frequencies and the last for high frequencies. And since the video author wasn't giving out any schematics, he asked me if I could do it. So I did a sketch today and will try to get it working tomorrow. Since someone might want this too, I thought sharing would be cool! So here it is, and sorry it is written by hand, but didn't feel like using the pc just for sketching. I didn't give values to components because I haven't decided it myself. But I'll post here the final circuit after it is done and working.

Any suggestions and/or critics are very welcome!
 

Offline migsantiago

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: 00
    • MigSantiago's Web Site
Re: [Idea sharing] Audio Controlled LEDs
« Reply #1 on: July 20, 2010, 08:53:15 pm »
Hello, that's called an audio spectrum analyzer. You can build one by sampling the audio signal and applying an FFT. Every frequency component can have an LED bar that shows its magnitude.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: [Idea sharing] Audio Controlled LEDs
« Reply #2 on: July 20, 2010, 11:09:09 pm »
It's called a colour organ, you need three filters which each have different pass bands and a peek detector so the sensitivity shouldn't need to be adjusted because the music volume changes.
 

Offline krd777Topic starter

  • Contributor
  • Posts: 33
Re: [Idea sharing] Audio Controlled LEDs
« Reply #3 on: July 21, 2010, 01:04:48 am »
It's called a colour organ, you need three filters which each have different pass bands and a peek detector so the sensitivity shouldn't need to be adjusted because the music volume changes.

Ah ah! Yes! I'm going to do it with UV LEDs, gives a nice effect with fluorescent tint as seen in the video! I've already done the filters in the schematics I attached. Will just decide tomorrow which frequencies I'll pick up in which of the LEDs. And it's true, I haven't used a peek detector! I'll search how it works and I'll add it before the OpAmp!

Thanks for the idea Hero999!
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: [Idea sharing] Audio Controlled LEDs
« Reply #4 on: July 21, 2010, 03:38:45 pm »
Oh yes, I didn't look at your schematic properly, I missed the filters.


Single pole filters probably won't be good enough for what you want, you might want a filter with a sharper cut-off.
 

Offline krd777Topic starter

  • Contributor
  • Posts: 33
Re: [Idea sharing] Audio Controlled LEDs
« Reply #5 on: July 21, 2010, 10:20:35 pm »
Oh yes, I didn't look at your schematic properly, I missed the filters.


Single pole filters probably won't be good enough for what you want, you might want a filter with a sharper cut-off.

Hey there Hero999! 

I thought so xD

I've just done it and it is working properly but yes, sharper filters would be better.  It is working right now but needed a bit of tweaking because it wasn't being consistent with the calculations I've done (the filter's cut-off frequencies I mean). I shall post the final schematic I have at the moment tomorrow, and then change the filters with better ones as you suggested!

Won't post a video of it working right now because it's already late to turn the volume up xD But will do tomorrow. Also couldn't buy UV LEDSs because they sold out, so are only available in September. Will search for them in another city tomorrow too!

 

Offline krd777Topic starter

  • Contributor
  • Posts: 33
Re: [Idea sharing] Audio Controlled LEDs
« Reply #6 on: August 05, 2010, 03:03:03 pm »
Hi again everyone!

Here is the video of the circuit working!

 

Offline MTron

  • Regular Contributor
  • *
  • Posts: 68
  • General hobbyist - modding, electronics, audio
Re: [Idea sharing] Audio Controlled LEDs
« Reply #7 on: August 05, 2010, 04:49:43 pm »
very cool!...you should amp up the design- use a couple more LED's and put it in a cool enclosure
Your friendly neighborhood.....Dental Student
 - Latest Project - SIPP EL84 Tube Amp
 - Computer building/modding, IT, and DIY electronics!
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: [Idea sharing] Audio Controlled LEDs
« Reply #8 on: August 05, 2010, 06:02:16 pm »
Good, you got it working.

The video could be better though, the camera isn't on the LEDs half of the time.


I think it would look better if the LEDs were different colours and I agree that more LEDs would be good too.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: [Idea sharing] Audio Controlled LEDs
« Reply #9 on: August 05, 2010, 06:13:25 pm »
I think you need to make each channel less sensitive so that it flashes a bit more,

Hero: I think he was trying to show the leds on the ceiling where they had more effect and were seperated more
 

Offline krd777Topic starter

  • Contributor
  • Posts: 33
Re: [Idea sharing] Audio Controlled LEDs
« Reply #10 on: August 05, 2010, 06:42:26 pm »
Ah! I'm sorry! Camera isn't very good.. :S

Quote
Posted by: MTron
very cool!...you should amp up the design- use a couple more LED's and put it in a cool enclosure

Yes! It will have UV LED's and a friend of mine wants to do a design for it with fluorescent liquids of different colours too, like the video we saw first on youtube.
Another idea of another friend is to hack his speakers with bigger lights.

Quote
Posted by: Hero999
Good, you got it working.

The video could be better though, the camera isn't on the LEDs half of the time.


I think it would look better if the LEDs were different colours and I agree that more LEDs would be good too.

eheh, sorry for the lack of cameraman skills Hero999 xD
I was trying to show the light in the room, but the camera doesn't capture half of it. sorry about that.
Different colours for sure! At least we're thinking first UV LEDS and coloured fluorescent fluids.
Also, yes, more LEDS! That's the reason I'm using IRFZ44N Mosfets, so I can put more LEDS and probably a bigger power source.


Quote
Posted by: Simon

I think you need to make each channel less sensitive so that it flashes a bit more,

Hero: I think he was trying to show the leds on the ceiling where they had more effect and were seperated more

Yes, you're right Simon! I need to have better filters, since I'm using single pole ones, which means a dull cut off. It's the next step for it.
Also it's lacking the band pass filter at the moment.

And yes, was trying to show the lights in the ceiling, but the camera captures it way too dark.




Thank you very much for the input everyone !
I shall be back with better filters. And around September, it will be applied to my friends design probably.

P.S.: I haven't done a peek detector yet as Hero999 recommended before, but I haven't forgot the idea!
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: [Idea sharing] Audio Controlled LEDs
« Reply #11 on: August 05, 2010, 10:04:27 pm »
Anothing thing I've noticed is that the MOSFETs are set up as source followers which drop a lot of voltage so you're probably not getting as higher LED current as you think. This ciertainly isn't a problem with one LED per channel but I suspect it could be more of an issue at higher currents.
 

Offline krd777Topic starter

  • Contributor
  • Posts: 33
Re: [Idea sharing] Audio Controlled LEDs
« Reply #12 on: August 05, 2010, 11:06:41 pm »
Anothing thing I've noticed is that the MOSFETs are set up as source followers which drop a lot of voltage so you're probably not getting as higher LED current as you think. This ciertainly isn't a problem with one LED per channel but I suspect it could be more of an issue at higher currents.

Sorry, didn't get the source follower. You mean I shouldn't be using the same source I'm using for the OpAmp? Or is it the way the Mosfets are connected? I thought controlling the gate with that audio to let the LEDS light up was the correct implementation, is there any other way?

P.S.: I shall update the schematic since I'm now using a different OpAmp for each filter and I'm also filtering first, then amplifying after, and then send that signal to Mosfets's gates. But the idea and principle is still the same.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf