![ezloPi addressable LED Chase Rainbow White Effect](https://www.ezlopi.com/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect.webp)
Control RGB using your imagination and EzloPi!
ezloPi addressable LED Chase Rainbow White Effect
LED Chase Rainbow White effect implementation by interfacing the addressable LED with the EzloPi device.
1. About this example
This project demonstrates the interfacing of the addressable LED strips, such as WS2812B, with the ESP32-based EzloPi device. This integration will enable users to control the RGB colors and implement various effects of the LED strips through the EzloPi platform such as the MiOS web and mobile applications. The addressable LED feature adds a dynamic element to smart home environments, enabling users to create immersive lighting effects tailored to different occasions or moods.
Various effects can be set up using the addressable LED strip and EzloPi device as we have demonstrated the “Chase Rainbow White” effect in this project.
2. Project Demonstration Video
Welcome to the project demonstration video section. The following video showcases the key aspects of ezloPi addressable LED Chase Rainbow White Effect, providing a visual walkthrough of its implementation.
3. Circuit Diagram & Interface
The following components are required for interfacing with the EzloPi device:
- EzloPi device (ESP32-based controller board)
- Addressable LED strip (WS2812B, WS2811, SK6812, etc)
- Level shifter module (BSS138)
- 12V to 5V DC-DC Buck Converter (LM2596, etc)
- Power supply for the LED strip (5V/12V)
- Resistor (62 Ohms) (optional)
- Jumper wires
- Breadboard for prototyping (Optional)
Note:
Ensure that stable output voltages (5V/12V) for both the ESP32 and LED are available.
When using a level shifter, including a resistor is optional. Additionally, it's worth noting that some LED strips come with an onboard resistor, making its inclusion optional for effective voltage level conversion.
Circuit interfacing and set-up guide:
Connect your RGB LED(whether 5V or 12V) strip’s data pin (Din) to RX2 pin (GPIO16) on ESP32 board.
Addressable LED strip | ESP32 |
LED Data (Din) | RX2 (GPIO16) |
Connections for 5V LEDs (such as WS2812B):
Following interconnections as shown below are made for interfacing the addressable LED to the EzloPi device:
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-5v-wiring-diagram.webp)
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-circuit-setup.webp)
Connections for 12V LEDs (such as WS2811,WS2815 or SK6812):
For LEDs with a 12V power source, a step-down/buck converter is used for converting the 12V to 5V. Make sure that the step-down converter 5V output is stable otherwise try adjusting it using the potentiometer if available.
Following interconnections as shown below are made for interfacing the addressable LED to the EzloPi device:
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-12v-wiring-diagram.webp)
4. Interfacing the Addressable LED strip using EzloPi Web Flasher:
1. Set up your device/hardware by visiting config.ezlopi.com
![](/wp-content/uploads/2024/03/ezlopi-addressable-led-blink-effect-1.webp)
- Log in using the credentials which you just set earlier while signing up.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-1.webp)
- Under ezloPi on the top left corner, open the drop down menu.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-2.webp)
- Select EzloPi Addressable LED.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-3.webp)
- Now, click on Connect Device and a pop-up window will appear.
Click Connect
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-4.webp)
- Now, select COM Port to which your ESP32 device is connected. In our case, the COM3 port is used. Click Connect.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-5.webp)
- If you are new to this and it’s your first time configuring, select Create new Device ID. Enter Wifi SSID and Wifi password and then click on Flash Device.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-6.webp)
- A window will appear on the bottom left side of the screen displaying “Please press BOOT button while flashing begins.”
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-7.webp)
- Hold the BOOT button down until the next window appears on the bottom right side of the screen which says “Installation prepared. Please release the boot button now.”
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-8.webp)
- After some time, a popup will appear saying Device Flashed Successfully! This means that your device has been set up successfully.
5. MiOS Web Dashboard
- After configuring the controller with the EzloPi web flasher, head to ezlogic.mios.com
![](/wp-content/uploads/2024/01/combustible-gas-detection-using-mq-9-gas-sensor-EzloPi-web-flasher.png)
- Use the same credentials to log in that you used for configuring the controller with the web flasher.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-9.webp)
- After login, click on Platforms then click on Addressable LEDs and press Configure.
Note: Make sure your PC and Ezlopi device are connected on the same network to be able to enable this function.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-10.webp)
- A new window will open where you can control your RGB LED strip.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-11.webp)
- On the top right side of the screen under Segment 0, you can set the number of LEDs you want to set for specific effect. In our case, we have set it to 10.
![](/wp-content/uploads/2024/05/ezlopi-addressable-led-chase-rainbow-white-effect-12.webp)
- Under Effect mode, click on Chase Rainbow White to apply this effect. By following the above steps, we can successfully implement a Chase Rainbow White effect using addressable LEDs and the EzloPi smart device, enhancing the visual appeal and versatility of our IoT lighting setup.
![](https://www.ezlopi.com/wp-content/uploads/2023/05/product-1.png)
eZlopie Products A single-channel 5V relay module $00.00
![](https://www.ezlopi.com/wp-content/uploads/2023/05/product-2.png)
eZlopie Products Momentary switch $00.00
![](https://www.ezlopi.com/wp-content/uploads/2023/05/product-3.png)
eZlopie Products Level Shifter Module (BSS138) $00.00
![](https://www.ezlopi.com/wp-content/uploads/2023/05/product-4.png)
eZlopie Products ESP32
$00.00
![](https://www.ezlopi.com/wp-content/uploads/2023/05/product-5.png)
eZlopie Products AC Lamp and Holder
$00.00