BLE Mesh on Nrf52832, Tags are Battery Powered. Advertisement and Sleep on Tag Periodically Required ~2.2uA current consumption.

Hi,

i am using nrf connect extension in vs code with Zephyr OS build v3.2.99-ncs2 and Nrf connect SDK 2.3.0. Our Application requirement as Shown in below Image.

.

Tags: Sleep -> Wakeup-> Transmit Message-> Sleep periodically in interval of 5 min. Tags are Battery Powered. how can i achieve sleep mechanism with nrf52832 soc? system off example only put whole mesh tag in Deep sleep. are there any example in which it starts mesh -> send data-> back to sleep with ~ 2.2uA current consumption?

I use this given code to put normal device in sleep:

k_sleep(K_SECONDS(10)); //sleep
pm_state_force(0u, &(struct pm_state_info){PM_STATE_SUSPEND_TO_IDLE, 0, 0}); //nrfonly switch: 2.2 uA
k_sleep(K_SECONDS(10)); //sleep

Regards

Abhishek

Parents Reply
  • Hi,

    If you want to look into using the radio directly, for a completely proprietary protocol, then please start a new thread for that. Here I will continue to answer within the scope of Bluetooth mesh and Bluetooth LE (BLE).

    With your power consumption requirements for the tags, a BLE beacon makes sense. You can check out various scenarios using the online power profiler for Bluetooth LE. Set the role to "Advertising (TX only)" for one-directional messaging from the tags. (I assume the tag doesn't need to receive any information from the rest of the network.)

    Please note that for normal BLE advertising, the maximum advertising interval is around 10 seconds. Since you only need to send once every 5 minutes (300 seconds) I suggest sending a few repeats of the payload using a shorter advertising interval, then no RX for the rest of the 5 minutes interval. Unfortunately the power profiler cannot provide numbers for this type of scenario, so you must do the math yourself based on the idle current and the total average.

    The devices scanning for your beacon must then be in RX all or most of the time, in order to guarantee the beacons gets received.

    Regards,
    Terje

Children
  • Hi Terje,

    Thanks for your support. 

    If you want to look into using the radio directly, for a completely proprietary protocol, then please start a new thread for that. Here I will continue to answer within the scope of Bluetooth mesh and Bluetooth LE (BLE).

    I will start another ticket.

    With your power consumption requirements for the tags, a BLE beacon makes sense. You can check out various scenarios using the online power profiler for Bluetooth LE. Set the role to "Advertising (TX only)" for one-directional messaging from the tags. (I assume the tag doesn't need to receive any information from the rest of the network.)

    it is very Useful for simulations.

    Please note that for normal BLE advertising, the maximum advertising interval is around 10 seconds. Since you only need to send once every 5 minutes (300 seconds) I suggest sending a few repeats of the payload using a shorter advertising interval, then no RX for the rest of the 5 minutes interval. Unfortunately the power profiler cannot provide numbers for this type of scenario, so you must do the math yourself based on the idle current and the total average.

    I get your point.

    Regards 

    Abhishek

Related