LedControl icon indicating copy to clipboard operation
LedControl copied to clipboard

more the 8 daisy chained

Open klarson18 opened this issue 8 years ago • 7 comments

I would like to "daisychain" 10 7219 chips using ledcontrol.h but I am only successful with 8. Is this a software issue or a chip issue? Thanks

klarson18 avatar Mar 25 '16 20:03 klarson18

As far as I know the packet size for the chip is 16 bytes, which has 8 bytes of data. That means a maximum of 7 no-op bytes and as such it is limited to a maximum of 8 chips.

https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf

voneiden avatar Apr 15 '16 18:04 voneiden

Thank You for the response! Makes sense. Kyle Larson

On Fri, Apr 15, 2016 at 2:45 PM, Matti Eiden [email protected] wrote:

As far as I know the packet size for the chip is 16 bytes, which has 8 bytes of data. That means a maximum of 7 no-op bytes and as such it is limited to a maximum of 8 chips.

https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/wayoda/LedControl/issues/15#issuecomment-210591929

klarson18 avatar Apr 15 '16 22:04 klarson18

@voneiden

I do not think that's the reason.

Sloaix avatar Oct 21 '17 13:10 Sloaix

Yeah, I remember this was a wrong conclusion. More than 8 can be chained.

voneiden avatar Nov 03 '17 20:11 voneiden

include.docx @klarson18 can u please send me the code to run the 8 matrix chain. because i have problem with my code
i have tried my best to make it run 8 matrix chain instead of 4. it will be very kind of u. my email id [email protected] attached here is the code which i am using. this code is to chain 4 matrics. can you edit this code for me or if have any other code which can chain more than 4 matrices than please send me on above mentioned email id.

akhileshghanshyam avatar Feb 08 '18 15:02 akhileshghanshyam

@voneiden can u please help me to chain 10 (8x8) matrices. I have code which is capable of running 4 matrices. i am trying to make it to run 10 matrices. but no succeeded yet. can you help me in any way. My email id [email protected] . my hardware part is done and is working but in group of 4+4+2. the attached here is the code i am using. can you make desired changes in this code to make it run 10 matrices. if not 10 than at least 8. include.docx

akhileshghanshyam avatar Feb 08 '18 17:02 akhileshghanshyam

@klarson18 It is hardcoded in the LedControl.cpp file.

To get more than 8 matrices working go to your Arduino library folder, in my case it is located at:

C:\Users{Username}\Documents\Arduino\libraries\LedControl\src

There open the LedControl.cpp file with an editor like notepad++ and remove lines 50 and 51. This way I was able to chain 15 matrices, though I am not sure what the maximum amount of matrices is.

DigaFabian avatar Jul 12 '19 20:07 DigaFabian