EricHigdon / OctoPrint-RGB_status

Adds RGB LED support to OctoPrint with the ability to choose effects based on the current status of your printer
33 stars 12 forks source link

Random Flicker #21

Closed RootUser3885 closed 5 years ago

RootUser3885 commented 5 years ago

Now that I got them working with the frequency fix, the LEDs will randomly flicker. It only flashes for an instant but enough to be annoying. Sometimes random LEDs are different colors than they should be. The flicker is rather spaced out, sometimes ever 5 mins, or up to 30 mins, making it hard to catch on video. Im using WS2812b strips of 72. octoprint .log Screenshot (1) Screenshot (2)

EricHigdon commented 5 years ago

Interesting. Did you also set your max buffer size? See https://github.com/jgarff/rpi_ws281x#spi

JohnTRoth commented 5 years ago

I also have this on occasion. I do have my buffer size set appropriately - but suspect it's actually interference with the cable between the RGB strip and the Pi. Moving to a better cable improved things but didn't totally eliminate the issue. Next step is to shorten the length.

EricHigdon commented 5 years ago

@JohnTRoth, yes. Cable length can be a problem, because the LEDs work on a 5v signal, but the RaspberryPi only outputs a 3.3v signal. A shorter cable and/or a level shifter is probably necessary.