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

Thingy:52 Relay Information

Hello, I want to use the Nordic Thingy:52Tm products to extend the Bluetooth range from my phone to a Nordic Development board. How should I start? Any suggestions? Thanks!

Parents
  • Hi,

    Have you seen our Relay example? The example has a folder for the PCA10040(nRF52 DK), you can try to port that example to the Thingy:52 by changing the board file that it uses to the PCA20020(Thingy:52)

    regards

    Jared 

  • Hello! That is awesome, thank you so much for this reference! Very helpful!

    I want to try the example, but I am not sure how to do this: 

    by changing the board file that it uses to the PCA20020(Thingy:52)

    I suppose I should change or replace some files in the sdk_config.h from the \nRF5_SDK_15\examples\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay\pca10040\s132\config folder, but I don't know what to replace, unfortunately. Or maybe there's something else I need to look for. Could you please help me in this regard? & Sorry for the basic question Slight smile 

    P.S.: I read some posts like this one, but it is not clear to me where to add the pca20026 header file and where to find this header. Thanks and have a nice day!

  • The board file is included in the relay example indirectly by the inclusion of the bsp_btn_ble.h header file which again is dependent on bsp.h which again is dependent on boards.h. You have to remove the PCA10040 from the preprocessor definition and replace it with PCA20020. You also have to map any other pin that is used by the relay example and not mapped in the board file correctly.

    This might not be easy if you have limited experience with the SDK but it should be manageable with enough time and effort. Slight smile

  • Hi  and thanks a lot for the detailed explanation!

    remove the PCA10040 from the preprocessor definition and replace it with PCA20020

    I looked a bit online how to do this and I understood that it's achievable using SES. However, in my pre-processor definitions, it's empty  Disappointed (from my understanding, there should be a PCA10040 definition already). Like you may see below. 

    Do you have an idea if this is correct & how I should add the PCA20020 definition? Thank you in advance!

Reply
  • Hi  and thanks a lot for the detailed explanation!

    remove the PCA10040 from the preprocessor definition and replace it with PCA20020

    I looked a bit online how to do this and I understood that it's achievable using SES. However, in my pre-processor definitions, it's empty  Disappointed (from my understanding, there should be a PCA10040 definition already). Like you may see below. 

    Do you have an idea if this is correct & how I should add the PCA20020 definition? Thank you in advance!

Children
No Data
Related