These are chat archives for Makuna/NeoPixelBus

Jun 2018
Jun 13 2018 00:44
The level converter you linked is very likely not suitable for this kind of application. These transistor shifters tend to be too slow for NeoPixels, which leads to pulse-shape distortions, causing all kinds of problems. Unless your data line is longer than approx. 1 metre I suggest you try a direct connection with an inline (series) resistor of about ~50Ω. And if that does not work out, then try to get your hands on a 74HCT245 level shifter.
Guillem Cabo
Jun 13 2018 06:55
@kopierschnitte . I have had problems with random colors showing up when the clock is too fast for the level converter. Can you take a look to the signal with the scope near the LEDs that are failing?
As @r1dd1ck said, noise can be a big deal for signal integrity. I will recommend you to slow down the clock and/or use a stronger pull-up resistor. If you can take a scope screen shot it will be really useful to help you.
Jun 13 2018 12:30
@kopierschnitte These transistor levelshifters are no good for neopixels. Use any TTL 74LSxx chip with and/nand/or/nor/.. ports. But connect so that output is not inverted. 3v3 dataline to port input(s), output to neopixels. 5V to power the 74LS..
Michael Miller
Jun 13 2018 17:45
NEW UPDATE COMING: I just merged in Esp32 Hardware Support using I2S (very similar to how Esp8266 was done but without the pin restrictions). You can access it today by using Github to get the latest code. I new library (through the Arduino IDE) will be made later today and might take a day or two to show up.