Sparkfun-samd51-thing-plus + BlueSMiRF-Silver

I would like to use Sparkfun-SAMD51-Thing-plus together with Sparkfun-BlueSMiRF-Silver.

I have scoured the internet and your own tutorials, but everything pertaining to the BlueSMiRF assumes the reader is using an Arduino AVR board and the example code uses the SoftwareSerial library. This is not on the ARM-based SAMD51.

How can I make them work together? I assume it’s possible, since they are both Sparkfun products.

I want to use the bluetooth module to use the SAMD51 as a wireless HID keyboard.

Links to tutorials, I referenced:

https://learn.sparkfun.com/tutorials/us … 1618831374

You’re going to have to re-write the code to use Serial rather than SoftwareSerial.

Also keep in mind the BlueSMiRF is a 5 volt board and the SAMD51 is a 3.3 volt board so you’ll need a logic level shifter between the BlueSMiRF and the SAMD51.

TS-Chris:
You’re going to have to re-write the code to use Serial rather than SoftwareSerial.

Also keep in mind the BlueSMiRF is a 5 volt board and the SAMD51 is a 3.3 volt board so you’ll need a logic level shifter between the BlueSMiRF and the SAMD51.

Is there any example code for this?

There’s some sample code in the [hookup guide you might want to look at.](Using the BlueSMiRF - SparkFun Learn)

It says on bluesmirf product page, that no logic level shifting is required and it supports 3.3V. Who is right?

the https://www.sparkfun.com/products/12577 … 1618831374

Also, the example code assumes SoftwareSerial. I meant an example where bluetooth is done using Serial.

The BlueSMiRF board is designed to connect a 3.3 volt Bluetooth module to a 5 volt Arduino, there’s a level shifter built in to do the 3.3 to 5 volt conversion but your SAMD51 is expecting 3.3 volt I/O, not 5 volt so you have to level shift the boards I/O back to 3.3 volts.

The only example code we have uses software serial, as stated before you’re going to have to re-write that to use regular serial.