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

nRF52840-DK and RAK811 WisNode (v1.2)

Hi,

Anybody managed to connect a WisNode RAK811 to an nRF52840-DK and make them "talk" ? (send "at" commands to the RAK811 shield and get replies)

How did you connect it ?
using wires ?
simply attached it on top of the DK ?
what jumper configuration on the RAK811 ?

  • Hi,

     

    The datasheet says that it supports UART, should be fairly straight forward to connect them then either by running wires between or by attaching it ontop of the DK as it claims to be Arduino Uno compatible.

     

    Best regards,

    Andreas

  • I managed to get it to work, here is what I did:

    1. Put it on top of the nRF52840-DK as you would attach it to an arduino.
    2. Setup UART in your code like so:
          app_uart_comm_params_t const comm_params =
          {
              .rx_pin_no    = ARDUINO_0_PIN,
              .tx_pin_no    = ARDUINO_1_PIN,
              .rts_pin_no   = RTS_PIN_NUMBER,
              .cts_pin_no   = CTS_PIN_NUMBER,
              .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
              .use_parity   = false,
      #if defined (UART_PRESENT)
              .baud_rate    = NRF_UART_BAUDRATE_115200
      #else
              .baud_rate    = NRF_UARTE_BAUDRATE_115200
      #endif
          };
      
    3. Power the nRF52840-DK through the *USB* input (not the SEGGER/programming input).

    That's it, now you can flash the board with examples/ble_peripheral/ble_app_uart and send at commands to it.

    Have fun.

    PS: examples/ble_peripheral/ble_app_uart wont work out of the box.
    You need to add code for sending "\r\n" after every line (if you use nRF Connect or nRF Toolbox - they wont send "\r\n" after a line)

Related