Electronics > Projects, Designs, and Technical Stuff
Getting Earphone out
(1/3) > >>
Diyaudio_enthusiast:
Hi All,

I've made an arduino based audio spectrum analyzer & it requires audio input from a music player/laptop/phone earphone out.
I've tested this with earphone out from my audio player (yamaha mcr-b142) & it worked fine.Sadly when I connect earphone out to arduino, sound stops coming from speakers.But I want to listen to audio from music player while the signal goes to arduino. I understand this is the nature of the earphone out. So I tried to get output from speaker outs.
But the amplifier (Yda164) has differential outs & I'm confused about getting a single ended output from that.
What I want is to get a earphone out level signal from the music player.
Please assist me as I've spent so many hours to reach thus far.
Let me know If the information is unclear.
I've attached schematic of earphone out + music player micro controller pin description regarding earphone out.
I learned lot of things through this project
Thanks all
LeoTech:
Hello,

The first problem would be to actually split the speaker output without affecting the speakers themselves. This could probably be done with a high input impedance buffer.
The buffer should preferably be a differential input type. That would solve two problems with one chip. The output would then be single ended, and if you were to do this for both channels, you would have a single ended output for the R and L channel.

After that you would need a second stage - op amp based - to match the impedance and voltage level of the headphone signal.

Just remember, that by adding all this extra circuitry you will also introduce a lot of noise and the frequency response. Try and keep the added noise minimal and a flat frequency response to not change the signal you want to measure. 

I hope it helps,

Leo
Diyaudio_enthusiast:
Thanks leo

I think you are referring to this method



1st step - making differential output to single ended
2nd step - making single ended output into a dc signal that moves between 0-5v for arduino adc.

I've already found out a working solution for 2nd step. My concern is step 1
I've read about diff. to single ended conversion & thinking of using isolation transformer with resistors.
Found out an example for 75W speaker output connected to 8ohm. But I'm not able to find right values for my application. (15W into 6ohm speakers) . Please assist to find correct values if possible. Many Thanks


LeoTech:

--- Quote from: Diyaudio_enthusiast on August 17, 2019, 10:52:02 am ---Thanks leo

I think you are referring to this method

--- End quote ---

You are welcome, and yes I was indeed referring to that principle, although the output isn't actually shown in the circuit diagram - I might question the source.


--- Quote from: Diyaudio_enthusiast on August 17, 2019, 10:52:02 am ---2nd step - making single ended output into a dc signal that moves between 0-5v for arduino adc.

--- End quote ---
This is incorrect, although you probably meant it correctly.
The output will be converted into single ended, but that doesn't mean that it is a dc signal. The signal is still an ac, but the reference point is now ground instead of 'floating' - insanely simplified.

As far as the transformer goes, I have no clue, unfortunately. :'(

I am hope somebody more experienced will join in,

Leo

PS: I will try and think about it again, but I know to little about differential signals to make a sound statement - no pun intended.
But if you have any other questions, I might be able to help.

Diyaudio_enthusiast:
output of the circuit is pin 1 of IC U2:A
This is the source for this circuit

https://circuitdigest.com/electronic-circuits/instrumentation-amplifier-circuit-using-op-amp

I came up with a rough sketch of the circuit, I'm planning to build
Will build this, once the transformer arrived
Appreciate your help!

Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod