so, i've been trying for some time now to make my fingerprint sensor work with no success. I´m using FPM10A fingerprint sensor and following the adafruit tutorial ( https://cdn-learn.adafruit.com/downloads/pdf/adafruit-optical-fingerprint-sensor.pdf ) and corroborated with the SFG Demo that my sensor does, indeed, works. The thing is, it is not working with arduino code, the program does not recognize the fingerprint sensor and i began to realize that the problem seems to be the serial ports. I had the same problem with a wifi module, that worked by not using the softwareserial library, but in this case i have not enough knowledge about programing to modify the code and make it work. i'm using an arduino mega and i'm aware that there are some pins i cant use with the software serial library but i cant make it work anyway. if anyone here could help me it would be really important for me.
it is not working with arduino code,
What code would that be ?
the code that recommends the adafruit tutorial, this one.
fingerprint.ino (3.76 KB)
i'm using an arduino mega and i'm aware that there are some pins i cant use with the software serial library
If you have a Mega there is no need of software serial. You have 3 hardware serial ports besides Serial. Software serial will not work at 57600 baud, but the hardware ports will.
ok, so i've tried to not use softwareserial.h using this:
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&Serial1);
but i dont receive or send any data, may there be a problem with the adafruit library? i've changed Serial1 for Serial to see if there is any data transmission but there aint any.
Did you connect the wires to the right pins when you changed serial instances?
yes, i corroborated it like a hundred times