Datasheet

Python & CircuitPython
It's easy to use NeoPixel LEDs with Python or CircuitPython and the Adafruit CircuitPython
NeoPIxel (https://adafru.it/yew) module. This module allows you to easily write Python code that controls your LEDs.
You can use these LEDs with any CircuitPython microcontroller board or with a computer that has GPIO and Python
thanks to Adafruit_Blinka, our CircuitPython-for-Python compatibility library (https://adafru.it/BSN).
CircuitPython Microcontroller Wiring
First wire up some NeoPixels to your board exactly as shown on the previous pages. Verify your connection is on the
DATA INPUT or DIN side. Plugging into the DATA OUT or DOUT side is a common mistake! The connections are
labeled and some formats have arrows to indicate the direction the data must flow.
Here's an example of wiring a Feather M0 to a NeoPIxel strip:
Board USB to LED 5V
Board GND to LED GND
Board D5 to LED Din
Python Computer Wiring
Since there's
dozens
of Linux computers/boards you can use we will show wiring for Raspberry Pi. For other platforms,
please visit the guide for CircuitPython on Linux to see whether your platform is supported (https://adafru.it/BSN).
Here's the Raspberry Pi wired to a NeoPixel strip:
Do not use the USB pin on your microcontroller for powering more than a few LEDs! For more than that, you'll
want to use an external power source. For more information, check out the Powering NeoPixels page of this
guide: https://learn.adafruit.com/adafruit-neopixel-uberguide/powering-neopixels
© Adafruit Industries https://learn.adafruit.com/adafruit-neopixel-uberguide Page 24 of 100