Go Down

Topic: 8x64 MAX7219 LED Matrix wrong orientation (Read 26303 times) previous topic - next topic

gamerpaddy

Hey, i just got one of these chinese 8x8x4 MAX7219 boards. I tried to use the library from this site
https://brainy-bits.com/tutorials/scroll-text-using-the-max7219-led-dot-matrix/
"MaxMatrix" but its the wrong way around.   I could break of the individual modules and solder it 90° but thats not an option (yet).

How do i modify the code provided on that side to work the right way around?

My modules running like this right now:

_____________
||||##########|
||||[] Arduino|
 |[];  Uno____|
|||____|ATmega|
 |__##### ####|

ieee488

I think you are the first person who bought one of those. I was thinking about buying one thinking that they would have tested out before selling them.

Can you post a link to the actual item?

You might be able to get them to work if you buy the other type of 8x8 LED module. Can't say for sure without knowing what you bought.


marco_c

#2
May 24, 2016, 11:27 pm Last Edit: May 25, 2016, 06:01 am by marco_c
If you are not stuck on using MaxMatrix, then you may want to try the MD_MAX72xx library (links below). Read the documentation. You can set the library for any type of matrix through some compile time switches in a header file. I am sure that this type has been seen and used before.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Paul__B

#3
May 24, 2016, 11:52 pm Last Edit: May 24, 2016, 11:53 pm by Paul__B
I think you are the first person who bought one of those. I was thinking about buying one thinking that they would have tested out before selling them.
Certainly not the first person, and they are perfectly well tested.

Can you post a link to the actual item?
Most likely this:

Or that seller's alter ego.

You might be able to get them to work if you buy the other type of 8x8 LED module.
Total nonsense!

The "other type of 8x8 LED module", the one shown at the site quoted, is rubbish!

These modules are the only ones that should presently be used as they are properly stackable.  They merely need the correct code as Marco points out.  However you should add a 10 to 47 μF capacitor across the power lines at least every 4-unit module.

ieee488

#4
May 25, 2016, 12:33 am Last Edit: May 25, 2016, 12:39 am by ieee488
Certainly not the first person, and they are perfectly well tested.
Most likely this:

What he says he bought and the image he included in his post are different.
That is why I asked for an actual link to what he bought on eBay.


How exactly are they perfectly well tested? YOU? ? ?

If they built and design them right, but I wouldn't count on that.
YOU may have bought a good one. That is not to say the one I will be the same.
My experience with eBay is jaded.


And as for the "Total nonesense". I was talking about row-anode-column-cathode versus row-cathode-column anode. His mentioning about rotation is what made me think of that.

Again, we need an actual link to what he bought, and none of your probablys and your maybes and your most likelys.
 :smiley-roll:
Wait for actual information first, before, writing about "total nonesense".



gamerpaddy

No fighting pls.

Yes these are the modules i bought. FC-16 they are called.
Thanks to marco_c for the hint about MD72xx lib, which actually got USE_FC16_HW
now it works flawlessly.

Thanks, problem solved.
_____________
||||##########|
||||[] Arduino|
 |[];  Uno____|
|||____|ATmega|
 |__##### ####|

ieee488

#6
May 25, 2016, 01:55 pm Last Edit: May 25, 2016, 02:00 pm by ieee488
No fighting pls.

Yes these are the modules i bought. FC-16 they are called.
Thanks to marco_c for the hint about MD72xx lib, which actually got USE_FC16_HW
now it works flawlessly.

Thanks, problem solved.
Not fighting, but it is silly to post about hypotheticals instead of facts.

Those FC-16 modules are often sold individually in kits with one (1) 8x8 LED module and one pre-assembled PCB with the surface-mounted MAX7219.


The library you were trying to use are meant for modules like these


You were fortunate your seller sent you the right type of 8x8 LED module. Otherwise, you'd really would have been pulling your hair out trying to figure out what was wrong.






Algis

Hey, i just got one of these chinese 8x8x4 MAX7219 boards. I tried to use the library from this site
https://brainy-bits.com/tutorials/scroll-text-using-the-max7219-led-dot-matrix/
"MaxMatrix" but its the wrong way around.   I could break of the individual modules and solder it 90° but thats not an option (yet).

How do i modify the code provided on that side to work the right way around?

My modules running like this right now:


How to have resolved this problem??? Maybe You can upload modified library?

marco_c

Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

LOW_NZ

#9
Nov 27, 2016, 04:24 am Last Edit: Nov 27, 2016, 04:51 am by LOW_NZ
@Algis - refer to post #5
Hi there Guys,

ive read the post and looked at your site Marco (which is full of good stuff) but i cant seem to find out why the text is going from 1,2,3,4 but each screen is printing from right to left. Is there anything im missing?

Thanks for any help you may have :)

**UPDATE** Found the error of my ways.. All Sorted

gav00353

Hi All, I too have got one of these displays having the same outcome with the text scrolling the wrong way up.
I downloaded the MD_MAX72XX zip file, Changed the hardware to fc-16 but when i try to compile it I get an error message as below.
In file included from MD_MAX72xx.cpp:27:
C:\Users\Gavin\Documents\Arduino\libraries\MD_MAX72XX-master\src/MD_MAX72xx_lib.h:476:45: error: #if with no expression
MD_MAX72xx.cpp: In member function 'void MD_MAX72XX::spiSend()':
MD_MAX72xx.cpp:277: error: 'class SPIClass' has no member named 'beginTransaction'
MD_MAX72xx.cpp:277: error: 'SPISettings' was not declared in this scope
MD_MAX72xx.cpp:295: error: 'class SPIClass' has no member named 'endTransaction'

Am I doing something wrong? or am I missing Something?

Thanks Gav.

marco_c

#11
Dec 21, 2016, 08:15 pm Last Edit: Dec 21, 2016, 08:16 pm by marco_c
Where did you get the library from? Should have been the link in my signature block.

Please confirm that you have the latest from the Github site and are using IDE version 1.6 or later.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

gav00353

Hi Marco. Thanks for your help, I was running an older version of the ide. I used your library from your link and its fine. For some reason I can't get 1.6 on my pc keeps having issues, java I think, but loaded it onto another pc works fine.
Thanks Again.
Gav.

aeol2000

I have de same problem im not expert and i dont know how to solve, help please, i try md_max  and parola,
My max is 32*8

marco_c

You have not selected the correct matrix type for the MD_MAx72xx library. Please read the documentation related to this topic in the html files that come with the library.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Go Up