Closed Mat-Moo closed 4 years ago
hi mat - this sort of request is best handled by tech support - please contact the place you purchased the neopixels for technical assistance :)
Why? If I connect these up and talk to them via an ESP module they work as expected. This is a software layer issue, so the question is which layer? If you write a simple app to ramp leds from all black to all white in 255 steps, does it work as expected?
Actually one final thought, the data line is 3v, and the leds data line should be 5v, so wonder if I need a level shift in place and if that is causing a problem...
could be! :)
So I added a 3.3v to 5v level shifter onto the Raspberry pi, and pleased to say I believe that has cured the problem. So closing and leaving for others reference.
Ok, I'm new with Python, but not with pixels or development. So I've been building some new fish tank lights, and written a tiny script to ramp up the lights in the morning and back down at night. This is running on a raspberry pi zero w with a 20a 5v psu connected to 5m of 5v ws2812b leds (I run several thousand on my house at Christmas, so had a few spare!). The script is easy enough, and it's running once a minute via cron log:-
So my calcs are correct, but when I send these via pixels.fill, I am getting some weird behaviour. Same when I use pixes[0] = (x,x,x)....
BUT, only with some values, e.g. 62,62,62 is perfect, but then 64, 64, 64 is black?
What am I missing? Why am I getting this odd behavour?