reducing power of HRS sample

I have a BLE sensor device that works, but draws about 4 mA, much higher than needed. In order to learn how to reduce current, I tried to compile and run the HRM sample code and check current on my device hardware.

It also draws about 4 mA, as long as it is advertising. I tried to change some parameters such as adv. interval etc. but could not reduce power to the required level.

I would like to get to an average consumption of 50uA, using very low data rate, it will be ok to advertise once in 5 seconds or even less.

When connected, it also should send data only every500 ms or so and keep very low power.

What steps should I take to get there? (After advertising is over, the consumption drops to less the 1 uA, so my hardware is OK, I guess.)

Thanks.

Parents
  • Hi

    What example project have you based your project on? I just built the ble_app_hrs example project on my end. I only changed the advertising interval to occur every 2 seconds, and I'm seeing an average current consumption of ~40µA on my end. Any chance you can upload your main file so we can take a look at what you're doing exactly. Also, are you testing on a Development Kit or a custom board?

      (the spikes between advertisements are noise from the DK)

    Best regards,

    Simon

  • Thank you, this is good news which means I am missing something.

    I started with the same project as you, it is on custom board which is very simple. MY IDE is visual Studio with VISUALGDB plugin, DK board as Jlink.  I check current with Jlink not connected and after reset.  

    I will be happy to provide a link to the project or just upload main.c

    On the other hand, can you send a link to your project, I will try to build it on my system and test.

    Thanks for your support.

Reply
  • Thank you, this is good news which means I am missing something.

    I started with the same project as you, it is on custom board which is very simple. MY IDE is visual Studio with VISUALGDB plugin, DK board as Jlink.  I check current with Jlink not connected and after reset.  

    I will be happy to provide a link to the project or just upload main.c

    On the other hand, can you send a link to your project, I will try to build it on my system and test.

    Thanks for your support.

Children
Related