Adafruit’s Neopixel Strips have up to 32 adressable LEDs per meter. It allows you to set RGB values for each of these LEDs with 7-bit PWM precision. Moreover, it’s also made of flexible PCB material and comes in weatherproof sheathing, making it compatible for various projects and applications like wearables or simply decorating your room (Neopixels + the Dark Knight example)!
Excited yet? Continue reading for a basic tutorial on how to get started with the Neopixel strips! (If you want to watch the video version instead, you can check it out at our Youtube channel or at our Facebook page. Subscribe to get the latest news and tutorials as they come out! 😀 )
STEP 1. Get the materials needed. For this simple tutorial, you will need the Neopixel strip itself, an Arduino (we used an Arduino Uno, but you can use whatever Arduino-compatible MCU you have), an Arduino A-B USB cable, wires, and something to code on (laptop or desktop computer).
STEP 2. Next, wire up the circuit! Just follow the diagram below (it’s color-coded too). After you do that, go ahead and power up your Arduino (you can use an Arduino A-B USB cable to connect it to your laptop’s USB port, or connect it to a 5V source using the jack).
STEP 3. Install the Neopixel library from Adafruit’s Github repository. If you’re new to installing libraries on Arduino, you can check out THIS guide. (Psst, if you’re really new and don’t have the Arduino IDE yet, you can download it HERE. 😀 )
STEP 4. After you have installed the library, you can open “strandtest.ino” from the examples folder (Arduino > Libraries > Adafruit_Neopixel > examples > strandtest.ino). Upload the code to your board and you should see the LED strip light up! If you want to see what each line of code does, I highly suggest you check out the video version of this tutorial at our Youtube channel or at our Facebook page.
Congrats, you have successfully been introduced to the wonderful world of Neopixels! Adafruit also has Neopixel rings, breadboard-friendly Neopixels, and even sewable individual Neopixels (for wearables!) which have for all you Filipino developers right here!