RFID, SD card and real time clock door lock

I am confused now. Can you post the code of what you are testing now along with a schematic of how it is wired up.