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

nrf51822 mbed Low Power, How to achieve?

Hi,

I hope you are doing well. I am working on nrf51822 project. I want the nrf51822 to advertise for 5 secs and then sleep for say 30 mins or an hour and then wake up and advertise for 5 sec.

I also want to use BLE UART services as well when it awake.

So I tested few programs but I am unable to achieve low power while sleep.

My testing: 1- Using ble.shutdown(); command for sleep. I cant reinitialze the ble for normal mode. I tried call all the initializing commands but the uart Services couldnt start. 2- Stop Advertising. It did help but not much as sleep mode current consumption 1.2ma is sleep mode.

Is there any procedure to put the device in sleep mode for time in hours and wake up automatically? Also without loosing configuration?

I shall be thankful for your help.

  • Hi,

    I'm not sure how much control you have of the power consumption when using mbed, but according to this thread the BLE_Beacon example consumes 35µA, so 1.2mA is quite a lot. It is possible that your board is running in debug mode. Try power cycling the board and power it from battery or external source before doing power measurement to get correct readings.

    What are you running in your code? How are you entering sleep mode? I think ble.shutdown(); will only disable the softdevice, and you will have to put your device in sleep mode afterwards.

    Best regards,

    Jørgen

Related