Pages: [1] 2   Go Down
Author Topic: How to suppress terrible noise from MAX7219?  (Read 1490 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset



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
Logged

0
Offline Offline
Shannon Member
****
Karma: 159
Posts: 10409
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

[ I won't respond to messages, use the forum please ]

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 435
Posts: 23611
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2806
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

--> 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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Shannon Member
****
Karma: 159
Posts: 10409
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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. 
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4538
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The MAX7221 was designed to reduce noise...

Logged

No, I don't answer questions sent in private messages...

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i think so,You have got to clean up that wiring! Nothing but antennas there for any and all RF noise.
« Last Edit: December 31, 2012, 04:49:01 am by bbsanchezi » Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 435
Posts: 23611
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@bbsanchezi, why did  you copy verbatim what I said in reply #2?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

UK
Offline Offline
God Member
*****
Karma: 17
Posts: 568
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 435
Posts: 23611
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1221
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

Logged


Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1] 2   Go Up
Jump to: