Bicolor Chase effect using Addressable LED

Real time monitoring for a safe environment!

Bicolor Chase effect using Addressable LED

Bicolor Chase (sequential illumination of LEDs in two alternating colors) 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 “Bicolor chase” effect in this project.

2. Project Demonstration Video

Welcome to the project demonstration video section. The following video showcases the key aspects of How to use EzloPi to interface an addressable LED strip and implementing a Bicolor Chase 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).
  • Power supply for the LED strip.
  • Jumper wires.
  • Breadboard for prototyping (Optional).

The wiring diagram is represented as follows:

The following connections are made in order to complete the circuit setup:

From Power Supply to ESP32 and LED Strip:

4. Interfacing the Addressable LED strip using EzloPi Web Flasher:

Set up your device/hardware by visiting config.ezlopi.com

  1. Log in using the credentials which you just set earlier while signing up.
  1. Under ezloPi on the top left corner, open the drop down menu.
  1. Select EzloPi Addressable LED.

  1. Now, click on Connect Device and a pop-up window will appear.
  1. Now, select COM Port to which your ESP32 device is connected. In our case, the COM3 port is used. Click Connect.
  1. 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.
  1. A window will appear on the bottom left side of the screen displaying “Please press BOOT button while flashing begins.”
  1. Hold the BOOT button down until the next window appears on the bottom left side of the screen which says “Installation prepared. Please release the boot button now.”
  1. After some time, a popup will appear on the bottom right hand side of your screen saying Device Flashed Successfully!. This means that your device has been set up successfully.

5. MiOS Web Application

  1. After configuring the controller with the EzloPi web flasher, head to ezlogic.mios.com
  1. Use the same credential to log in that you used for configuring the controller with the web flasher.
  1. After login, click on Platforms then click on Addressable LEDs and press Configure.
  1. A new window will open where you can control your RGB LED.
  1. 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 15.
  1. Under Effect mode, click on Bicolor Chase to apply this effect. By following the above steps, we can successfully implement a bicolor chase effect using addressable LEDs and the EzloPi smart device, enhancing the visual appeal and versatility of your IoT lighting setup.
Buy Components

eZlopie Products A single-channel 5V relay module $00.00

eZlopie Products Momentary switch $00.00

eZlopie Products Level Shifter Module (BSS138) $00.00

eZlopie Products ESP32
$00.00

eZlopie Products AC Lamp and Holder
$00.00