Fingerprint scanner FPS_GTC511C3 and SAMD21 ProRF

Hello.

I’m triying to communicate a fingerprint scanner (https://learn.sparkfun.com/tutorials/fi … 1669155455) with SAMD21-RFM95. The fingerprint scanner library gives an error related to SoftwareSerial.

Is there any way to make both devices work together?

Thanks!!

The SAMD21 doesn’t have SoftwareSerial available; switch those lines in the code over to regular Serial and it should work :slight_smile:

(you might need to use an older version of Arduino IDE, not certain…I haven’t updated mine yet)

Thanks for your reply. SoftwareSerial is into FPS_GTG511C3 library.

You mean edit the library by removing all instructions that call SoftwareSerial and connect TX / RX from FPS to any serial port in SAMD?

Thanks!!

Yea just change them definitions/calls to ‘Serial’ instead of ‘SoftwareSerial’ - there’s a lot more info if you google the situation (SAMD21 SoftwareSerial) to see other folks’ similar issues/solutions

OK.

I replaced “SoftwareSerial.h” with “Serial.h” in FPS_GTG511C3.h library…and now the error is:

Serial.h: No such file or directory

13 | #include “Serial.h”

The solution is to delete all softwareserial calls in FPS_GTG511C3.h library and directly connect the TX and RX pins of the sensor to the TX1 and RX0 pins of the SAMD?

Start over…google “software serial vs hardware serial arduino” and you’ll see examples of posts doing similar

The solutions is to CHANGE/UPDATE the calls to regular serial, not delete them