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

Radio Transmitter/Receiver example modification

Hello !!

I want to use Radio transmitter/ receiver example in my custom board which is used for BT remote control battery powered. I have added 10 buttons on my board and define it on example. I want to send UUID code so that it could be distinguished. 

Now after modifying the code I am getting same values on each button pressed. I am not able to find how the transmitter example sending values. Anyone help me out with :

1. Sending UUID with transmitter example.

2. Sending same data on each button press as it was doing with the default example.

3. As it is battery powered, I want to put it on low power mode so that battery could run long last.

I will appreciate any response.

Thanks 

Parents
  • Hi 

    If I understand you correctly you want to implement a proprietary radio protocol rather than use a standard one such as Bluetooth?

    If you want to do proprietary RF I would recommend you use the nrf_esb library, rather than start with the very simple radio transmitter/receiver examples. 

    The esb_ptx and esb_prx examples in the \nRF5_SDK_17.0.2_d674dde\examples\proprietary_rf\ folder show how you can get started using the nrf_esb library. 

    Out of the box these examples are not very low power, but I would recommend getting the basic functionality in place before you start to focus on power optimizations. 

    Best regards
    Torbjørn

  • I just want to broadcast message from transmitter to receiver for now from my custom board. For that I have changed for 10 buttons and changed the needful thing after checking all the headers files. When I am sending I am getting the output like :

    The contents of the package is 251 on each button press. 

    but
Reply Children
Related