Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To drive a WS2812-family LED strip with an Arduino, connect a digital output to the strip’s DIN pad, power the strip at the voltage printed on its label, and join the strip’s ground, power-supply ground, and Arduino GND. Then use a compatible library such as Adafruit_NeoPixel to send color data. For more than a few pixels, power the strip from a separate supply sized for its load—not from the Arduino’s 5 V pin.

What you need to check before wiring

  • Strip type and voltage: Confirm the product is a WS2812-family addressable strip and read its voltage rating and pad labels. Products can differ; use the strip’s own documentation rather than assuming every WS2812-compatible strip has identical electrical requirements. Adafruit’s library guide lists support for WS2811, WS2812, WS2812B, SK6812, and several Arduino-compatible boards.
  • Input end: Follow the arrows printed on the strip. They show the direction data travels; connect the Arduino to the input end marked DIN, not the output end. Pad order and layout can vary, so the strip in hand takes precedence over an illustrative wiring diagram.
  • Pixel count and current: Count the LEDs you plan to control and choose a supply with the strip’s rated voltage and adequate current capacity. Adafruit gives up to 60 mA per NeoPixel at full brightness as a planning figure, not a guaranteed draw for every strip variant. Check the manufacturer’s specifications for your strip and account for brightness and use.

Wire the strip to the Arduino

Disconnect power while making the connections. The Arduino sends data; the external supply powers the strip. The ground connection between them gives the data signal a shared reference.

  1. Connect the power supply’s positive output to the strip’s positive pad.
  2. Connect the power supply’s ground to the strip’s ground pad.
  3. Connect that same supply ground to an Arduino GND pin.
  4. Connect a chosen Arduino digital output pin to the strip’s DIN pad. Record the pin number; the sketch must use the same one.

Adafruit advises connecting ground first when bringing up a live setup: “When connecting NeoPixels to any LIVE power source or microcontroller, ALWAYS CONNECT GROUND (–) BEFORE ANYTHING ELSE.” Follow that guidance if connecting to equipment that is already powered; the safer default is to disconnect power before wiring.

Optional data-line and supply protection

Adafruit suggests a 300–500 ohm resistor in series with the data line, placed near the first pixel. Its guide also recommends a 500–1000 µF capacitor rated at least 6.3 V across the supply rails for connections to a large power source; a separate connection page gives a broader 100–1000 µF range for larger projects. These are practical recommendations, not universal requirements for every strip. If you use an electrolytic capacitor, observe its polarity and ensure its voltage rating is suitable for the supply. See Adafruit’s best-practices guidance and powering guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
BTF-LIGHTING WS2812B IC RGB LED Strip,UL Listed,DC5V 16.4FT 300LED IP30
  • 【Individually Addressable LED Strip】 Fully programmable WS2812B ICs embedded in 5050SMD LEDs deliver true addressable RGB performance—each pixel independent with 24-bit color depth and 256 brightness levels for stunning dynamic effects: chasing, rainbow, meteor, and beyond. Plug-and-play ready with pre-installed 3-pin JST-SM connectors and separable power wires.
  • 【Smart Value Engineering】 BTF-LIGHTING's alloy wire WS2812B strips offer the same 24-bit color and 256-level brightness as pure gold-wire versions, but at a fraction of the cost. Achieve professional-grade dynamic effects—chasing, rainbow, meteor—with entry-level pricing. For premium applications, pure gold wire variants are also available.
  • 【UL Listed】UL-certified LED strip for guaranteed safety, featuring 3M double-sided adhesive, UL-approved wires and circuit boards.IP30/IP65 versions come with 3M double-sided adhesive for easy mounting; IP67versions require fastening clips (no adhesive included).
  • 【Parameter】Flexible and cuttable 16.4ft LED strip 300LEDs=300IC=300Pixle.10mm Width.Black PCB. Cuttable every 50cm (at solder joints) for flexible customization.
  • 【Versatile Functions】Compatible with multiple controllers: DIY Projects (SP803E,SP805E,ESP32, ESP8266,WLED, Rasp Pi, UNO R3 etc.), Tuya APP (DR03W), BanlanX APP (SP630E/SP530E/SP611E/SP602E/SP608E/SP107E/SP105E etc.),industrial-grade (K1000C, K8000C, etc.). Choose the right controller per your project.Recommended power supply: DC5V 10A 50W (for 16.4FT 300LED strip).

Choose a safe power source

Do not assume an Arduino can supply the strip’s full current. Adafruit’s NeoPixel guide uses about 500 mA continuously on the Arduino 5 V pin as a guide figure, but the board design and power path affect what is available. The same guide’s up-to-60 mA-per-pixel full-brightness planning figure means even a modest strip can exceed what is sensible to draw through the board. Use a separate, regulated supply when the expected load exceeds the available board current, and size it for the strip’s voltage and documented load.

