node-pixel icon indicating copy to clipboard operation
node-pixel copied to clipboard

Support dressing more than 1000 + leds

Open keaixx365 opened this issue 6 years ago • 5 comments

@ajfisher I see from the source code that there is a limitation of 500 when using the I2CBACKPACK. Is there a way we can try to control addressable 1000 + leds?

keaixx365 avatar Jul 18 '19 02:07 keaixx365

The only way to do that is user a different Arduino. Essentially, the limit comes from the memory allocation of a nano. If you used say a mega or similar then you can up that number quite comfortably.

On Thu, Jul 18, 2019, 12:34 keaixx365 [email protected] wrote:

@ajfisher https://github.com/ajfisher I see from the source code that there is a limitation of 500 when using the I2CBACKPACK. Is there a way we can try to control addressable 1000 + leds?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/151?email_source=notifications&email_token=AAA5DI6EDPIEM3HYYC2LCJDP77JBVA5CNFSM4IEWMJO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G74USOA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA5DIZOSYDYFZCOXR7XOSLP77JBVANCNFSM4IEWMJOQ .

ajfisher avatar Jul 18 '19 02:07 ajfisher

@ajfisher did you try any other arduino which has bigger memory? Could you recommender one? And is we use a different arduino, should we change the max limitation in the pixel.js?

keaixx365 avatar Jul 18 '19 02:07 keaixx365

I've used an Arduino Mega and I think I set the value at about 1000 or something and it worked. You just change that max limitation and it should be fine - it's just a check to stop people trying to address 10000 LEDs on an Arduino Uno and then wonder why it doesn't work when it fails silently. (you can imagine what that would do to GH issues).

-- Andrew Fisher http://about.me/ajfisher/bio

On Thu, Jul 18, 2019 at 12:56 PM keaixx365 [email protected] wrote:

@ajfisher https://github.com/ajfisher did you try any other arduino which has bigger memory? Could you recommender one? And is we use a different arduino, should we change the max limitation in the pixel.js?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/151?email_source=notifications&email_token=AAA5DIY26U7M365CHN7PCHLP77LWNA5CNFSM4IEWMJO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2HFPYI#issuecomment-512645089, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA5DIYIOL5GW6UTCEVDUQ3P77LWNANCNFSM4IEWMJOQ .

ajfisher avatar Jul 19 '19 12:07 ajfisher

Using I2CBACKPACK involves 2 microcontrollers, which one would you recommend switching out for a more powerful one?

peteruithoven avatar Jun 09 '21 11:06 peteruithoven

So as with most electronics stuff you get a bit of tradeoff happening here.

Single Arduino Mega and connect via firmata gives you more individual pixels you can control but will end up with a lot of message overhead due to the way firmata messages get encoded. This is more of a problem if you're doing a lot of high speed / large number switching.

If however you're doing smaller amounts of transitions then I2C backpack is probably a cheaper option and more stable...

On Wed, 9 Jun 2021 at 21:33, Peter Uithoven @.***> wrote:

Using I2CBACKPACK involves 2 microcontrollers, which one would you recommend switching out for a more powerful one?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/151#issuecomment-857618686, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5DI2IICEVFNUUXDLCDILTR5GQJANCNFSM4IEWMJOQ .

ajfisher avatar Jun 09 '21 12:06 ajfisher