LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)

Hello Everyone, 

I am using  NRF52811 evaluation board  for my development purpose using SDK 2.6.1 on visual studio code. 

My tasks involve LED control using Bluetooth as follows.

task 1: Turn on/off LEDs using button press on user device(NRF connect on android phone)

task 2: turn on/off LEDs using distance of 5 meter Exceed: for example LED should turn on in distance of 5 meter or less.

I have already  implemented task 1 but can anyone guide me how I can connect and control LEDs  in accordance with the distance. 

Id there any example available which I can use to connect to my  nrf52811 BLE board  and control LED   using distance. 

Parents
  • Hi

    I'm sorry, but the nRF Distance Measurement sample and library won't be possible to use on the nRF52811. One because the application won't fit onto the limited RAM and Flash memory of the nRF52811 and two because the application requires FPU, which the nRF52811 doesn't have, and is the reason you're seeing this build error I think.

    Also, the Android phones won't be able to do Distance Measurement I'm afraid, as it is a Nordic proprietary protocol, so then you're left with using plain old RSSI for determining the distance between the two, which is not very accurate I'm afraid.

    Best regards,

    Simon

  • Hello Simon, 

    Thanks for the response.  My plain idea is to control LED (on/off) using NRF connect app based  on input from app which I am able to successfully. Now i want to to extend it using some kind of proximity (does not matter rssi or angle or arrival or something similar) can you tell me how can i do it.  Here  is my sample implementation for you reference. .

    My nrF52811 evl. kit act as a peripheral and advertise data. with the nrf connect app  I  make to connection to it and controls the LED.  works fine. Now I want to extend it such way that  once the  nrf connect app (on my andrio phone) comes in a close proximity of my nRF52811 kit, It should autometiclly  turn on the LED.7345.ble_application.zip

Reply
  • Hello Simon, 

    Thanks for the response.  My plain idea is to control LED (on/off) using NRF connect app based  on input from app which I am able to successfully. Now i want to to extend it using some kind of proximity (does not matter rssi or angle or arrival or something similar) can you tell me how can i do it.  Here  is my sample implementation for you reference. .

    My nrF52811 evl. kit act as a peripheral and advertise data. with the nrf connect app  I  make to connection to it and controls the LED.  works fine. Now I want to extend it such way that  once the  nrf connect app (on my andrio phone) comes in a close proximity of my nRF52811 kit, It should autometiclly  turn on the LED.7345.ble_application.zip

Children
No Data
Related