
MovieMaker
USA
Asked
— Edited
I forgot, but , didn't we have the ability to allow the audio to flash LED's like on the robot B-9 chest or the Knight Rider kit? I forget.
Lots of options.
Thanks!
:D
You could use servo sound then connect your digital pin to a switching transistor. It should light and dim with sound. Because the servo signal is a pwm ( pulse width modulation) just in case you don't want to do a scanning set or LEDs or a VU meter.
I like the idea of using the sound servo setup to flash my lights when the robot speaks, but I don't want to use the microphone. I was wondering how I could hook up the speaker leads so the lights would only flash when the robot talks.
Yes, connecting LEDs to speakers works but the voltage rating of the LED would need to be taken in to account. I think it's this topic it was mentioned in but may have been another where that was suggested and someone confirmed it works.
Lol I answered my own question 2 months ago , that's priceless
@mel using pwm for a servo works kinda good,but if you want level control controlled lights that move like a mouth,you need VU meter and you don't need to buy it as a kit.
@Mel and robot maker - the problem with the VU meter integrated circuits is they put out 2 volts for LEDs which is only enough to directly power green. I believe this is another job for a switching transistor.
Or a mosfet
What about using another microcontroller which enables output pins depending on the input voltage, connect the input up to a digital port, use a script to get the sound level and PWM to the digital port, microcontroller then enables whichever LEDs need to be illuminated based on the PWM value... Just a thought, no idea what would be needed but I'd be surprised if there wasn't an ATTiny based DIY project for something like that.