I have hooked up a programmable ws2812 LED . The Datasheet says “Default power on does not light up”
Using the hook up guide and a breadboard I have a single LED where …
- DIN is attached to GPIO 10 on the PiZero (tried with and without 220 resister)
- VDD is attached 5V (Board Pin 2) - For single LED this should be fine
- GND is attached (Board Pin 6)
- DOUT is not attached
I am testing just with one LED for now. This is the Python Script saved as app.py that is running using sudo python3 app.py
import board
import neopixel
pixels = neopixel.NeoPixel(board.D10, 1)
#pixels.fill((0, 255, 0))
pixels[0] = (255, 0, 0)
pixels.show()
SPI has also been enabled on the Pi
I have confirmed with a multimeter there is 5V on the LED pins and for one LEd I believe the 5v out is good enough.
However it runs without code error however the LED does not light up in any way.
I have also posted my question here: python 3 - Programmable ws2812 LED fail to light up on Pi Zero - Raspberry Pi Stack Exchange
9 posts - 2 participants