Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:49 18 Sep 2025 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 : RC filters for sound output....

Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9643
Posted: 12:24am 19 Sep 2015
Copy link to clipboard 
Print this post

Hi folks.


There are two different RC circuits I use for either PICAXE or MicroMite.

PICAXE ONE:





MICROMITE ONE:





Are they both just as good as each other?
Does one have merits over the other?

I am curious about the two different designs, as the output from the PICAXE and the MicroMite are both PWM square-wave signals, so why the difference in circuit?

I would like to standardize on one circuit. At this stage, I am using the PICAXE one as I figure that the 18n cap will further smooth out the square-wave, making it a better waveform for feeding into an amplifier.

But having said that, the MicroMite circuit does not use the 18n, and still seems to work OK, so what are the options here?
Smoke makes things work. When the smoke gets out, it stops!
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2948
Posted: 12:28am 19 Sep 2015
Copy link to clipboard 
Print this post

Does either sound better than the other?

At least with the PicAxe there is a cap prior to the (amp) audio input. This 'can' save power consumption in some circumstances so better in battery powered circuits.

Lets see what the audiophiles say . . . .
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 02:22am 19 Sep 2015
Copy link to clipboard 
Print this post

From someone who is not that good with analog, so please check it. :)

The picaxe will have out lower then 1600Hz and higher then 8850Hz.
The Mite one about 3400Hz followed by a voltage divider to probably get it into the 1v peak to peak that most audio equipment expects.
Check what different HZ actually sound like here: https://www.youtube.com/watch?v=igGroIcga3g
Calculate the cutoff frequencies here: http://sim.okawa-denshi.jp/en/CRtool.php

I think it is important to know what you will connect. A piezo buzzer or an amplifier, or just a small speaker.
The capacitor before the output is to let only AC through. That is missing from the micromite one.


Microblocks. Build with logic.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9643
Posted: 02:30am 19 Sep 2015
Copy link to clipboard 
Print this post

Connection to audio amplifier, which then drives any standard speaker.
So, it is essentially needing to be filtered to make it suitable as a line-level input for any standard audio amplifier. I will check out the links.

EDIT: The amplifiers I am using are these ones. They are cheap as chips, and work surprisingly well for the price and size of them. As per the PDF for the PAM8403, I add an external RF choke and cap for each speaker wire. These parts are not on the little PCB.Edited by Grogster 2015-09-20
Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025