Neopixels will not light simply because power is applied: a microcontroller and programmed data signal are required. With an external supply, keep the grounds common even though the strip’s positive supply does not come from the Arduino. If using a 3.3 V Arduino-compatible board with a strip powered at 5 V, verify that the specific strip accepts the board’s data-high voltage; Adafruit’s note that 3.3 V data is acceptable with NeoPixels powered directly from a 3.7 V LiPo does not establish compatibility for every 5 V strip and controller pairing.

Best Value
SEZO WS2812B ECO LED Strip Light 16.4FT 60LEDs/m Individually Addressable
  • Individually Addressable LED Strip: You can control each LED individually! Each SMD 5050 LED has an integrated driver IC that allows you to control color and brightness independently or add sophisticated lighting effects to your project. 256-bit luminance displays and 24-bit color display. Chasing Lighting, Rainbow, Fire, Meteor, rhythm, etc all kinds of scenes and special effects.
  • Compatible with Multiple Controllers: Our ws2812b ic led strip is compatible with RB3+SP630E, SP611E, SP608E, SP602E etc Bluetooth music Controllers, SP530E, WT-SPI, SP511E etc smart 2.4GHz Wi-Fi Alexa music controllers, and you can design DIY effects according to different requirements.Chasing Lighting, Rainbow, Fire, Meteor, rhythm, etc all kinds of scenes and special effects. Dream full color Programmable LED Strip.
  • Connectable&Easy Installation: RGB LED light has a 3-pin JST connector and separate power/ground wires at both ends. Each WS2812B LED light bar can be easily connected end-to-end through the 3-pin JST connector, power/ground wires is used to feed power when the voltage drops.You can cut or connect the led strips to meet your needs.
  • Wide Applications: DC5V LED strips is safe for children and pets.These LED lights can be used in hotels, karaoke TV, bars, gambling halls, Christmas decorations to improve atmosphere, for cars/shops/homes, etc. use. Note: IP30 not waterproof, only suitable for indoor decoration; IP65 silicone coating waterproof, can be exposed to water for short time.
  • Please Note: Only Supports DC5V Power Supply. Never use 12V or 24V power supply. Please do not use higher voltage than 5 V, otherwise the entire strip will be damaged. Light up 1 color(red or green or blue or pure white) 0.1W/LED. Light up 2 colors (red+green) 0.2W/LED, Light up 3 colors (red+green+blue=mixed white) 0.3W/LED. In addition, each LED can be switched off individually without damaging the residual strip.
Rank #4
BTF-LIGHTING WS2812B IC RGB LED Strip,UL Listed,DC5V 16.4FT 300LED IP30
  • 【Individually Addressable LED Strip】 Fully programmable WS2812B ICs embedded in 5050SMD LEDs deliver true addressable RGB performance—each pixel independent with 24-bit color depth and 256 brightness levels for stunning dynamic effects: chasing, rainbow, meteor, and beyond. Plug-and-play ready with pre-installed 3-pin JST-SM connectors and separable power wires.
  • 【Smart Value Engineering】 BTF-LIGHTING's alloy wire WS2812B strips offer the same 24-bit color and 256-level brightness as pure gold-wire versions, but at a fraction of the cost. Achieve professional-grade dynamic effects—chasing, rainbow, meteor—with entry-level pricing. For premium applications, pure gold wire variants are also available.
  • 【UL Listed】UL-certified LED strip for guaranteed safety, featuring 3M double-sided adhesive, UL-approved wires and circuit boards.IP30/IP65 versions come with 3M double-sided adhesive for easy mounting; IP67versions require fastening clips (no adhesive included).
  • 【Parameter】Flexible and cuttable 16.4ft LED strip 300LEDs=300IC=300Pixle.10mm Width.White PCB. Cuttable every 50cm (at solder joints) for flexible customization.
  • 【Versatile Functions】Compatible with multiple controllers: DIY Projects (SP803E,SP805E,ESP32, ESP8266,WLED, Rasp Pi, UNO R3 etc.), Tuya APP (DR03W), BanlanX APP (SP630E/SP530E/SP611E/SP602E/SP608E/SP107E/SP105E etc.),industrial-grade (K1000C, K8000C, etc.). Choose the right controller per your project.Recommended power supply: DC5V 10A 50W (for 16.4FT 300LED strip).
