Go Down

Topic: How to suppress terrible noise from MAX7219? (Read 2487 times) previous topic - next topic

acid



On the same power supply I have connected MAX7219, which is producing terrible noise to amplifier so I can hear refreshing frequencies of MAX7219. If I hook up amplifier to battery power supply the noise is gone. I've also tried to connect 220uF electrolytic capacitor to power supply input of this board, which decreased the noise but not removed completely. Shutting down MAX7219 for a moment, eliminates the noise. Still I can hear it even from far distance. Amplifier board is on small PCB. MAX7219 is on breadboard connected to Arduino. All powered from Arduino.

I understand breadboard wiring may produce some noises, but this one is too loud. Unfortunately I don't have the scope to tell the noise spectrum, but MAX7219 update frequency from datasheet is 800Hz.

This video is to show the sadness of situation. http://www.youtube.com/watch?v=5XsQk7azH2M&feature=youtu.be

MarkT

Switching lots of LEDs needs thorough decoupling.   0.1uF, 10uF and 220uF electrolytic perhaps.  Does your MAX7219 circuit
have good decoupling?

Above all else you must keep the LED ground current path away from the ground to the audio amp - LED currents
should flow directly from the power supply to the MAX7219 to the LEDs, and _not_ via the audio amp chip's part of
the ciruit at all.

Such current will cause IR voltages along the ground wiring which you don't want injected into the audio path.

You might need to add some filtering between its supply and the amplifier circuit with an inductor or RFC.
[ I won't respond to messages, use the forum please ]

CrossRoads

You have got to clean up that wiring! Nothing but antennas there for any and all RF noise.
Put more decoupling into the circuit. Every power pin, 0.1uF cap to Gnd.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Docedison

Another real easy trick is to use separate power supplies for the Audio and Arduino and I would make that 220 uF capacitor a minimum of 1000 uF ... Even with separate power supplies. This is very similar to a job where I had a 14 Bit A/D driving a speaker except speaker audio was getting back into the A/D converter... The A/D drove an Audio VCO for rough target acquisition and the Audio was interfering with with the acquired signal causing weird errors about the nyquist rate of the VCO/Sampling rate multiples of 100 Hz. Separating the power supplies to "Digital" and "Analog" and some additional brute force filtering fixed the issue.

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

acid


Switching lots of LEDs needs thorough decoupling.   0.1uF, 10uF and 220uF electrolytic perhaps.  Does your MAX7219 circuit
have good decoupling?


I have ceramic and elec. capacitors on MAX7219 as you mentioned.

MarkT

From the video it looks like you are taking the amplifier power from the LED breadboard - that's the main issue, the LED power
rails will be bouncing around all over the place and the ground wire between the power source and the LED board will be
injecting IR losses direct into the input of the amplifier. 
[ I won't respond to messages, use the forum please ]

acid


From the video it looks like you are taking the amplifier power from the LED breadboard - that's the main issue, the LED power
rails will be bouncing around all over the place and the ground wire between the power source and the LED board will be
injecting IR losses direct into the input of the amplifier. 



I have tried to power amplifier directly from arduino. Almost same result.

fungus

The MAX7221 was designed to reduce noise...

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

#8
Dec 31, 2012, 10:47 am Last Edit: Dec 31, 2012, 10:49 am by bbsanchezi Reason: 1
i think so,You have got to clean up that wiring! Nothing but antennas there for any and all RF noise.

CrossRoads

@bbsanchezi, why did  you copy verbatim what I said in reply #2?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

tack

I'm guessing he meant to quote it and was agreeing, but it didn't go to plan. LOL

CrossRoads

I am thinking it is more likely a form of spam, have seen the same on a couple of other threads.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

acid


I am thinking it is more likely a form of spam, have seen the same on a couple of other threads.


You are over-thinking. Happy new year!

xl97

unfortunately.. this 'IS' becoming a bit of a trend on how spam bots work..



anyways..

sub'ing to thread.. as I too have 'noise',  while working with some MAX7219 chips..

guess solution is to isolate/decouple the power source more?


acid

Let's see what I will have after I make PCB instead of this horrible wires.
Will update this post.

Go Up