Skip to main content

[Programa] Lâmpada Zigbee

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

Lista de Material

8_material_list.png

Notas I

Arduino-ESP32Este exemplo mostra como configurar o dispositivo final Zigbee Lighte Bulbutilizá-lo Example

como

Thislâmpada examplede shows how to configure the Zigbee end device and use it as a Home Automationdomótica (HA) on/offde light bulb.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.
      **This example is based on ESP-Zigbee-SDK example esp_zigbee_HA_sample/HA_on_off_switch.** # Supported Targets Currently, this example supports the following targets. | Supported Targets | ESP32-C6 | ESP32-H2 | | ----------------- | -------- | -------- | ##
      Hardware Required

      * One development board (ESP32-H2 or 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).

      * A USB cable for power supply and programming. * Choose another board (ESP32-H2 or ESP32-C6) as Zigbee coordinator (loaded with Zigbee_Light_switch example). ###
      Configure the Project
      Set the Button Switch GPIO by changing the `GPIO_INPUT_IO_TOGGLE_SWITCH` definition. By
      default, the LED_PIN is `GPIO_NUM_9`. ####
      Using Arduino IDE
      To get more information about the Espressif boards see [Espressif Development Kits](https://www.espressif.com/en/products/devkits).
      * 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).