To save Adafruit Fingerprint Module in SD card

hi, I'm on working my FYP of Biometric Scanning for Attendance System.
I use Arduino Mega, Lcd keypad shield, RTC DS3231, ADA751 Adafruit Fingerprint Sensor and SD card module.

I need help on my code because I'm Student of Electrical and Electronic Marine, and I got low knowledge about coding a big programme.

i just want to save the time, date and the fingerprint id in sd card through "EXEL" OR CSV.

email me if there are hands that want to help me on this learning session.

hrthflanker22@gmail.com

thanks in advance. :slight_smile:

i attached also my code :slight_smile:

test.ino (23.3 KB)

i just want to save the time, date and the fingerprint id in sd card through "EXEL" OR CSV.

If you want to save the data in Excel format, you'll need to install the Arduino version of Excel.

#define NUM_OF_FINGERS_IN_READER

A name like that absolutely needs a value.

SoftwareSerial mySerial(A14,A15);

Why are you using SoftwareSerial when you have 3 unused hardware serial ports?

  if ((now - prev > interval) && (Serial.available() <= 0)) {

Have you figured out how to get -7 characters in the buffer? If not, there is no point in testing for a negative value.

What do time and the number of bytes in the buffer have to do with each other.

      id2 = id2++ ;

Wrong!

That behavior is undefined. Pay some attention to the reference pages. In particular, LEARN what the ++ operator does. Use it correctly.

The getFingerprintXxxx() functions should NOT be writing to the LCD. Stop that, unless you rename the function to indicate that it (incorrectly) does multiple things.

What does the code ACTUALLY do? How does that differ from what you want it to do?

What, exactly, do you want to write to the SD card?

hello,
can anyone help m how to store the all data of fingerprint sensor r305 into sd card with data of rtc ds 3231 for real time attendance system?
plz

can anyone help m how to store the all data of fingerprint sensor r305 into sd card

Since you did not post any code that reads any data from the sensor, and did not post a link to it, no.