I'm struggling with random flickering of my WS2812b led strip.
I know this is mostly because of a ground problem but I have grounded my ledstrip together with Pi 3b+ and power supply.
Here is my setup:
What am I missing?? If I power the buck converter with a separate power supply it looks to be more stable/solved. The printer PSU is a mean well as on a Ender 3 Pro.
Well you can test if it makes a difference - I'm not sure how long is too long. I guess it depends a bit on the environment.
Just put the pi on top of the printer an test it with a short wire.
The light's could also flicker if the power supply isn't sufficient but I assume that you only use a few leds on your printer.
You could try to reduce the power needed if you just run a single color like red (white draws the most)
Here's a wiki of a led project (WLED) which should help you with the level shifter thing
@Ewald_Ikemann They flicker all the time but specially while heating or printing.
But I just discovered something strange:
I unplugged the XT60 connector to the printer while leaving the leds on (via the buck).
The leds keep flickering but as soon as I but a voltage meter on the XT60 pins to measure voltage the flickering stops. Getting steady 24.1V though.
What kind of wires do you use for powering from the PSU to the printer and the buck converter? The thicker the better, especially for the printer.
You also may check all connectors. If they are crimped, check the crimping.
Ofcourse I've also read your troubleshooting guide but it didn't help me to solve the problem yet. I have no levelshifter at home so that one I didn't try.
No problem, I always want to check with the troubleshooting guide first since it's quicker than me typing out everything first.
Pi 3B+ is not usually one that has an issue with the OS config, it is often Pi4.
With the longer wires, I have had users tell me putting a resistor on the line can help, but I don't think 50cm should be too long - maybe when you get closer to 100cm. The level shifter may help, but this depends heavily on the specific LEDs. If your buck converter can be adjusted, try and drop the voltage lower, since that will make the signal from the Pi closer to what the strip expects.
The maths for this is simple, the strips (to spec) want minimum 0.7*VDD for signal, so 5V this is 3.5V - above what the Pi does. However, some strips don't like 3.3V. If you drop the input voltage to slightly below 5V, then it should reduce the required signal voltage.
I assume the OS configuration test passes? It should be straightforward on a Pi3, it just needs core_freq=250 in /boot/config.txt - if there's any core_freq_min in there, try and take it out.
Yes, the configuration test passes and I have no core_freq_min in config but the core_freq=250 I have. Otherwise the test wouldn't pass either
Meanwhile a friend of mine got the same setup and uses more than a meter for the data pin and has not any problems. Only difference is a Pi4 while I have 3.
Lowering the voltage on the buck (to around 4.4) helps a little bit but it's still not steady.
You say that, but it is not that smart. I have been working to make it smarter to work out if there is additional stuff, currently it only checks if things are missing.
If lowering the voltage helps a bit, then a level shifter may work too. That sort of confirms that it is related to the signal voltage for me, it could be that your strip is being annoying and requiring higher voltage signal.