EasyManua.ls Logo

Sparkfun Electronics WS2812 - Page 20

Default Icon
25 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
For more information on daisy chaining LED strips, check out this section that talks about avoiding voltage drops.
Voltage Drops Along the Daisy Chained LED Strips in Mean Well LED Switching Power Supply Hookup Guide:
Power Large Loads and Daisy Chained LED Strips
Adding Firmware
Note: This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is
your first time using Arduino, please review our tutorial on installing the Arduino IDE. If you have not
previously installed an Arduino library, please check out our installation guide.
For our example code, we'll be making use of Adafruit's fantastic NeoPixel library. Click below to download a copy
of both the example code, as well as the NeoPixel library.
ARDUINO EXAMPLE AND NEOPIXEL LIBRARY (ZIP)
The library is located in the "Adafruit_NeoPixel" folder, and the example code is found in the
"WS2812_Breakout_Example" folder.
With the library installed, open up WS2812_Breakout_Example.ino within Arduino. Before you upload the code,
make sure you adjust the PIN and LED_COUNT definitions near the top of the sketch. These define which pin the
first pixel is connected to, and how many total LEDs are linked up. Then upload away and enjoy the show!
Using the NeoPixel Library