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-ESP32 Zigbee Light Bulb Example

    This example shows how to configure the Zigbee end device and use it as a Home Automation (HA) on/off light bulb.

    **This example is based on ESP-Zigbee-SDK example esp_zigbee_HA_sample/HA_on_off_light.** # 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-H2 or ESP32-C6) as Zigbee end device (loaded with Zigbee_Light_bulb example)

    ### Configure the Project Set the LED GPIO by changing the `LED_PIN` definition. By default, the LED_PIN is `RGB_BUILTIN`

    . By default, the `neoPixelWrite` function is used to control the LED. You can change it to digitalWrite to control a simple LED. #### 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 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
        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).