Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 07 23:44
    dependabot[bot] labeled #282
  • Dec 07 23:44
    dependabot[bot] assigned #282
  • Dec 07 23:44
    dependabot[bot] review_requested #282
  • Dec 07 23:44
    dependabot[bot] opened #282
  • Dec 07 23:44

    dependabot[bot] on npm_and_yarn

    chore: bump eslint from 8.4.0 t… (compare)

  • Dec 06 19:36

    dependabot[bot] on npm_and_yarn

    (compare)

  • Dec 06 19:36

    dependabot[bot] on master

    chore: bump eslint from 8.3.0 t… Merge pull request #281 from aj… (compare)

  • Dec 06 19:36
    dependabot[bot] closed #281
  • Dec 06 19:36
    ajfisher commented #281
  • Dec 06 19:04
    dependabot[bot] assigned #281
  • Dec 06 19:04
    dependabot[bot] review_requested #281
  • Dec 06 19:04
    dependabot[bot] labeled #281
  • Dec 06 19:04
    dependabot[bot] opened #281
  • Dec 06 19:04

    dependabot[bot] on npm_and_yarn

    chore: bump eslint from 8.3.0 t… (compare)

  • Dec 03 22:32

    dependabot[bot] on master

    chore: bump color-string from 1… Merge pull request #280 from aj… (compare)

  • Dec 03 22:32

    dependabot[bot] on npm_and_yarn

    (compare)

  • Dec 03 22:32
    dependabot[bot] closed #280
  • Dec 03 22:32
    ajfisher commented #280
  • Dec 03 19:05
    dependabot[bot] assigned #280
  • Dec 03 19:05
    dependabot[bot] review_requested #280
Rajesh
@Rajesh_YRe_twitter
Also just wondering will a 144 led WS2812B strip be supported in firmata mode? Or should I switch to I2Cbackpack
Rajesh
@Rajesh_YRe_twitter
Tried the basic johnnyfive.js example also with the blinker if I leave it running for a few secs the whole Raspberry Pi hangs :worried:
ajfisher
@ajfisher
@Rajesh_YRe_twitter if you're on an RPi have you updated the I2C sync boot directive?
That code is a bit hard to follow due to the formatting from gitter. can you pop it in a Gist or Pastebin or something?

will a 144 led WS2812B strip be supported in firmata mode

Yes - you can have about 200 pixels

