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

nrf52840 RSSI Demo

Hello,
I have three nrf52840 development boards and one pcb that I made myself using nrf52840. I want to find the location of my pcb with a demo using these development boards. I put the code peripheral -> beacon to my pcb and central -> uart code to the development boards. I am using SDKv15.0.0. I should be able to know in which room my pcb is or its distance by measuring the rssi value according to the codes, but I cannot perform this demo.
Have you done a similar study on this subject before? If you did, I couldn't find a video similar to this demo, can you share it? Can you help me with what codes I can use?
thank you

Parents Reply
  • Hi,

     

    We do not have any example that does exactly this, it is possible but you need to do some customization yourself.

     

    You can have a look at sd_ble_gap_rssi_get(), using this you should be able to get the RSSI from the received packet. This data will be available for you to do with as you please, e.g. if you have a nRF52 device connected to a computer you can send it to a terminal, and if it is collected by a battery operated device it can be transmitted over BLE (to the device that is connected to the computer) and displayed in a terminal. BLE App UART might be a good starting point for this.

     

    Best regards,
    Andreas

Children
Related