LM3866 mute circuit - control with microcontroller

Sorry if this is a remedial question - but does anyone know or can recommend a simple circuit for controlling the LM3866 mute circuit using a microcontroller with a 3.3V output voltage. If the mute was controlled with a positive voltage, I wouldn't have an issue, but I'm unsure how to control the negative voltage using a positive high signal from the microcontroller. It seems like it needs to sink more than 0.5ma of current to disable the mute.

If anyone has any suggestions, please let me know. thanks.
 
I haven't tested it yet, but between a few comments here and on Reddit, I pieced together a little schematic using two NPN and one PNP transistor. In the simulations it seems to work. Basically it switches on the negative rail using a 3.3V positive signal. I'll feed that rail to the mute pin.

NEG is the unswitched negative rail (-30V), ACTIVE_OUT is the switched negative rail that goes between almost no current and full current when ACTIVE_IN is high.
 

Attachments

  • Screenshot 2024-12-18 at 9.57.08 AM.png
    Screenshot 2024-12-18 at 9.57.08 AM.png
    27.4 KB · Views: 67
Your schematic should work fine, but can be simplified if you wish.

I’m responding on an IPad, so will describe in text description. Discard Q2, ground base of Q1, ACTIVE_IN drives emitter of Q1 through a 10k resistor. When active, Q1 forms a 0.27mA current source, i.e. (3.3-0.6)V/10k. R5 can be replaced with a wire; dissipation in Q1 will be about 0.27mA * NEG. Eg. 0.27mA * 30V = 9mW.
 
Last edited:
Hey BrianL, can you explain how you hooked it up a bit more? I haven't used an optocoupler before. I'm assuming the left hand side is just the 3.3V with a current limiting resistor? How did you hook up 3 and 4? I'm guessing the negative rail goes on the emitter and the switched part is the collector? Is that right?
 

Attachments

  • Screenshot 2024-12-18 at 4.59.56 PM.png
    Screenshot 2024-12-18 at 4.59.56 PM.png
    29.3 KB · Views: 34
Hey Tom, thanks for chiming in.

Just want to make sure I understand, since I wanted to use a high 3.3V signal to unmute it (or when it's low, to be muted). Is your configuring doing that? It sounds like that would mute it, but doesn't it need the negative rail voltage somehow too to unmute it? Are you saying the negative rail is still connected as normal (via a resistor), and this optocoupler is just connected to the pin directly?