I've been using a connector cable I soldered together (shown above in the first photo) so I could adapt the JST PH connector on the PropMaker to the JST SM connectors most of the strips I have tend to use. I believe I was able to rule out that being the cause as A) I've soldered together several, and I don't think my soldering is *that* bad lol, B) I also tried a breadboard setup, as shown in the second photo above, and C) the issue only occurs with CircuitPython, not Arduino.
I have 2 code samples; the first exhibits the all-white-strip issue with the slim dots (and intermittently can cause the green-first-pixel issue on other strips), and the second one more reliably exhibits the green-first-pixel issue on the affected strips.
Sample 1 (all-white-strip issue with slim dot NeoPixels):
Code: Select all
import board
import digitalio
import neopixel
power = digitalio.DigitalInOut(board.D10)
power.switch_to_output()
power.value = True
pixels = neopixel.NeoPixel(board.D5, 20, brightness=0.3, auto_write=False)
pixels.fill((255, 0, 0))
pixels.show()
while True:
pass
Code: Select all
import board
import digitalio
import neopixel
from adafruit_led_animation.animation.pulse import Pulse
power = digitalio.DigitalInOut(board.D10)
power.switch_to_output()
power.value = True
pixels = neopixel.NeoPixel(board.D5, 20, brightness=0.3, auto_write=False)
pixels.fill((255, 0, 0))
pixels.show()
animation = Pulse(pixels, speed=0.01, color=(128, 0, 32), period=3)
while True:
animation.animate()
* The all-white issue only occurs with the slim dots (https://www.adafruit.com/product/5225).
* Both issues only occur in CircuitPython. Using the same hardware configuration, with 2 different PropMakers, and both the Feather M4 Express and RP2040, everything worked as expected in Arduino.
* I tried every power source I have on hand, including the bog standard 5V 2A adapters like the ones Adafruit sells, plugging directly into the USB port on both my MacBook and PC, using both powered/unpowered USB hubs, using various phone chargers, and even using a battery pack with 3 AA batteries to which I soldered a USB connector. It did not seem to affect the result.
I'm hoping someone else has all the parts on hand so they can try to reproduce the issues I'm seeing, especially the all-white issue on the slim dot strips, as I'd love to be able to use them for this project.