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

About a question of battery-powered

Hello! I want to add the battery services in my nRF51822 project for getting the message of battery. Is there need battery-powered? But,I am sorry to see that the led which represent advertising is not work when I use a battery . Is there any other question?

Parents
  • Hi

    If you look at i.e. the ble_app_bps example in the nRF51 SDK you will find it implements a battery service. If you run the example, connect with a peer and enable services you will see the battery value periodically update. The values are simulated in the ble_app_bps example, to add actual battery monitoring, you will need to add ADC functionality into your application, or similar.

    Powering the nRF51-DK should work equally well when powered by USB or battery. Make sure the positive side of the battery matches with the nRF51-DK. Also make sure your battery is not empty.

Reply
  • Hi

    If you look at i.e. the ble_app_bps example in the nRF51 SDK you will find it implements a battery service. If you run the example, connect with a peer and enable services you will see the battery value periodically update. The values are simulated in the ble_app_bps example, to add actual battery monitoring, you will need to add ADC functionality into your application, or similar.

    Powering the nRF51-DK should work equally well when powered by USB or battery. Make sure the positive side of the battery matches with the nRF51-DK. Also make sure your battery is not empty.

Children
No Data
Related