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

two nrf52 set as duplex modem

Is it possible to set two nRF52 as duplex MODEM?

The objective is to monitor a remote solar powered device from a PC. There would be one nRF52 device at each end (one at solar charger and one at PC) to tx/rx data. Distance is within 10 meters. The goal is to monitor and log on a central PC or a microcontroller the the battery voltage, charging, and sun illumination level.

Is it possible for the central nRF52 to be set as a modem for several nRF52?

What would be the basic code structure to accomplish this?

Parents
  • What you are describing is BLE UART with one nRF as central and one nRF as peripheral. There is a tutorial on that for nRF51 but the same code is available in the SDK for nRF52.

    Tutorial: devzone.nordicsemi.com/.../

    On the second part of your question it looks like whether you can have a one to many relationship on central to peripheral devices. I don't know on that part. I have only done a one to one for uart.

    Mesh might be one way to handle this. But it seems you might want to get away from the UART concept and just send the data via ble and get rid of the UART side of the equation. I assume you are focusing on UART due to some legacy implementation .

    Here is some info on mesh: devzone.nordicsemi.com/.../

Reply
  • What you are describing is BLE UART with one nRF as central and one nRF as peripheral. There is a tutorial on that for nRF51 but the same code is available in the SDK for nRF52.

    Tutorial: devzone.nordicsemi.com/.../

    On the second part of your question it looks like whether you can have a one to many relationship on central to peripheral devices. I don't know on that part. I have only done a one to one for uart.

    Mesh might be one way to handle this. But it seems you might want to get away from the UART concept and just send the data via ble and get rid of the UART side of the equation. I assume you are focusing on UART due to some legacy implementation .

    Here is some info on mesh: devzone.nordicsemi.com/.../

Children
Related