Jean-Philippe Côté
@djipco
Hey guys! Quick question: does node-pixel support RGBW Neopixels?
Jean-Philippe Côté
@djipco
On a related note, Adafruit says the following about the 60 LEDs ring: "May ship with either WS2812B or SK6812-based LEDs." Will it work with node-pixel if I receive the SK6812 ?
Jean-Philippe Côté
@djipco
I got my answer regarding RGBW Neopixels. They do not work. Are there any plans to support them? I see there is a PR (ajfisher/node-pixel#101) but work seems to have stopped...
@ajfisher Adafruit says their Neopixels "may ship with either WS2812B or SK6812" chipsets. If I receive a unit that uses the SK6812, will it work with node-pixel?
Jean-Philippe Côté
@djipco
I don't mean to be rude but does anybody know if this project is still being maintained?
ajfisher
@ajfisher

@cotejp apologies - I've been away so haven't had a chance to answer any of this.

Re project being maintained. Yes the project is still being maintained but the velocity is low. I have other priorities at the moment and NodePixel does 95% of what I need it to do so most development is based on what needs people have which then drives changes & commits. If you're keen to have RGBW support then there is an outline of the way it would need to be implemented here: https://github.com/ajfisher/node-pixel/issues/64#issuecomment-243289715

This work hasn't been completed but I'd be happy to include it if someone's willing to do it. It's also non-trivial to make this work properly which is why I don't think anyone has tackled it to completion.

Regarding SK6812 - I don't have any of these to test with however the protocol is largely the same so it should work. If it doesn't it will be relatively straightforward to implement. Again if someone wants to get some, test them and submit a PR then I'm more than happy to include it.

Jean-Philippe Côté
@djipco
@ajfisher Okay, thanks. Regarding SK6812, according to Adafruit, most (all?) of their new units now use SK6812. The one I received a few days ago does work with node-pixel. It's probably using SK6812 but I do not know how to confirm that.
Support for RGBW would be awesome but I don't think I'll have have to dive in and contribute.
*have time
Joel Gullander
@Joelgullander

I am trying to create a list of pixel.Strips and im defining it as stated below:
var strips = new pixel.Strip({
board: this,
controller: "FIRMATA",
strips: [ {pin: 2, length: 4}, {pin:3, length:4 }, ],
gamma: 2.8,
})

only way to light up those strips is by doing strips.show(), but if I want to show only the pin 2 strip how would I do that?

What im trying to accomplish is lighting up pin 2 strip and after 1 sec delay light up pin 3 strip
ajfisher
@ajfisher

@Joelgullander there's a couple of ways to achieve this.

In defining the strip the way you have you're effectively saying "compose all of these strips into one bigger strip". This is really helpful to deal with latency on longer strips because you have to push the pixels sequentially into them. Splitting to smaller ones means you can target your writes a little more effectively and get better throughput.

As such what happens is that pixels 0-3 are on pin 2 and then pixels 4-7 are on pin 3.

So you can do something like this:


for (let i=0; i< 4; i++) {
  strips.pixel(i).color("ff0000");
}

strips.show();

setTimeout(() => { 
  for (let i=4; i< 8; i++) {
    strips.pixel(i).color("ff0000");
  }
}, 1000);

The other option is define 2 Strip objects on separate pins and then control them independently from each other.

NunnoXYZ
@nunnoXYZ
hello !
hey guys can someone point me out a way or a tutorial to get working with a 4 pin led strip (5050) ?
NunnoXYZ
@nunnoXYZ
ajfisher
@ajfisher
@nunnoXYZ This type of strip isn't supported by this library. You can drive it simply using a standard RGB LED object from nodebots.
Norberto Purtschert
@npurtschert
Hi. Is there the posibility to use this library in another HW like an UP box? Check here ;) http://www.up-board.org/upsquared/
carloposo
@carloposo
What version on Node is node-pixel compatible with?
carloposo
@carloposo
Is there a possibility to destroy the USB of the Mac if fps are too high?
Benjamin E. Coe
@bcoe
anyone kicking around? I'm attempting to connect to an Arduino Micro, from a raspberry pi, over usb, with the firmata installed.
the connection seems to hang indefinitely.
Benjamin E. Coe
@bcoe
got it working, I think the baud rate needed to be 28800 in the firmata software)
ajfisher
@ajfisher
@bcoe that seems a bit odd. Not sure why the baud rate was set that slow?
keaixx365
@keaixx365
Anyone here
keaixx365
@keaixx365
@ajfisher It runs into error when flash Backpack using "interchange install git+https://github.com/ajfisher/node-pixel -a nano", Error: Sending 3020: receiveData timeout after 400ms.
@ajfisher any idea on this error?
keaixx365
@keaixx365
@ajfisher is this tool possible to support more than 1000 leds?
Nuno Marujo
@nhmarujo
Hi everyone. Is it possible to set individual brightness levels when using a strip?
I mean, define brightness per led
Eric Johnson
@ericdjohnson_twitter
Hi all, I ran into an error when trying to connect my strip of WS2812b LEDs to my Raspberry Pi 4: 1583152030510 Board No connected device found How do I go about debugging this? I was able to get node-red's neopixel node working and able to control my strip.
Abhishek Chaudhary
@theabbie
LooLooAsuna
@LooLooAsuna
whats the best way to change the brightness of the leds
Malte
@qMalte
2021-06-29 17_34_47-Window.png
Hello, my pixel Strip Object has the value: "Strip { dep_warning: { stripLength: false, gammaValue: false } }". The led is unfortunately not controlled, does anyone have an idea what it could be?