Hi guys!
A few weeks ago my housemates and I went to the dump to get rid of some old crap from the house, and on our way out we spotted the severed "head" of a traffic light. We thought it'd be a great addition to the living room, so we dragged it home.
Next day we cleaned it and rewired all the lamps to a mains plug, and surprisingly it worked! Only problem is, it shines far too brightly and all 3 lights shine constantly. We had a brainwave and came up with the idea to modulate the intensity of the lights with a musical input. We'd like to make it so that the green light varies with bass frequencies, the yellow light with mid frequencies and the red light with treble frequencies.
I trawled the internet and finally found this circuit:
http://wolfstone.halloweenhost.com/C...couplerAmp.gif
which I then converted to this-
http://i43.tinypic.com/2ez69f5.jpg
I wanted to use the optoisolator design for safety etc, but apparently optoisolators require a pretty strong signal to work, so the op-amp section of the circuit is for voltage amplification. After that the signal is split into three, filtered to the desired frequency ranges and passed through the optoisolator. The voltage of this signal then goes into the gate of the triac which controls the brightness of the lamp.
I've just got a couple of questions now-
1) Is there anything glaringly wrong with that circuit? I tried simulating it on LTSpice but I couldnt find the triac parts I was looking for so that was fruitless. A quick review from a third party would be great
.
2)If you compare the images, you'll see that the original circuit runs from 120V AC, and my adapted one runs from 240V since I'm in the UK. Does anyone know which component values I'd have to change for this to work over here?
3)Could I replace the Line out input with a microphone input?
4)Assuming this circuit is right, would it be possible to build it on a breadboard? or maybe have everything up to the triac on a breadboard and the triac just floating?
Any help is much appreciated, thanks!
A few weeks ago my housemates and I went to the dump to get rid of some old crap from the house, and on our way out we spotted the severed "head" of a traffic light. We thought it'd be a great addition to the living room, so we dragged it home.
Next day we cleaned it and rewired all the lamps to a mains plug, and surprisingly it worked! Only problem is, it shines far too brightly and all 3 lights shine constantly. We had a brainwave and came up with the idea to modulate the intensity of the lights with a musical input. We'd like to make it so that the green light varies with bass frequencies, the yellow light with mid frequencies and the red light with treble frequencies.
I trawled the internet and finally found this circuit:
http://wolfstone.halloweenhost.com/C...couplerAmp.gif
which I then converted to this-
http://i43.tinypic.com/2ez69f5.jpg
I wanted to use the optoisolator design for safety etc, but apparently optoisolators require a pretty strong signal to work, so the op-amp section of the circuit is for voltage amplification. After that the signal is split into three, filtered to the desired frequency ranges and passed through the optoisolator. The voltage of this signal then goes into the gate of the triac which controls the brightness of the lamp.
I've just got a couple of questions now-
1) Is there anything glaringly wrong with that circuit? I tried simulating it on LTSpice but I couldnt find the triac parts I was looking for so that was fruitless. A quick review from a third party would be great
2)If you compare the images, you'll see that the original circuit runs from 120V AC, and my adapted one runs from 240V since I'm in the UK. Does anyone know which component values I'd have to change for this to work over here?
3)Could I replace the Line out input with a microphone input?
4)Assuming this circuit is right, would it be possible to build it on a breadboard? or maybe have everything up to the triac on a breadboard and the triac just floating?
Any help is much appreciated, thanks!