Skip to main content

[Programa] Lâmpada Zigbee

(provisório) [1]
8_material_list.png

Lista de Material

8_material_list.png

Notas I

Este exemplo mostra como configurar o dispositivo final Zigbee e utilizá-lo como lâmpada de domótica (HA) de ligar/desligar.

Hardware Required

* One development board (ESP32-C6) acting  as Zigbee coordinator (loaded with Zigbee_Light_switch example)
* A USB cable for power supply and programming
* Choose another board (ESP32-C6) as Zigbee end device (loaded with Zigbee_Light_bulb example)

.Using Arduino IDE

* Before Compile/Verify, select the correct board: `Tools -> Board`.
* Select the End device Zigbee mode: `Tools -> Zigbee mode: Zigbee ED (end device)`
* Select Partition Scheme for Zigbee: `Tools -> Partition Scheme: Zigbee 4MB with spiffs`
* Select the COM port: `Tools -> Port: xxx` where the `xxx` is the detected COM port.

    Lâmpada Zigbee

      Notas II

      This example shows how to configure Zigbee Coordinator and use it as a  Home Automation (HA) on/off light switch.
      Hardware Required

      * One development board (ESP32-C6) acting  as Zigbee coordinator (loaded with Zigbee_Light_switch example)
      * A USB cable for power supply and programming
      * Choose another board (ESP32-C6) as Zigbee end device (loaded with Zigbee_Light_bulb example)

      Configure the Project
      Set the Button Switch GPIO by changing the `GPIO_INPUT_IO_TOGGLE_SWITCH` definition. 
      Using Arduino IDE
      * Before Compile/Verify, select the correct board: `Tools -> Board`.
      * Select the Coordinator Zigbee mode: `Tools -> Zigbee mode: Zigbee ZCZR (coordinator)`.
      * Select Partition Scheme for Zigbee: `Tools -> Partition Scheme: Zigbee 4MB with spiffs`.
      * Select the COM port: `Tools -> Port: xxx where the `xxx` is the detected COM port.
      * Optional: Set debug level to info to see logs from Zigbee stack: `Tools -> Core Debug Level: Info`.
      Interruptor Zigbee
        Exemplo
        8_material_list.png
        Referência

        [1] Espressif. arduino-esp32 Zigbee examples. url: https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Zigbee (acedido em 30/08/2024).