{"title":"Flexible RGB LED Strip (NeoPixel/WS2812/SK6812 compatible) - 60 LED/Metre","handle":"flexible-rgb-led-strip-neopixel-ws2812-sk6812-compatible-60-led-meter","url":"/products/flexible-rgb-led-strip-neopixel-ws2812-sk6812-compatible-60-led-meter","description":"Part of our Illuminate range of LED strips and accessories, these flexible RGB LED strips are packed with 60 RGB LEDs per metre giving you lots of blinky for your project! Great for advancing from basic LEDs, learning how to code, lighting projects, art and many many more uses.\nThey use WS2812 LEDs which are the same types used in the popular 'NeoPixel' range. These work in the exact same way and can be easily controlled using the same libraries, such as the well-established FastLED Arduino library.\nJust a single Arduino data pin is required to run these LED strips (along with power of course!) and as each LED is individually addressable via the integrated driver chips, they can be chained together to make stunning light projects! Due to the timing requirements, these are best used with an Arduino rather than the Raspberry Pi.\nThe strips have a female JST-SM connector and require a 5V power supply. They can consume up to 60mA peak per LED at maximum brightness (but more like 20mA in a realistic, multi-colour scenario), so using your microcontroller's 5V line isn't going to work well unless you're running a very short strip. We recommend a separate power supply such as our 5V 5A PSU. See the wiring section below for more information.\nThe PCB inside these strips is 10mm wide. You can cut the flex PCB at the cut lines anywhere on the strip - handy if you want to join multiple strips together with connectors, shorten strips or add your own wiring. When doing this, keep the current requirements mentioned above in mind and be aware that there's only so far you can go before you'll start seeing dimming/brown-out at the end.\nNote: The LEDs may sometimes be SK6812 depending on the batch, but they function in the exact same way as WS2812 LEDs. We cannot accept returns on modified strips.\nOptions Available\nWe have these WS2812 LED strips available in 2 versions (select above before adding to cart):\n\n\n1m with white PCB and JST-SM male end\n\n\n1m with black PCB and JST-SM male end\n\n\nHow to Wire Up WS2812/SK6812 LED Strips\nFirstly, some important points on power, and we'll assume you're using a separate power supply:\n\nOnly power these LED strips with a quality regulated 5V power supply - anything above 5V will damage the strip!\nYou must ensure a common ground between your microcontroller and the LED Strip power supply\nEstimate for around 60mA (peak) per LED peak (but realistically you can budget for around 20mA per LED if you're using colours and not constantly lit)\n\nLED Strip Connector\nThese strips have a 3-pin female JST-SM connector, which includes 3 coloured wires which we've indicated in the table below.\nThe other end has another JST-SM connector (male) - great for joining multiple strips together without the need to cut or solder! You'll need to look at the tiny arrows on the LED strip to identify which side connections should be made.\n\n\n\nWire colour\nFunction\n\n\nBLACK\nGND\n\n\nGREEN\nData\n\n\nRED\n5V\n\n\n\nThere are also additional red and black (5V and GND) wires next to this connector. These are the same 5V and GND lines - these just offer an alternative way to externally wire power to the strips.\nWhen using an external power supply, we suggest using a DC terminal block power adapter to allow you to easily wire in the power lines from the strip and join the GND lines from the power supply and microcontroller. You will also need to ensure there is a common ground (GND) connection between your microcontroller and the LED strip power supply (see wiring section below for more info).\nYou may want to pick up some 3-pin JST-SM Plug + Receptacle sets for your project.\nArduino Wiring\nHere's an example for the Arduino UNO, using the same pins and wiring as we used when taking the colourful product photos further up the page.\nImportant: You must add a 470ohm resistor between your Arduino and the data pin! This protects it against any spikes that could damage the strip's LEDS.\n\n\n\nWire colour\nFunction\nPower Supply\nArduino\n\n\nBLACK\nGND\nGND\nGND\n\n\nGREEN\nData\n-\nDigital Pin 4 (+ 470 ohm resistor)\n\n\n\nRED\n5V\n5V\n-\n\n\n\n\nArduino Code\nWe're big fans of the excellent FastLED Arduino library which can be installed on the Arduino IDE. The documentation is detailed, easy to follow and there are lots of example scripts available in the library to get you started.\nWe highly recommend grabbing a coffee and reading the FastLED documentation fully before continuing.\nArduino Library Install\nTo install the FastLED library in your Arduino IDE, go to Sketch --&gt; Include Library --&gt; Manage Libraries.\nThe search for \"FastLED\" and install the FastLED option as seen below (already installed for us). Once installed, close the window and restart your Arduino IDE.\n\nAs an example, for the blinky product photo you can see above we used the 'DemoReel100' example sketch from File --&gt; Examples --&gt; FastLED --&gt; DemoReel100.\nWe then modified the sections below to match the 144 WS2812 LED strip, the pins we used on our Arduino and the order of the RGB wiring (more on that below):\n#define DATA_PIN 4//#define CLK_PIN 5#define LED_TYPE WS2812#define COLOR_ORDER GRB#define NUM_LEDS 60\n// tell FastLED about the LED strip configurationFastLED.addLeds(leds, NUM_LEDS).setCorrection(TypicalLEDStrip);//FastLED.addLeds(leds, NUM_LEDS).setCorrection(TypicalLEDStrip);\nRGB or BGR?\nDepending on how our suppliers wire the strips (which can change between batches) the RGB colour order can be reversed.\nFrom our testing, at the time of writing our WS2812 strips are 'GRB' so you'll need to set this in your scripts to get the right colours showing. This page explains this in more detail.\nResources\n\nFastLED Library\nFastLED GitHub Wiki\nFastLED Community (Reddit)\nAdafruit NeoPixel Library\nArduino IDE\n\nPackage Contents\n\n1x 60 LED (per metre) WS2812 RGB LED strip (select style before adding to cart)\n\n\nIf you purchase more than one, you will receive multiple separate strips (not a combined length)","vendor":"PiHut","product_type":"physical","in_stock":false,"options":[{"name":"Length","values":["1m"]},{"name":"PCB Colour","values":["Black","White"]}],"variants":[{"id":718,"title":"1m / Black","sku":"PH-104556","mpn":"104556","price":8.13,"compare_at_price":11.4,"on_sale":true,"in_stock":false,"available_quantity":0,"option1":"1m","option2":"Black"},{"id":719,"title":"1m / White","sku":"PH-104554","mpn":"104554","price":8.13,"compare_at_price":11.4,"on_sale":true,"in_stock":false,"available_quantity":0,"option1":"1m","option2":"White"}]}