Skip to content

Green does not work on WS2812B #269

Closed

Description

@talolard

Hello,
similar to #104
I'm using a Mega2650 with a WS2812B strip.
Running the RGB test example, I found my strip is BRG.
Red and Blue appear fine, but the green is completely off for any value between 0-255.
Any ideas?
Thanks

Activity

  1. davemaster commented on Mar 6, 2016

    @davemaster

    check cable/connection of green led-component...

  2. focalintent commented on Mar 8, 2016

    @focalintent
    Contributor

    What pin are you using (there used to be problems with some pins on the mega - though those were fixed a while ago - and the problem caused didn't manifest this way).

    This is not similar to #104 - that was caused by timing issues with the first bit being written out causing green to always be on.

    What version of the library are you using - have you tried grabbing the most recent version of the library out of github, and can you please post your code to gist so I can see what you're trying to run.

    @davemaster given that these chips are WS2812B's, there is no "cable/connection of green led-component" - the led has 4 pins, Vin, Gnd, Din, Dout - the red, blue, green leds are part of the chip.

  3. talolard commented on Mar 10, 2016

    @talolard
    Author

    Hi.
    I'm using pin 8.
    I'm using version 3.1.
    The code I'm running is the RGBCalibrate example
    gist that works.
    I just noticed that running with FastLED I used the WS2812B, and in this example I used Adafruits default NEOPIXEL.

  4. focalintent commented on Mar 10, 2016

    @focalintent
    Contributor

    Try this updated version - https://github.com/FastLED/FastLED/blob/master/examples/RGBCalibrate/RGBCalibrate.ino (using WS2812B)

    Also - try switching to pin 5 - the mega's have had problems with some of the pins in the past.

  5. focalintent commented on Mar 25, 2016

    @focalintent
    Contributor

    Ok - make sure that you've pulled the most recent version of FastLED from github - I've just gotten a setup working here and was able to test my Mega2560 with WS2812's on pin 8 and and everything is working fine.

    Also, what version of arduino are you using? (Please update to the most recent version).

    Since I have it working here, and I haven't heard any updates from you in a couple of weeks, i'm going to close this for now, feel free to re-open it if you're still having problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions