Alexa RGB LEDs (WS2812B) Rainbow Light With 3D Case

by RahulT96 in Circuits > Arduino

512 Views, 5 Favorites, 0 Comments

Alexa RGB LEDs (WS2812B) Rainbow Light With 3D Case

IMG_20220926_180351.jpg

In this project, we will connect a programmable RGB LED strip to the Lolin NodeMCU V3 board and program it to show rainbow colors. We will also create a 3D printed enclosure to make it wall lamp.

Supplies

IMG_20220614_151427.jpg

1) Addressable RGB LEDs (WS2812B)

2) Wemos D1 Mini (or any other ESP8266 Arduino board)

3) Dupont and USB cables

Arduino IDE Setup

You need the following libraries for this project:

1) FastLED: https://github.com/FastLED/FastLED

2) Aircoookie Espalexa: https://github.com/Aircoookie/Espalexa

Download the libraries as zip files and add them to your Arduino sketch as follow:

Sketch -> Include Library -> Add .zip library

3) Select the following board from the board manager: NodeMCU 0.9

Connection

Presentation1.png

Arduino --> LED Strip

5V --> 5V

GND --> GND

D4 --> Din

Arduino Sketch