Electronic – DC 5V to Audio Line Level

audiodc

Firstly, I'm a hobbyist and have a lot to learn.

I'm trying to get a 0-5V signal created by a microcontroller to +/-2V audio level.

I don't want to spend a lot and would like to keep the part count down, so I started experimenting using resistor dividers and I can get it into either the 0-2V or 0-4V range.

But I don't know how to make the signal go negative. What are some ways to do that?

Best Answer

I'm going to make an assumption here because you didn't provide enough information.

Specifically, I assume that this is an analog signal that ranges from 0V through +5V.

The solution is simple. All you need to do is to capacitively-couple the signal from the controller output network into your destination device.

I'm going to make a couple more assumptions here:

1) The output impedance from the controller and its output network is fairly low.

2) The input impedance of the device that you are trying to feed is fairly high.

schematic

simulate this circuit – Schematic created using CircuitLab

I'm showing a polarized capacitor because that is the most common. The (+) side of the capacitor goes to the node with the most positive (highest) average DC voltage. That would be from your microcontroller: the average voltage is about 2.5 Vdc assuming that the signal swings all the way from 0V to 5V.

It's really that simple!