Hi guys I just wanted to ask on how can I eliminate the noise in my speakers and make it clean and louder, im using sd card module and arduino mega to play wav files, but it seems that its generating alot of noise the audio output is not clean at all please help. thanks
Add a good low pass filter, with a sharp cutoff, between the Arduino audio output and the speaker amplifier.
Hi, @ralf29
Welcome to the forum.
Can you please post some images of your project so we can see your component layout?
Thanks.. Tom..
Arduino Mega doesn't have a DAC (digital analog converter) and can't be considered as audio output device. Choose another board with onboard DAC, for example Arduino due or esp32
And, do you have an amplifier? And amplifier is what makes sound louder. (A "power amplifier" is used to drive a speaker.)
But, you'll have to reduce the noise first. An amplifier will amplify the noise along with the signal and the noise will be worse.
Also, 8-bit audio has audible quantization noise an you can't eliminate that... It's what low-resolution audio sounds like.
Nevertheless, people use it as an audio output device, often with the TmrPCM library. The 62.5 kHz PWM generates a lot of noise.
You need a restoration filter on the output of the PWM to get a good signal.
A lot depends on the input impedance of your amplifier as well as what sort of amplifier it is.
Please suply much more information than you have at the moment regarding your exact setup.
I might try this later thank you <3 @jremington
How?
Please explain the process, does the mega actually generate the audio or just control and switch the audio.
What are all the components?
Tom...
PS I ask this so we don't get to 50 posts and find the OP is using a sound module and the mega just switches and controls a player.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.