Connect BMS to nrf9160DK through Bluetooth

Hi,

I am working on the project of BMS(Battery Management system) sending data to nordic board nrf9160DK through UART and then board will send that data to the Azure cloud which is successfully working fine.

Now I want to change the way it works.

I need to connect 1,2 or maybe more BMS to the 9160 DK board and 52840 DK board (which is already present in the nrf9160DK) over Bluetooth, for that I need a sample code that I can take as an initial sample code for the project.

 Please Guide me ASAP.

I am working on ncs version 1.9.1
MFW version :- mfw_nrf9160_1.3.1
Parents
  • the peripheral_uart sample is running on the nRF52840 DK, and all other nRF52XXX DKs, and the nRF5340 DK.

    No, I am talking about the board nrf9160Dk which already has the other processor nrf52 in it ...

    This board has a toggle switch for nrf91 or nrf52 ..We need to use the BLE that is available for nrf52dk in nrf91dk.

    WE DON"T WANT SEPARATE nrf52840DK 

    Whether you use something like this, to set up a "virtual UART". This way you can send all the data you need over this virtual UART.

    Can you please elaborate on the "Virtual UART"?

    Thanks for the  quick responses Slight smile

  • sachinrawat said:

    WE DON"T WANT SEPARATE nrf52840DK 

    It is not possible to use the nRF52 on the nRF91 DK as a standalone development chip. This chip is used to control too much of the HW on the DK to use it as a standalone nRF52 DK, unfortunately.

    sachinrawat said:
    Can you please elaborate on the "Virtual UART"?

    Well, as the name of the sample says, "peripheral_uart" and "central uart", the default behavior of this sample is that the two devices running peripheral_uart and central_uart will connect to eachother, and anything received on the UART on one of the devices will be sent over BLE and output on the UART on the connected device. 

    BR,

    Edvin

  • It is not possible to use the nRF52 on the nRF91 DK as a standalone development chip. This chip is used to control too much of the HW on the DK to use it as a standalone nRF52 DK, unfortunately.

    I don't want to use it as a standalone chip, My primary/entire project is based upon the nrf9160DK, I need to use the Bluetooth of the nrf52 chip from the same board of 91DK.

    I suggest you look into the NCS\nrf\samples\bluetooth\peripheral_uart and central_uart. I don't understand what is going to be transferred over UART and what is going to be transferred over BLE, but either way this sample set (central and/or peripheral) may be a good starting point.

    I have tried the samples as suggested by you, But it is not compatible with nrf9160dk, I have 2 questions 

    1. How to make it nrf9160DK compatible 

    2. Is there another example that I can take as a starting point for nrf9160DK (having nrf52 chip included)

Reply
  • It is not possible to use the nRF52 on the nRF91 DK as a standalone development chip. This chip is used to control too much of the HW on the DK to use it as a standalone nRF52 DK, unfortunately.

    I don't want to use it as a standalone chip, My primary/entire project is based upon the nrf9160DK, I need to use the Bluetooth of the nrf52 chip from the same board of 91DK.

    I suggest you look into the NCS\nrf\samples\bluetooth\peripheral_uart and central_uart. I don't understand what is going to be transferred over UART and what is going to be transferred over BLE, but either way this sample set (central and/or peripheral) may be a good starting point.

    I have tried the samples as suggested by you, But it is not compatible with nrf9160dk, I have 2 questions 

    1. How to make it nrf9160DK compatible 

    2. Is there another example that I can take as a starting point for nrf9160DK (having nrf52 chip included)

Children
No Data
Related