I have an fps gt-511c1r fingerprint sensor module. I want to know whether i can run it using teensy 3.0 or above? I have tried it successfully using arduino uno.
EDIT: I have uploaded the fps blink sketch on the teensy 3.2 successfully, but the fingerprint scanner is not responding. Here is the code:-
#include "FPS_GT511C3.h"
#include "SoftwareSerial.h"
// Hardware setup - FPS connected to:
// digital pin 0(arduino rx, fps tx)
// digital pin 1(arduino tx, fps rx)
FPS_GT511C3 fps(0, 1);
void setup()
{
Serial.begin(9600);
fps.UseSerialDebug = true;
fps.Open();
}
void loop()
{
// FPS Blink LED Test
fps.SetLED(true);
delay(1000);
fps.SetLED(false);
delay(1000);
}
connected fps tx to teensy rx(pin 0),
fps rx to teensy tx(pin 1),
fps vcc to 3.3v teensy,
fps gnd to teensy gnd.