Hey. I´m using this finger print module, but Ive used the example FPS_Idfinger which included on library of GT-511C3. I print ID on Serial but it doesnt show anything.
I ve tested it on Arduino UNO and it works fine. My problem is Serial doesnt shows what I´m sending.
Code:
#include "FPS_GT511C3.h"
#include "SoftwareSerial.h"
// Hardware setup - FPS connected to:
// digital pin 4(arduino rx, fps tx)
// digital pin 5(arduino tx - 560ohm resistor - fps tx - 1000ohm resistor - ground)
// this voltage divider brings the 5v tx line down to about 3.2v so we dont fry our fps
FPS_GT511C3 fps(4, 5);
void setup()
{
Serial.begin(9600);
delay(100);
fps.Open();
fps.SetLED(true);
}
void loop()
{
// Identify fingerprint test
if (fps.IsPressFinger())
{
fps.CaptureFinger(false);
int id = fps.Identify1_N();
if (id <200)
{
Serial.print("Verified ID:");
Serial.println(id);
}
else
{
Serial.println("Finger not found");
}
}
else
{
Serial.println("Please press finger");
}
delay(100);
}
You have the same problem I found.
Please read 4 post before "Yun - Serial Monitor using Wifi (not USB): Impossible to connect".
If you start serial monitor immediately after upload the sketch to the yun it works.
If you wait a few seconds the serial monitor doesn't receive anything. It's blank. Nothing. Not even a simply "Hello World" message written in setup section!!
Possible that nobody can help us? nobody use RX/TX communication between a sensor and a Yun debugging it via serial monitor?
Looking at your code I think that the finger reader library is based on the SoftwareSerial library.
Other users encoutered problem with the SoftwareSerial library on the Yun, trying the AltSoftSerial library usually solves this problem.
Angelo9999:
What you should do is to make the finger reading to use the AltSoftSerial library instead of SoftwareSerial.
p.s: what port are you using on the IDE? IP or COM port?
Hey, thank your for your opinion, I´m using port COM.
Ciapal:
You have the same problem I found.
Please read 4 post before "Yun - Serial Monitor using Wifi (not USB): Impossible to connect".
If you start serial monitor immediately after upload the sketch to the yun it works.
If you wait a few seconds the serial monitor doesn't receive anything. It's blank. Nothing. Not even a simply "Hello World" message written in setup section!!
Possible that nobody can help us? nobody use RX/TX communication between a sensor and a Yun debugging it via serial monitor?
Nobody solved this problem???
A lot of people found this problem (Google).
Good luck (to us).
bye
Luca Menghini
Thank you for your help, I`ll try to find more info about it.
Ok guys, Ive been working on this, but It still doesnt works. Ive tried changing the Software Serial library by the AltSofSerial library, but it still doesnt shows anything.
I tested it and I realized that after fps.Open(); the program doesn´t do anything more. It stops at this line.