-
Using #micropython and #neopixel on #ESP32, I get lots of noise. Maybe because it’s not using RMT (I assume)? Is there a better way to do this with my setup? Code is just: for p in range(256): np.fill((0,0,0)) np[p] = (10, 0, 0) np.write() sleep(0.1)
-
Huge thanks to jim_mussared for seeing this thread and adding RMT support to micropython + Neopixel. I love when Twitter works. github.com/micropython/micropython/pull/7985#issuecomment-966819511
-
My best guess is that my particular version of the neopixel library + micropython isn’t using ESP32’s RMT (remote control) for pulse generation and these timings are just too hard to bit-bang, accurately, when there are this many (256 in this 16x16 panel).
-
Confirmed (or at least: probably correct). I tried this with C++ and FastLED instead of on micropython and no ghost pixel noise. Exact same hardware. 5V on the panel; no capacitor; ESP32 on the original USB port. Guess I’ll save micropython for less-timing-sensitive work.
-
This is my bench, regulated power supply, so that’s not the problem. I have D-IN on machine.Pin(25), GND to GND, and +5V not connected from the ESP32 to the panel (but +5V and GND from the aforementioned 5A supply on the power rail).