Electronics > Beginners
Driving LED strips from dedicated audio amplifier
james_s:
--- Quote from: Simon on December 08, 2019, 07:02:50 pm ---not even sure how one does filtering in software.
--- End quote ---
Digital filtering has been around a long time, it's quite math heavy so 8 bit microcontrollers are not really the preferred platform but it can be done.
https://www.deviceplus.com/how-tos/arduino-guide/arduino-dsp-intro-to-digital-signal-processing-using-matlab-part-1/
http://www.amandaghassaei.com/projects/arduinodsp/
If you want more general information look up DSP techniques.
Simon:
Oh yes I know it can be done but not something I have ever looked at.
paulca:
I experimented with:
Peak detect circuit + WS2812s + Arduino and got this far:
I could easily be scaled up to quite a lot of LEDs if you have DC bricks to power them.
FlyingMoose:
Ok, let’s assume I go the Arduino route. The recommended audio circuit uses a capacitor and 2 resistors to shift the voltage from +- 2.5V or so to 0-5V or so.
One thing I’m concerned about is if the 5V power supply goes haywire and sends 230V to the Arduino and that sends it down the line-in back to the mixer and fries the $20,000 of equipment attached.
What’s the best way to make sure that nothing is back-fed into the system? Im not sure if the capacitor would offer enough protection...
Simon:
Erm, why are you concerned about the power supply and why would a 5V supply turn into 230V? Just make sure you use a good quality supply or properly design the one you make. If you step down to 12V for the LED,s you can attach the Arduino to this as it has it's own 5V regulator. That way 12V is the most you could see.
Voltage regulators don't tend to go "haywire".
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version