element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Forum The PAM8403 amplifier is very noisy
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 21 replies
  • Subscribers 326 subscribers
  • Views 1289 views
  • Users 0 members are here
  • PAM8403
  • ws2812
Related

The PAM8403 amplifier is very noisy

me_Cris
me_Cris 3 months ago

Hi!

I was thinking of participating in a challenge but I ran into another challenge. Sweat smile
I'm using a small circuit with PAM8403 as a replacement for some speakers with dead audio circuit. In addition, I also have addressable LEDs in the case (this how they came) and I was thinking of using an MCU to control them. But I just noticed a very sharp and annoying noise produced when I power the LEDs, and it doesn't go away even when playing music.
I made a msall PCB, the schematic is below. The power supply is at 5V [USB]. I placed some capacitors in the idea to support the supply voltage.
What ideas do you have? What could I improve? 

Thanks!

The schematic:

image

The layout:

image

PAM8403 module:


image
The initial amplifier + controller board:

image
image

The speakers:
image

My assembly:

image

image


  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz 3 months ago +4
    Decided to quickly try that amp board, my results won't necessarily help at all since my setup is completely different and I don't have LEDs/microcontroller attached. I'm not near 'scope so I couldn't…
  • michaelkellett
    michaelkellett 3 months ago +3
    Do you have an oscilloscope. It will be much easier to fix the problem if you know what it is causing it. Since the noise happens when the LED is on it should be easy to see what is changing on the…
  • geralds
    geralds 3 months ago in reply to shabaz +2
    You're welcome. Oh, yes me too - I also have toys I can't remember why I have it. :) You mentioned the Vref _pin and -capacitor: It is important to know that this pin is a bi-directional pin. In…
Parents
  • Gough Lui
    Gough Lui 3 months ago

    Most likely this is just digital noise coming through - you need to make sure you've got good routing to avoid it being picked up, good ceramic bypass capacitors nearby, ideally a separate analog ground plane that joins the main ground away from the digital and perhaps even consider some kind of filtering on the power (e.g. inductor choke) if it's really bad.

    Ensuring the bypass on the LEDs is good is also important, especially if you have a bad ground, the noise could come around due to ground bounce. The addressable LEDs are PWM so they switch on and off "hard" and that modulates your supply and power distribution network.

    Personally, I'd say using a differential input audio amplifier, rather than a single-ended type like you have, would be a better choice and routing pairs of audio lines to that amp, that way if the noise is induced, it is induced into both legs of the audio signal and thus cancels out.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • me_Cris
    me_Cris 3 months ago in reply to Gough Lui

    I have some PC speakers powered by 5V [USB], the original board had a digitally controlled amplifier [via push buttons] and an unlabeled IC [for LEDs], all on the same board. The PAM8403 is a module soldered onto a PCB, and for the connections I had to use JST connectors.
    I don't know much, but I'm still experimenting.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • acdc90
    acdc90 3 months ago in reply to me_Cris

    can you measure the current the complete led circuitry is drawing?

    and try an inline choke to power the leds 

    maybe a photo of the old board and complete unit ? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • me_Cris
    me_Cris 3 months ago in reply to acdc90

    Hi, I'm a little late with the reply, I don't have much time during the week. Sweat smile
    I added pictures to the post.
    I'll experiment with the USB power supply part.
    I think LEDs (there are 7 per speaker) of this type consume enough mA (tens), and since I want to create some visual effects, I'm basically witnessing a "symphony" of noise.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • me_Cris
    me_Cris 3 months ago in reply to acdc90

    Hi, I'm a little late with the reply, I don't have much time during the week. Sweat smile
    I added pictures to the post.
    I'll experiment with the USB power supply part.
    I think LEDs (there are 7 per speaker) of this type consume enough mA (tens), and since I want to create some visual effects, I'm basically witnessing a "symphony" of noise.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube