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

nRF52840 Dongle to Raspberry Pi B+

I want to send data from nRF52840 Dongle to Raspberry Pi B+, Assume nRF52840 Dongle placed in USB drive of Raspberry Pi B+. Please help with coding sample.

Parents
  • Hi Ashiq.

    You can use the ble_app_uart example found in SDK 15.2: nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart\pca10056

    You have to configure the pins, because they are configured to the PCA10056 board, and not the Dongle.

    You also have to solder the pins you select to wires, and connect them to an RS232 to USB cable which you connect to your Raspberry Pi. You also have to have the Dongle connected so that it has power on so that it can run the application.

    The ble_app_uart example will output any received data from BLE to UART. So you have to also run an terminal serial port emulator on your Raspberry Pi to collect the data from UART, such as

    RPi Serial Connection.

    - Andreas

Reply
  • Hi Ashiq.

    You can use the ble_app_uart example found in SDK 15.2: nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart\pca10056

    You have to configure the pins, because they are configured to the PCA10056 board, and not the Dongle.

    You also have to solder the pins you select to wires, and connect them to an RS232 to USB cable which you connect to your Raspberry Pi. You also have to have the Dongle connected so that it has power on so that it can run the application.

    The ble_app_uart example will output any received data from BLE to UART. So you have to also run an terminal serial port emulator on your Raspberry Pi to collect the data from UART, such as

    RPi Serial Connection.

    - Andreas

Children
Related