Ideas Test

6 VOTE

WS2812 Protocol Analyzer

Add protocol analyzer for the WS2812, a.k.a. NeoPixel etc, RGB LED's.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 26 2018
  • Planned
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 19:21

    Could you send your capture file to support@saleae.com? I'd like to take a look and see what could be going wrong. Sorry about that.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 19:21

    I have one problem only. It does not show the last sequence

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 19:21

    Over the weekend, we ended up building both of the open source WS2812 analyzers from github:
    https://github.com/dustin/logic-ws2812
    https://github.com/monkbroc/neopixel-saleae

    I've forked these repos, made a few changes to make them easier for us to cross platform build here at Saleae, and then added releases for both of them, for all 3 platforms. You can download the releases here:
    https://github.com/Marcus10110/logic-ws2812/releases/tag/v1.0
    https://github.com/Marcus10110/neopixel-saleae/releases/tag/v1.0

    To install, first download and extract the attached zip file. Then locate the correct file (*.dll, *.so, or *.dylib, depending on your platform) and paste them into the software's Analyzer directory here:
    Windows: C:\Program Files\Saleae Inc\Analyzers
    Linux: The Analyzers folder is in the same directory as the Logic binary.
    MacOS: /Applications/Logic.app/Contents/Resources/Analyzers/
    Alternatively, instead you could paste the two libraries for your platform into a new folder, and then tell the Saleae software to look for 3rd party Analyzers in that directory. To do so, open the options menu, select preferences, and go to the developer tab. At the top, browse to the new folder you created, and save the settings.
    In either case, you will need to restart the software before the new analyzers will appear.
    If you have any problems with the analyzers, please write into support as well as open an issue on the github repo.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 19:21

    Now i think WS2813 is much better than WS2812, You can have a look http://www.szledcolor.com/download/WS2812B%20VS%20WS2813.pdf

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 19:22

    I agree. Looking around, I did find an open source analyzer plugin for the WS2812: https://github.com/monkbroc/neopixel-saleae
    I'm not sure how similar the protocols are, but it might be possible to modify this analyzer to support other LED protocols.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 19:22

    Actually I would love it if there were support for several of the WorldSemi LEDs and Controller ICs such as the WS2801, WS2811, WS2813, and WS2818S. I have quite a few WS2801 LED Driver ICs and the ability to be sure my uChip PIC programs were sending valid data would be great.