{"product_id":"2m-rgb-led-strip-with-120-x-addressable-w2812b-rgb-leds-arduinomcu-compatible-5v","title":"2M RGB LED Strip with 120 x Addressable W2812B RGB LEDs Arduino\/MCU Compatible 5V","description":"\u003cp\u003e2M RGB LED Strip with 120 x Addressable W2812B RGB LEDs Arduino\/MCU Compatible 5V.\u003cbr\u003e\u003cbr\u003eAdd amazing colour to your next microcontrollor project with 120 RGB LEDs.\u003c\/p\u003e\r\n\u003cp\u003eA 2m long flexible LED strip light with 120 addressable WS2812B RGB LEDs to create amazing lighting displays using your favourite microcontroller. Power from 5V. IP65 water resistant rating.\u003c\/p\u003e\r\n\u003cp\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e:\u003c\/p\u003e\r\n\u003cp\u003e• 5V.\u003cbr\u003e• 2m Length.\u003cbr\u003e• IP65 Rated.\u003cbr\u003e• Flexible and Waterproof.\u003cbr\u003e• 120 x Addressable W2812B RGB LEDs.\u003c\/p\u003e\r\n\u003cp\u003e\u003cstrong\u003eSpecifications\u003c\/strong\u003e:\u003c\/p\u003e\r\n\u003cp\u003eLength: 2.0m.\u003cbr\u003eIP Rating: IP65.\u003cbr\u003eDust\/Particle Ingress Protection : 6 - Dust tight, no ingress of dust.\u003cbr\u003eLiquid\/Moisture Ingress Protection : 5 - Water jets.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eInstallation Hints, Tips and Troubleshooting:\u003c\/strong\u003e\u003cbr\u003e \u003cbr\u003eThis strip contains 120 individually addressable WS2812B RGB LEDs which can be activated using the neopixel protocol.\u003c\/p\u003e\r\n\u003cp\u003eLooking at the end of the strip, you can find 3 connections: 5V, DIN, and GND. These are connected as follows: \u003cbr\u003e\u003cbr\u003eLED Strip : UNO\u003c\/p\u003e\r\n\u003cp\u003e5V: 5V \u003cbr\u003eDIN: (any PWM pin) such as pin 6.\u003cbr\u003eGND: GND\u003c\/p\u003e\r\n\u003cp\u003eFurthermore, the LED strip can be cut and re-attached at lengths, via cutting through any of the vertical lines that cross over the pads which separate DO to DIN. The strip operates on the principle of the “Data Out” of one strip goes into the “Data In” of the next strip, and the microcontroller provides the initial “Data In”.\u003c\/p\u003e\r\n\u003cp\u003eThe following is from the WS2812B datasheet, which can be found on through the internet. For a simple strip of 3 lights, the first LED gets 3x RGB data, which it will “consume” the first bunch, and “pass on” the remaining 2. Then, the second LED will receive 2x RGB data, consume one, and pass on the remainder. This is all managed by the neopixel library.\u003c\/p\u003e\r\n\u003cp\u003eSoftware setup: To set up this strip using the arduino ecosystem, you must install the “NeoPixel” library by Adafruit.\u003cbr\u003e\u003cbr\u003eThe following code presumes that you have the first DIN pin connected to pin 6 on the Arduino.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\r\n\u003cp\u003e#include \u0026lt;Adafruit_NeoPixel.h\u0026gt;\u003cbr\u003e#define LED_PIN 6\u003cbr\u003e#define LED_COUNT 120\u003cbr\u003eAdafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);\u003cbr\u003evoid setup() {\u003cbr\u003e strip.begin(); \/\/always needed\u003cbr\u003e strip.show(); \/\/ 0 data =\u0026gt; off.\u003cbr\u003e strip.setBrightness(50); \/\/ ~20% (max = 255)\u003cbr\u003e}\u003cbr\u003evoid loop() {\u003cbr\u003e int n = strip.numPixels();\u003cbr\u003e \/\/ fph = FirstPixelHue\u003cbr\u003e for (long fph = 0; fph \u0026lt; 5 * 65536; fph += 256)\u003cbr\u003e {\u003cbr\u003e for (int i = 0; i \u0026lt; n; i++)\u003cbr\u003e {\u003cbr\u003e int pixelHue = fph + (i * 65536L \/ n);\u003cbr\u003e strip.setPixelColor(i,\u003cbr\u003e strip.gamma32(strip.ColorHSV(pixelHue))\u003cbr\u003e );\u003cbr\u003e }\u003cbr\u003e strip.show();\u003cbr\u003e delay(10);\u003cbr\u003e }\u003cbr\u003e}\u003c\/p\u003e","brand":"Techexpress NZ","offers":[{"title":"Default","offer_id":39270001999970,"sku":"TXWS3846","price":64.95,"currency_code":"NZD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1907\/5887\/products\/2m-rgb-led-strip-with-120-x-addressable-w2812b-rgb-leds-arduino-mcu-compatible-5v_SSYFAXT4ICP5.jpg?v=1655679587","url":"https:\/\/www.techexpress.co.nz\/products\/2m-rgb-led-strip-with-120-x-addressable-w2812b-rgb-leds-arduinomcu-compatible-5v","provider":"Techexpress NZ","version":"1.0","type":"link"}