Zigbee Sleeping Configuration for Battery-Based Remote Implementation on nRF52840

Hi everyone,

Environment:

  • nRF Connect SDK v2.8.0
  • Light Switch example

I’m currently working on implementing a Zigbee Sleepy End Device (SED) for a battery-operated remote control using the nRF52840.

Requirements:

  1. The device should wake up from sleep mode upon a switch press and immediately serve its functionality.
  2. After waking up, the device should rejoin the Zigbee network and continue operating.

Current Progress:

  • I’m using the Light Switch example as the base.
  • I have successfully operated switches and joined the device to the Zigbee network.

Problem:

The current implementation results in high battery consumption, as I noticed that the system sleep mode is not enabled by default in this example.

Request for Guidance:

As I’m new to nRF development, I would appreciate any suggestions for:

  1. Examples or code snippets demonstrating Zigbee Sleepy End Device configurations.
  2. Documentation or guides specifically for enabling sleep modes in Zigbee applications using the nRF Connect SDK.
  3. Tips on optimizing battery life for such applications.

Rgeards,

Suresh

  • Hi Suresh,

    The Zigbee Light switch sample can run with SED behaviour if you boot the device while pressing button 3. Are you using the sample in the SED mode? If not, please see the relevant sample documentation here.

    If you want the application to configure the SED behaviour by default you can modify the sample to call the zigbee_configure_sleepy_behavior(true) function regardless of the state of button 3.

    For general information on SED behaviour and tips for saving more power, please see the Sleepy End Device behavior documentation. Since the light bulb sample has the SED behaviour enabled when booting while button 3 is pressed, further power saving steps can be taken to reduce the sleep current to ~1.8 uA. See the Power saving during sleep section to see those steps.

    Also refer to the sleep current table in the nRF52840 product specification for expected values for different sleep modes.

    Best regards,

    Maria

Related