Rank #3
BTF-LIGHTING WS2812B IC RGB LED Strip,UL Listed,DC5V 16.4FT 300LED IP30
  • 【Pure Gold Wires】High-quality LED Chip. Instead of others' alloy chip wire or copper chip wire, This WS2812B RGB LED use Pure Gold Wires inner, which more stable, have exceptional quality, ultra bright, less light decay and longer life.
  • 【Individually Addressable WS2812B IC】 WS2812B IC Built-in 5050 SMD .Supporting SPI individual addressing, each LED is independently programmable; 24-bit color depth and 256-level brightness control enable smooth, precise full-spectrum lighting effects including static, chasing and dynamic modes
  • 【UL Listed】UL-certified LED strip for reliable safety, equipped with 3M double-sided adhesive; UL-approved wires, 3-pin connectors and circuit boards included. IP30/IP65 versions come with 3M tape for easy mounting; IP67 version requires fastening clips (3M tape not included)
  • 【Parameter】Flexible and cuttable 16.4ft LED strip 300LEDs=300IC=300Pixle.3-pin connectors pre-installed on either end for easy daisy chain connection.10mm Width.Black PCB.
  • 【Versatile Functions】Compatible with multiple controllers: DIY Projects (SP803E,ESP32, WLED, Rasp Pi, UNO R3 etc.), Tuya APP (DR03W), BanlanX APP (SP630E/SP530E/SP611E/SP602E/SP608E/SP107E/SP105E etc.),industrial-grade (K1000C, K8000C, etc.). Choose the right controller per your project.Recommended power supply: DC5V 10A 50W (for 16.4FT 300LED strip).
Rank #2
BTF-LIGHTING WS2812B IC RGB LED Strip,UL Listed,DC5V 3.28FT 60LED IP30
  • 【Pure Gold Wires】High-quality LED Chip. Instead of others' alloy chip wire or copper chip wire, This WS2812B RGB LED use Pure Gold Wires inner, which more stable, have exceptional quality, ultra bright, less light decay and longer life.
  • 【Individually Addressable WS2812B IC】 WS2812B IC Built-in 5050 SMD .Supporting SPI individual addressing, each LED is independently programmable; 24-bit color depth and 256-level brightness control enable smooth, precise full-spectrum lighting effects including static, chasing and dynamic modes
  • 【UL Listed】UL-certified LED strip for reliable safety, equipped with 3M double-sided adhesive; UL-approved wires, 3-pin connectors and circuit boards included. IP30/IP65 versions come with 3M tape for easy mounting; IP67 version requires fastening clips (3M tape not included)
  • 【Parameter】Flexible and cuttable 3.2ft LED strip 60LEDs=60IC=60Pixle.3-pin connectors pre-installed on either end for easy daisy chain connection.10mm Width.Black PCB.
  • 【Versatile Functions】Compatible with multiple controllers: DIY Projects (SP803E,SP805E,ESP32, WLED, Rasp Pi, UNO R3 etc.), Tuya APP (DR03W), BanlanX APP (SP630E/SP530E/SP611E/SP602E/SP608E/SP107E/SP105E etc.),industrial-grade (K1000C, K8000C, etc.). Choose the right controller per your project.Recommended power supply: DC5V 2A 10W (for 3.28FT 60LED strip).
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Install Adafruit_NeoPixel and run its example

  1. In Arduino IDE, open Sketch > Include Library > Manage Libraries…, search for Adafruit NeoPixel, and install the library. The installation guide also documents ZIP installation.
  2. Open File > Examples > Adafruit NeoPixel > strandtest. The example is a useful first check before adding a custom effect.
  3. Set the example’s pixel count to the number of LEDs in your strip and its data pin to the Arduino output wired to DIN. Confirm that the selected board is supported and the sketch compiles.
  4. Upload the sketch with the strip’s supply connected, grounds joined, and wiring checked. The test patterns should run along the strip in the direction of its data arrows.

Troubleshoot a strip that does not respond

  • No LEDs light: Confirm the strip has power at its rated voltage, that the supply is connected to the correct positive and ground pads, and that the sketch is running. Power alone does not make addressable pixels illuminate.
  • The first pixel or whole strip is dark: Check that the Arduino pin goes to DIN at the input end, not DOUT. Verify the data pin and pixel count in the sketch match the hardware.
  • Behavior is erratic: Confirm the Arduino and strip supply grounds are connected. Check for a secure data connection and consider the series resistor and supply capacitor described above.
  • Only some pixels work or colors are wrong: Recheck the strip’s direction, pixel count, and product-specific requirements; do not assume another strip’s wiring layout or voltage applies to yours.
  • Reset, dimming, or unreliable operation under load: Reassess whether the supply can handle the strip’s documented current and whether power is being routed through the Arduino unnecessarily. Reduce brightness while diagnosing, and follow the strip maker’s guidance for power injection on long runs.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.