WS2812B - Very Slow Refresh Rate

  • I've been diving headfirst into the world of LEDs, so I'm already at my first upgrade. I want to replace my existing 116-LED WS2801 strip with a 232-LED WS2812B strip. I read every discussion and guide I can find, so I had an idea of what to expect.


    I got my Arduino Uno R3 up and running with FastLED (using Rick164's tutorial) pretty easily, but when I connected it all, set HyperCon to AdaLight, and ran Hyperion the LEDs were updating very slowly (about 500ms between refreshes, video below). I figured maybe the Arduino was the issue, but when I connect directly to the GPIO I get exactly the same thing. The strip is powered by an 8a power supply - running the FastLED Demo is fast and perfect - I only hit the speed issue once I'm connected to Hyperion. My log and Config are below (for the AdaLight iteration). I know the WS2812B isn't as accurate as the 2801, but I'm hoping I can solve this. Thank you!


    Video -

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


    Log:
    [MEDIA=pastebin]k0bZrqCB[/MEDIA]


    Config:
    [MEDIA=pastebin]DuZbLLLX[/MEDIA]

    • Offizieller Beitrag

    Sounds like the baud rate wasn't increased yet, would check chapter 4 which explains how to increase the baud rate in the Arduino sketch and on the RPi itself:


    https://hyperion-project.org/t…-ws2801-ws2812b-apa102.8/


    There are also a couple of sample config attached there which are worth a try :) , also best to use Arduino IDE version 1.0.6 as that was used in the guide for increasing the buffer limit on the Uno R3 (listed under Tips & Troubleshooting chapter).
    WS2812 is plenty fast it's just that under certain low brightness conditions it will have lower response times (less smooth transitions) over the LED SPI variants.

  • Thank you! I had added a second board on the Arduino but maybe it wasn't selected when I last updated the sketch. I checked my work and did it again - it works now, even as a second instance of Hyperion running alongside the WS2801 (though this is only temporary). For some reason it is also detecting the USB grabber and starting Hyperion properly on boot now. Thank you for your help! Hopefully I won't need it again until next week when I start on my project of adding 2 AtmoOrb lights to the left and right of the TV.


    Update: Do you know why it might have displayed the same behavior when connected to the GPIO pins? I prefer to use the Arduino anyway, but curious if running off GPIO is inadvisable or maybe I was doing something wrong. Thank you

    • Offizieller Beitrag

    Update: Do you know why it might have displayed the same behavior when connected to the GPIO pins? I prefer to use the Arduino anyway, but curious if running off GPIO is inadvisable or maybe I was doing something wrong. Thank you


    Not completely sure but could be that the system load was too high or the polling (rate) was too low :)
    Using an Arduino in between is nicer for sure, did drop that one for the APA102 setup (RPi -> SPI) but for anything else still prefer it.


    AtmoOrb is a pretty straight forward setup, only thing that comes down to personal preference is smoothing but if you use the sample config from the wiki you should be good to go :D
    Nearing 2 month Photon uptime for the dual setup here without issues so it's as stable as it can be.

  • Excellent! My ultimate goal is to have the full strip around the TV and then two AtmoOrbs on top of my tower speakers to either side (each set to the left/right third of the TV or so). Ordering the Photons and LED rings tonight so Adafruit can ship on Tuesday.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!