PROJECT: NeoPixel WS2812 WS2812B RGB LED Magic Project

UECIDE software to drive the LED - https://uecide.org/tour

Youtube video for project ideas - WS2812/WS2812B

Youtube video tutorials

Website references & tutorials

Some products to reference

Things to remember - for #include <Adafruit_NeoPixel.h>

  • Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);

    • Note: ensure correct device/part is declared (for NEO_GRBW or NEO_GRB). The data size is different and the outcome will be impacted.

    • https://learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library-use

  • pixels.setBrightness(255); //. <— 255 is brightest; 0 is the lowest

  • pixels.show();

  • pixels.clear();

  • There is command to clear all LED, but below code to change color of all LEDs.

for(int i = 0; i < pixels.numpPixels(); i++){

  pixels.setPixelColor(i, RedValue, GreenValue, BlueValue);

}

pixels.show();


Previous
Previous

RESEARCH: RoboGames (aka ROBOlympics) - The World's Largest Robot Competition

Next
Next

PROJECT: Humanoid Animatronic eyes