Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more the 8 daisy chained #15

Open
klarson18 opened this issue Mar 25, 2016 · 7 comments
Open

more the 8 daisy chained #15

klarson18 opened this issue Mar 25, 2016 · 7 comments

Comments

@klarson18
Copy link

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

@voneiden
Copy link

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

@klarson18
Copy link
Author

Thank You for the response! Makes sense.
Kyle Larson

On Fri, Apr 15, 2016 at 2:45 PM, Matti Eiden notifications@github.com
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
#15 (comment)

@Sloaix
Copy link

Sloaix commented Oct 21, 2017

@voneiden

I do not think that's the reason.

@voneiden
Copy link

voneiden commented Nov 3, 2017

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

@akhileshghanshyam
Copy link

akhileshghanshyam commented Feb 8, 2018

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 ghanshyam6298@gmail.com
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
Copy link

akhileshghanshyam commented Feb 8, 2018

@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 ghanshyam6298@gmail.com . 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

@DigaFabian
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants