This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Esimate CoAP over BLE power consumption

Hi, I want to estimate easily, without measure it, the power consumption of sending an array of 256 float32_t elements (4 bytes each) through CoAP NON protocol using the nRF52 DK's BLE to a Raspberry Pi. I have found this very useful tool. My idea is to divide the array's byte size (256x4 bytes) by the BLE maximum payload for a BLE transmission packet (27 bytes). We can know the number of packets needed 1024/27=37,92 and we can round up it to 38 (doing another little approximation). Now using the nRF52 Online Power Profiler using:

  • BLE event type: Peripheral connection -Voltage: 3.6 V -BLE interval: 25 ms (1080 bytes/sec that I like to reach, obtained rounded down 1000ms / 38 packets) -TX payload: 27 bytes
  • TX power: 4 dBm

I have as result: 240 uA for 25ms.

Can I assert that my project during the BLE transmission of my array, for a time period close to 1 sec will use 240 uA more than what I have in the IDLE?

Thanks in advance for the help and explanations.

Marco

Related