EzloPi Dimmable LED Example

EzloPi Dimmable LED Example

a. Hardware Requirements
i. 1 ESP32 or ESP32S3 flashed with EzloPi firmware
ii. 1 LED light
iii. 2 Jumper wires
b. Software Requirements
i. EzloPi desktop application
ii. Vera mobile application

Circuit connection in ESP32

Adding dimmable LED from EzloPi desktop application
1. Connect the ESP32 to the computer and open the EzloPi desktop
2. Scan, select and open the serial port, connecting to the ESP32.

3. Click on the "Add Device" button as shown below.

4. Select "PWM" option from the dropdown menu.

5. Configure the LED:
        1. Give it a name. (“Dimmable LED” for example)
        2. Select the GPIO number; almost all of the GPIO pins support PWM
        3. Select the resolution; 12 bits recommended.
        4. Set device subtype to “Generic PWM Load”
        5. Select the frequency in Hertz to desired value.
        6. Set the duty cycle.
        7. Then click “OK”

  1. Device name, type, subtype and GPIOs are displayed in the screen; click
    on “set config” to burn the configurations to the ESP devices.

  2. Finally, reset the device by clicking on “Reset”.

Dimmable LED in Vera Mobile Application
Login to the Vera app using username and password.

  1. Identify the device with dimmable LED and click to connect to the device; wait while loading.

  2. The dimmable LED connected will be shown in the ‘Devices’ panel.

  3. Click on the device to open a slider that can change the duty cycle of the dimmable LED.

1 Like

Making smart devices has now become smart!
Its extremely easy to make any electrical device smart and connected thanks to this Open Source EzloPi.com initiative.