Closed qMalte closed 1 year ago
Never seen this before. Are you sure you're using a ws2812 strip? Feel like what you're describing might be a different strip type
On Wed, 30 Jun 2021, 05:43 Malte, @.***> wrote:
Hello all,
unfortunately I can't switch LEDs with the Arduino Mega at the moment.
I use NodePixel in combination with J5, when I output the Strip object I get the following hint: Strip { dep_warning: { stripLength: false, gammaValue: false } }
Strangely enough it works after the third request, but the LED then also switches in the wrong color (red instead of white) and with the wrong number of LEDs.
My source code looks like this:
const strip = new pixel.Strip({ data: port, length: 128, color_order: pixel.COLOR_ORDER.GRB, board: board, controller: "FIRMATA" }); console.log(strip); strip.on("ready", () => { console.log("Strip rdy!"); strip.color([255, 255, 255]); strip.show(); });
I am looking forward to your feedback.
Many greetings
Malte
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/253, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5DIZUGPWMM6SAGQ325Y3TVIO6NANCNFSM47Q4TA5A .
Yes exactly, enclosed are the technical specifications:
Product Name: WS2812B LED Pixel Strip Model: HC-F5V-60L-60LED-B Working Voltage: DC5V Quantity: 60LEDs / M (3.3ft) Power: 18W / M (3.3ft) Packing: 5M (16.4ft) / Roll Connection: VCC: RED, DAT: GREEN, GND: WHITE
Many greetings
Malte
Hmm interesting
Do you have another Arduino to hand, one that isn't a mega (eg uno or something)?
Am just trying to isolate where the issue may be coming from. I don't have a mega close by for a couple of days to test against.
On Wed, 30 Jun 2021, 16:48 Malte, @.***> wrote:
Yes exactly, enclosed are the technical specifications:
Product Name: WS2812B LED Pixel Strip Model: HC-F5V-60L-60LED-B Working Voltage: DC5V Quantity: 60LEDs / M (3.3ft) Power: 18W / M (3.3ft) Packing: 5M (16.4ft) / Roll Connection: VCC: RED, DAT: GREEN, GND: WHITE
Many greetings
Malte
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/253#issuecomment-871141760, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5DI5ESW53NQHAUAY74ELTVK43DANCNFSM47Q4TA5A .
Unfortunately I have no other Arduino model available here at the moment. Can it possibly be because I have not yet adjusted the length of the LED strip and this is still 5 meters long and contains 300 pixels, which are connected together?
Many greetings
Malte
that shouldn't really impact it - if you set the length to 128 then the way the strip and code works it will just use the first 128 of the 300 pixels...
Just out of interest - how are you powering those 300 LEDs?
On Wed, 30 Jun 2021 at 23:15, Malte @.***> wrote:
Unfortunately I have no other Arduino model available here at the moment. Can it possibly be because I have not yet adjusted the length of the LED strip and this is still 5 meters long and contains 300 pixels, which are connected together?
Many greetings
Malte
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/253#issuecomment-871395185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5DI76ETH5K2GDO5PGI5TTVMKIZANCNFSM47Q4TA5A .
Hello all,
unfortunately I can't switch LEDs with the Arduino Mega at the moment.
I use NodePixel in combination with J5, when I output the Strip object I get the following hint:
Strip { dep_warning: { stripLength: false, gammaValue: false } }
Strangely enough it works after the third request, but the LED then also switches in the wrong color (red instead of white) and with the wrong number of LEDs.
My source code looks like this:
I am looking forward to your feedback.
Many greetings
Malte