Color organ DC circuit

Hey party people,

I've been controlling a battery-powered flashlight with voice for a project of mine using arduino programmed with a simple threshold. You can think of it as a single-channel color organ.

It's just on/off - if the sound input is high enough, the light turns on.

I'm starting to become unhappy with the way the light feels, the either-on-or-off. I'd like to make a light that captures the nuances of the voice a little better. I look at the needle of an analog SPU meter bounce around, and I'm jealous. I want to capture that, with light.

The only thing is, I NEED to use battery power. When I look at color organ circuits and kits around the web, the AC circuits often seem to have the ability to do variable brightness, but the DC circuits do not. Probably because the AC is already cycling, and it plays off that. Now, I could use a car battery and an inverter, but that seems kind of roundabout. Is there a way to do DC dimming with a timer or something? We can get into arduino solutions too if need be, but that presents problems for me that aren't easily explained and this is already getting too long.

tl;dr I need to dim a dc light using sound input. Circuits?

AC circuits often seem to have the ability to do variable brightness, but the DC circuits do not.

You need to read about PWM. It doesn't have to be from an Arduino's analogWrite.

You can read about PWM here:-
http://www.thebox.myzen.co.uk/Tutorial/PWM.html

thanks :slight_smile:

I may try something like this circuit:
http://www.dprg.org/tutorials/2005-11a/index.html

Time to visit your library: