yes I also think its an overflow. so I did the following (removed Serial.prints, delays, yields, mySerial->reads, and instead used mySerial->readBytes) and it works. I also compiled the code in Release mode. And Once I got the packets in a buffer then I processed the information as I needed.

Hello all,i am working on a project and i am required to scan the fingerprints on the adafruit fingerprint moduleand store them in the mysql because the module has a limited range of templates it can store,i then have to write code to match a scanned fingerprint with the ones in mysql;

i have tried using SFG demo to scan and store in the database but it gets stuck on place your finger and does nothings, i am now forced to write code that can extract the fingerprint in the buffer and send it to mysql, i will be glad if someone can give me help

on the part of matching, i am following DON Jerome's idea and here is the code, i would appreciate any help on the part of parsing the char file to mysl

Hello Everyone,I have been using dy50_main_v3 fingerprint module and adafruit fingerprint module since one month. There was no problem in enroll system. But from yesterday during enrollment the module is taking picture automatically thought there is no finger. it shows like the picture .

I've learn this problem, maybe for 1 month and from now, i only get this[ This is abaout upload templete from computer to Char Buffer (1/2) using DownChar (look at datasheet, this use 0x09) ][ SO, this i check i upload my finger templete to Char Buffer and i dwonload again and put out again in Serial Monitor, to check, is all right when i upload the templete? ]

/*************************************************** This is a library for our optical Fingerprint sensor

Designed specifically to work with the Adafruit Fingerprint sensor ----> http://www.adafruit.com/products/751

These displays use TTL Serial to communicate, 2 pins are required to interface Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, all text above must be included in any redistribution ****************************************************/

/// The matching location that is set by fingerFastSearch() uint16_t fingerID; /// The confidence of the fingerFastSearch() match, higher numbers are more confidents uint16_t confidence; /// The number of stored templates in the sensor, set by getTemplateCount() uint16_t templateCount;

/*************************************************** This is a library for our optical Fingerprint sensor

Designed specifically to work with the Adafruit Fingerprint sensor ----> http://www.adafruit.com/products/751

These displays use TTL Serial to communicate, 2 pins are required to interface Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, all text above must be included in any redistribution ****************************************************/

/**************************************************************************//*! @brief Verifies the sensors' access password (default password is 0x0000000). A good way to also check if the sensors is active and responding @returns True if password is correct*//**************************************************************************/boolean Adafruit_Fingerprint::verifyPassword(void) { return checkPassword() == FINGERPRINT_OK;}

/**************************************************************************//*! @brief Ask the sensor to delete ALL models in memory @returns <code>FINGERPRINT_OK</code> on success @returns <code>FINGERPRINT_BADLOCATION</code> if the location is invalid @returns <code>FINGERPRINT_FLASHERR</code> if the model couldn't be written to flash memory @returns <code>FINGERPRINT_PACKETRECIEVEERR</code> on communication error*/uint8_t Adafruit_Fingerprint::emptyDatabase(void) { SEND_CMD_PACKET(FINGERPRINT_EMPTY);}

/**************************************************************************//*! @brief Ask the sensor for the number of templates stored in memory. The number is stored in <b>templateCount</b> on success. @returns <code>FINGERPRINT_OK</code> on success @returns <code>FINGERPRINT_PACKETRECIEVEERR</code> on communication error*//**************************************************************************/uint8_t Adafruit_Fingerprint::getTemplateCount(void) { GET_CMD_PACKET(FINGERPRINT_TEMPLATECOUNT);

/**************************************************************************//*! @brief Helper function to process a packet and send it over UART to the sensor @param packet A structure containing the bytes to transmit*//**************************************************************************/

Why you create a 'fake' serial, i understand the fingerprint sensor works with the different baud rate . But if a use the same baud rate for send the informations for the serial monitor and send comands for the sensor , has any problem ?

I make some tests but doesnt work fine, when i use the Serial.Write commands or Serial.Reads.

Alhamdulillah, i have finished our Project for Research and Development for Fingerprint Module (with ZFM20 or DY50/FPM10A)This is include file C for Arduino and surely the librariesEnroll + Match + Upload Template + Show Template + Delete & Empty + Show Image Template + SFG Demo