This tutorial may be outdated. It is no longer recommended for beginners, and may need modifications to code or hardware that is not indicated in the tutorial.

Hardware

This guide has been archived, there may be changes in the MicroPython API that makes this guide not work, and we won't be updating or supporting it.

Parts

You'll need the following hardware for this guide:

Wiring

Connect your hardware as shown below:

  • Power supply ground/- to NeoPixel GND/ground and Feather HUZZAH ESP8266 GND/ground.
  • Power supply 5V/+ to NeoPixel +5V and Feather HUZZAH ESP8266 USB pin.  For other ESP8266 boards check its specs to see which pin can support a 5V power input that runs the board.
  • Feather HUZZAH ESP8266 pin 15 to NeoPixel Din/input.  You can use most other GPIO pins on the ESP8266 (except pin 16) but this guide will assume you're using pin 15.
  • If you're using a capacitor to protect the pixels (highly recommended!) connect it as follows:
    • Capacitor cathode (the pin on the side with the stripe) to power supply ground/-.
    • Capacitor anode to power supply 5V/+.

If you're using a barrel jack to terminal block adapter it's easiest to connect the capacitor directly to the terminals like below (be sure the side with the stripe is connected to the negative/ground terminal!):

This guide was first published on Dec 09, 2016. It was last updated on Dec 09, 2016. This page (Hardware) was last updated on Dec 12, 2018.