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

Usage with Arduino Mega #253

Closed
qMalte opened this issue Jun 29, 2021 · 5 comments
Closed

Usage with Arduino Mega #253

qMalte opened this issue Jun 29, 2021 · 5 comments

Comments

@qMalte
Copy link

qMalte commented Jun 29, 2021

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

@ajfisher
Copy link
Owner

ajfisher commented Jun 29, 2021 via email

@qMalte
Copy link
Author

qMalte commented Jun 30, 2021

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

@ajfisher
Copy link
Owner

ajfisher commented Jun 30, 2021 via email

@qMalte
Copy link
Author

qMalte commented Jun 30, 2021

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

@ajfisher
Copy link
Owner

ajfisher commented Jul 1, 2021 via email

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

2 participants