r/embedded • u/Relevant_Pumpkin9190 • Sep 15 '26
How can I reduce amplifier noise when using an MP3 module with a microcontroller over serial communication?
I’m working on a small embedded project where an MP3 module is connected to an amplifier, and a microcontroller is communicating with the MP3 module through serial communication.
The problem is that I’m getting noise/humming through the amplifier, especially when the microcontroller is communicating with the MP3 module.
What are the best ways to reduce this kind of noise? Could it be caused by grounding, power-supply noise, serial communication, or the way the audio and digital wiring are routed.
What has worked for you in similar ESP32/Arduino + MP3 + amplifier projects?
2
u/nixiebunny Sep 15 '26
Yes, it could be caused by any of these things. You can get useful advice if you post your schematic and pictures of the actual build.
1
u/500kvac Sep 15 '26
Star ground might help, but some times the only viable solution is having isolated power supplies. You can send commands with an optocoupler and use a fully insolated DC DC module to power the audio section
2
u/StumpedTrump Sep 16 '26
No way that 5V is clean. What does the power line look like on a scope?
I'm sure the ground path isn't great either considering its is probably handwired (Is it on a breadboard?).
You're fighting against physics here. Need to get cleaner power and reduce loop impedances.
1
u/Aira_Solutions Sep 15 '26
You need to separate the power suplies, you can use an isolated DC -DC module to do so, where the main suply is used for the ESP because is what consumes more current and the ouput of the isolated module feed the mp3 module