2
\$\begingroup\$

Some background: I am making a VU meter with LED strips using the Alexa Gen 4 Echo as the sound source. I'm planning to modify the Alexa so that I solder external wires to the left tweeter, right tweeter, and subwoofer speaker, along with adding a ground wire, of course.

For the VU meter, I want to use the ESP32 to have it sample two audio signals coming from the Alexa device: One signal from the subwoofer, and one mixed signal from the tweeters.

I know you can convert a stereo to mono signal by adding two resistors in series of the left and right channel speakers (or left and right tweeters in my case), and connecting the end terminals.

I'm worried that I could damage the speaker since I don't know if the left tweeter will backfeed into the right tweeter and vice versa.

I'm being cautious since I'm assuming the Echo wasn't designed with the intent to have it's speakers backfeed audio from one to another.

I was wondering if I could do something like this:

schematic

simulate this circuit – Schematic created using CircuitLab

The idea is to use a voltage divider to take the maximum 18V on the speaker (I haven't confirmed if it's RMS or Pk-Pk) and lower it to 3.3V. A filter capacitor is added along with the diode that will keep the speakers from backfeeding. The audio signal is then biased to 1.6V using the 3.3V from the ESP32.

Would something like this work for a VU meter, or is what I'm doing unnecessary?

\$\endgroup\$
2
  • \$\begingroup\$ To include bass make Req.*C >10/fmin and R>> 1k is OK since Zsource <0.1 ohm but better if you use precision rectifier for low levels and RC load for sustained peak and decay \$\endgroup\$
    – D.A.S.
    Commented Apr 17, 2021 at 13:29
  • \$\begingroup\$ google.com/… Most music is highly compressed so output is often steady unless you use selective bass, mid-range treble filters otherwise just annoying flicker, smooth it with a log diode feedback \$\endgroup\$
    – D.A.S.
    Commented Apr 17, 2021 at 13:51

2 Answers 2

5
\$\begingroup\$

If your MCU will be analyzing AC waveforms, then you can simplify the circuit. The resistance of R1 and R3 need to be large enough so they don't affect the amp driving the speaker, 44k should be more than enough.

You could also eliminate R7 if your cap voltage rating is high enough.

Realize that the two stages are not independent, from an AC perspective, the bias circuit affects the voltage divider also.

If you want the processing load to be lighter on your MCU, you can use a precision rectifier and peak detector instead of the bias circuit. Then your processor only needs to convert the voltage to dB.

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
8
\$\begingroup\$

No, it is not good practice for audio, in fact it causes the circuit to not work.

Imagine there are positive peaks on audio. The capacitor would always charge on the positive peak but never discharge on 0V or negative peaks. The capacitor would just slowly accumulate charge from the audio to have a voltage over it, until voltage is enough that it will never make the diode to conduct again until discharged.

\$\endgroup\$
4
  • 1
    \$\begingroup\$ It’s a VU meter \$\endgroup\$
    – D.A.S.
    Commented Apr 17, 2021 at 13:27
  • 1
    \$\begingroup\$ Re-read the question. \$\endgroup\$
    – TonyM
    Commented Apr 17, 2021 at 13:37
  • 3
    \$\begingroup\$ +1 because even though the circuit is for a VU meter, indeed it's not going to work. \$\endgroup\$ Commented Apr 17, 2021 at 15:01
  • 2
    \$\begingroup\$ +1 You can never have a capacitor directly in series with a diode and nothing else or it will behave as @Justme states. \$\endgroup\$ Commented Apr 17, 2021 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.