Pico making crackling sound when audio is played via mp3audio on circuitpython

March 1, 2023, 18:29

deitysupreme

So i'm making a portable soundboard using a raspberry Pi pico but the sound crackles when audio is coming through. It has an amp so power isn't an issue?

andy_s

what filtering circuit you used?

andy_s

<@341973065057566720>

deitysupreme

or what it is

andy_s

then how did you connect your amp to pico?

deitysupreme

One se

deitysupreme

sec

andy_s

since pico does not have any audio output

deitysupreme

This is the circuit

deitysupreme


andy_s

so no filtering at all.

andy_s

no wonder you get digital crap.

deitysupreme

😦

deitysupreme

Whats a filtering circuit

deitysupreme

I am trying to learn

andy_s

you can get inspiration in bigger brother's schematics.

andy_s

you need to filter out high frequency and DC component from the signal.

andy_s

if you use this circuit with these exact values, it'll do good enough job.

deitysupreme

Alright, thank you

deitysupreme

I found this do you think this would do the job>

andy_s

you can most probably ommit U5 and C88, obviously D4 is not necessary either.

andy_s

that is basically what that circuit above is, except for DC separation

deitysupreme

Alright Just gotta find a capacitor like that lying around

andy_s

that's what C86 / C89 are for

andy_s

100nF ?

andy_s

or 47 micro

deitysupreme

Idk im just looking through my minimally small capacitor collection to find a 100nf

andy_s

tis cerramic.

deitysupreme

Is it this dude?

deitysupreme

I read of part numbers cause that’s how I was taught

deitysupreme

Bit clueless apart from that

deitysupreme

Wait nvm it is the right one

andy_s

no probs 🙂

andy_s

filtering high-frequency crap solves issues caused by high-frequency crap 😄

deitysupreme

Learning new things everyday