Zero/Span Circuit for Audio Signal

Click For Summary
To interface an audio signal from an old portable CD player with a PIC microcontroller, it is necessary to amplify and shift the signal to the 0V to +5V range. The CD player outputs approximately 1-1.2V, which may require a gain of 2 for proper modulation. A suggested method involves using an amplifier circuit with specific resistor values to center the input voltage at 2.5V. Additionally, incorporating a capacitor in series with the signal path and resistors across the microcontroller's A-D input can help stabilize the signal. Overall, testing the setup without modifications may yield satisfactory results.
cdanderson04
Messages
9
Reaction score
0
Hey all:

I have an audio signal from an old portable CD player that on max volume outputs about 1-1.2V as shown when attached an oscilloscope. I want to feed this signal into a PIC microcontroller, but I hear you need to amplify and shift the signal into the 0V to +5V region for it to work correctly. I want to use the PIC to pulse modulate the audio signal.

Does anyone know of any good zero-span circuits or if I even need one? Thanks!
 
Engineering news on Phys.org
cdanderson04 said:
Hey all:

I have an audio signal from an old portable CD player that on max volume outputs about 1-1.2V as shown when attached an oscilloscope. I want to feed this signal into a PIC microcontroller, but I hear you need to amplify and shift the signal into the 0V to +5V region for it to work correctly. I want to use the PIC to pulse modulate the audio signal.

Does anyone know of any good zero-span circuits or if I even need one? Thanks!

You could but it would hardly be worth it.

The output of the CD would be possibly producing outputs up to 2.5 volts peak to peak, so you could possibly make up an amplifier that gives you a gain of 2.

You could use something like this:
tl071_mic.png


Which I just stole from another thread on this page.
Remove the microphone from the left and feed your signal in there.
Make R1 22K.

At the micro input, put two resistors across the input (just like the two 47Ks in this diagram, but to +5 V and ground).
This would set the input to 2.5 volts and the input would move this voltage centered on 2.5 volts.

But to be reasonable about it, try it the way it is. It will probably sound just fine.
Just put a capacitor in series with the signal path and two resistors across the A-D input of the micro just like the left of the above diagram as described above..
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
13
Views
3K
Replies
20
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 28 ·
Replies
28
Views
5K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
104
Views
25K