Integrate BLE board to Sodaq Sara via serial1 port

Hi,

I have some questions. I try to integrate a Grove BLE v1 device from Seeed. I see two options:

  • using the standard Grove cable
  • attach the cables direct to the board.

First option. The SoftwareSerial library is not working for my Sodaq Sara R410 board. Port A6/A7 cannot be used…any suggestians or do I need to rewrite the library?

Second option. First question, do I need to connect the Tx with Rx or Tx with Tx??? Second queston, after succesfull soldering, using the standard passthroug script which uses standard D0/D1 ports can be used to run AT commands?

Or…if both options are not working, does anybody have good suggestions?

Thx

Hi @etmpvga,

The SoftwareSerial library indeed doesn’t work on boards with the SAMD architecture.
There are multiple hardware Serials on the board.

SerialUSB -> USB
Serial -> D0,D1
Serial1 -> SARA module

You can conenct the RX and TX pins to D0,D1 on the SARA AFF Board.

When using the passthrough sketch, use SerialUSB to Serial, then you can send your AT commands.

Connect the sensor like this:
SODAQ Tx -> Rx BLE
SODAQ Rx -> Tx BLE

Best regards,
Jan