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

How to create custom service to read the voltage of nRF52832 board?

Hi guys,

I am working with nRF52832 board and Zephyr for a short period of time and I really don't have to much experience. Every day I learn some new things and try to connect everything. Now, I have an example where I combine peripheral_ht to send the data about the temperature to my device via BLE (I use nRF mobile app) and nrf_battery sample which I use to read the voltage of my device. I am trying to figure out how to create the service which will send this value about voltage also to my mobile phone and I will be able to see the current voltage of my device for example every x seconds. Is this possible with nRF52832 board together of course with Zephyr RTOS?

Thanks in advance and I will really appreciate any type of help or suggestions!

Best regards,

Adnan.

Related