Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:29 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : audio out .........

Author Message
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:30pm 08 Jan 2013
Copy link to clipboard 
Print this post



 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:37pm 08 Jan 2013
Copy link to clipboard 
Print this post

R14 and R16 should become OPEN ....
R13 and R15 should be SHORTED .....
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 02:55pm 09 Jan 2013
Copy link to clipboard 
Print this post

  hitsware said   R14 and R16 should become OPEN ....
R13 and R15 should be SHORTED .....


Why do you say that?

If you were to do as you say you would change the output to be 0-3.3v (depending on the load you plug into) which as far as I am aware is too high for driving an audio amp..


The circuit as shown should provide a signal that swings between 0 to 0.5V and is a squarewave that is `rounded' by the 2 Capacitors...

Now looking at the design `maybe' (I am no expert here) the swing should be closer to 0 - 1.0v for proper output levels of typically 0.775V RMS..

Also `maybe' the outputs should be capacitively coupled to filter out any chance of DC offsets..

I am no expert on audio stuff and I do agree that the sound level appears a bit low out of the Sound Jack but a decent amplifier works well enough with it.

Maybe Geoff will have further comments here.

Regards,

Mick

EDIT *****

Unless your proposal is for the PWM use of the ports.... which might need a different specification (I have never used PWM and dont know the specifics.. but I am aware of the principals of PWM)

Mick
Edited by bigmik 2013-01-11
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:08pm 09 Jan 2013
Copy link to clipboard 
Print this post

  bigmik said  

Why do you say that?



I prefer as 'hot' as possible within wanted frequency response
The first LP ......4.7k with ? to ground is enough.
Any load actually weakens the rolloff slope.
Another stage of LP would make sense ..... But not pure attenuation.
BUT ...... I see your point about matching exisiting amps .
FWIW:
http://www.t-linespeakers.org/tech/filters/passiveHLxo.html
Edited by hitsware 2013-01-11
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 03:21am 10 Jan 2013
Copy link to clipboard 
Print this post

I am no expert on audio either so I just designed it to be quite loud with the powered speakers that I use. But it is easy to modify, just change R14 and R16.

There is a DC offset on the output but all the amps that I have checked have capacitors on their inputs and, as I was trying to keep the component count down, I figured that an extra capacitor was superfluous.

  Quote  a squarewave that is `rounded' by the 2 Capacitors...

No, that is not quite correct. The output is PWM at about 100KHz so the two capacitors are used to average the PWM signal (ie, remove the 100KHz carrier leaving the audio).

Geoff
Geoff Graham - http://geoffg.net
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 07:19am 10 Jan 2013
Copy link to clipboard 
Print this post

  Geoffg said   But it is easy to modify, just change R14 and R16.


Easy for you .... :) I'll have to look at your SMD article.......
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 01:07pm 10 Jan 2013
Copy link to clipboard 
Print this post

  Geoffg said  
No, that is not quite correct. The output is PWM at about 100KHz so the two capacitors are used to average the PWM signal (ie, remove the 100KHz carrier leaving the audio).

Geoff


Ok Thanks Geoff,

I just looked at the circuit in question and tried to work out what the affect of the two caps would do to the square wave outputs from D1 and D3...

I wasnt really thinkng of the output as PWM... so it is a Low Pass filter then? Hence HITSWARE's reference to LP which I admit didnt click with me what he was saying there.

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:58pm 10 Jan 2013
Copy link to clipboard 
Print this post

  bigmik said  .. so it is a Low Pass filter then?


For sure. I have a DuinoMite that has the audio out jack(s)
wired (I think) direct from the mainchip .... No filter
BUT ! ...:( No stereo ! or dual PWM channels .....
Mr Duino needs to hop on the Music Wagon
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 02:35am 11 Jan 2013
Copy link to clipboard 
Print this post

try replacing R7 and R8 with 100uH inductors, and up C15 and C16 to 220nF.
assuming a source impedance of about 40 ohms at the pin, this will produce a
far more pleasing filter effect, flat up to about 10kHz and 20dB down at 100kHz.Edited by robert.rozee 2013-01-12
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024