Go Down

Topic: Max7219 and 8x8LED matrix - all LEDs are constantly on (Read 6604 times) previous topic - next topic

CrossRoads

Perhaps - do you have a part number? Just about anything can be found on the internet.

This is what mine looks like.  CSM-8826 is on the artwork it the back. Side is marked A5880SRSG-A, which seems incorrect - other A5880 parts I could find are only 16 pin parts.
I think I need to re-do my fonts to turn them 90 degrees for this part.
And do a little experimenting, see where "upper left" vs "lower right" is so the fonts make sense.

I defined an 8x32 array to represent the display, not sure I have that lined up with my chip callouts from left to right either.
So for example if I call 0,0 the lower left, 7,0 the upper left and 0, 31 the lower right and 7,31 the upper right, I'm not sure I'm send stuff there now.
Maybe I should flip it 31,7 for upper left and 0,0 for lower right - probably easier to visualize and keep straight that way.
Then call 3 the left display and go across 2-1-0 to the right.

Was just glad to show the hardware all worked to start - having left off +5/Gnd to 3 chips had me stumped for a bit  :smiley-roll-sweat:
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.

tunnels_up

I built my own mini LED matrix. One with a common anode and one with common cathode. The common cathode works brilliantly, the common anode, well I can't get it to work at all. Attached is the schematic for what works and doesn't.
So it looks like I can get either a new set of LED matrix's or the 7221's. I can't think of a way to get this to work any other way...

bratan


I built my own mini LED matrix. One with a common anode and one with common cathode. The common cathode works brilliantly, the common anode, well I can't get it to work at all. Attached is the schematic for what works and doesn't.
So it looks like I can get either a new set of LED matrix's or the 7221's. I can't think of a way to get this to work any other way...

Any luck with your matrix? I have same problem with driving bicolor (common anode) matrix. But someone suggested to use a diodes on SEG A- SEG G lines...
Xronos Clock - A talking arduino based alarm clock is now available. Check out xronosclock.com for pictures, source code, schematics, etc.

CrossRoads

#18
Nov 07, 2012, 09:01 pm Last Edit: Nov 07, 2012, 09:10 pm by CrossRoads Reason: 1
I didn't realize you had common anode bratan.
I was suggesting diodes for common cathode to prevent the max7219 from trying to source current into the cathode when it was put into shutdown mode.

Now that I think about it tho:

In common cathode,  cathode goes to 7219 to prevent it from driving matrix cathodes high when in shutdown
In common anode, anode goes to 7219 to prevent it from pulling matrix anode low when in shutdown

In both cases, the non-driving 7219 is isolated from the common pin so the other part can control the shared line.

I'll draw this up when I get home.
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.

CrossRoads

Dual MAX7219 controlling common cathode two-color array
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.

CrossRoads

And the common anode version, haven't filled it out as much but one can get the idea
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.

Aaron_dyer

Crossroads, I just built a single 8 x 8 on a protoboard and used your code in this forum...pretty cool...displays a checker board type matrix lit up that shifts back and fourth...nice..

CrossRoads

Thanks Aaron.

If you're seeing the checkerboard, then you are running old code.
I have posted, for you, the new code that works much better.  I suggest you find that.
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.

MichellePerez

please, i need heal i have the same problen, All the leds are always ON, but my matrix that i used, it's complite with the controller integrated.  i don't know what i have to do, please healp =(

Paul__B

I don't know what I have to do,
Start (always) by actually explaining your situation.

What do you mean by "complete with the controller integrated"?

Where did you get it?  Give us the weblink for this item.

If it is in fact one like this,

(But not from that seller), then please note that at least one vendor on eBay has been providing modules with the wrong (reverse polarity) version of the matrix resulting in the display brightly illuminating all LEDs at turn-on and merely showing faint suggestions of a pattern when correctly driven by code.

If that actually happens to be the case, you should claim a refund from the vendor.  There are ways of using the module, but generally not worth the bother.

Note however that the MAX7219 should have a (10k) pull-up on the clock line to prevent it producing a random display - including all on - when it is not under the control of the Arduino code, particularly if you are "breadboarding" it.


MichellePerez

Hello my friend thank you so much for take the time to answer me.

yes i mean that case that you say.

the matrix resulting in the display  brightly illuminating all LEDs, even if i use lc.clearDisplay(0);  don't happen anything.  =(

im so sad for this issue, because i bought 6 matrix.

im from mexico sorry my english is not good, i bought the kit in this web site:
http://articulo.mercadolibre.com.mx/MLM-525971779-kit-de-matriz-de-led-8x8-armado-arduino-pic-avr-_JM#redirectedFromParent

i don't know if this is enough to check my problem and try to contact the provider?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy