What!!! is quite simple.
First Were you able to connect the RFID to your raspberry Pi 5?
Were you able to read a card with it?
Then if both are yes adding a time stamp and send this to a SQL data base is simple.
I assume that you want to record time in time out.
We could give you help on how to connect the MFCR522 to the PI5 if it is not done.
You should by some protoboard and jumper wire.
To enable SPI on the PI5!
1 - do on a console "sudo raspi-config" and enable the spi . [ 3 Interface options, I3 SPI , YES , OK, Finish]
And to test if the reader works.
1 - clone my github
First Were you able to connect the RFID to your raspberry Pi 5?
Were you able to read a card with it?
Then if both are yes adding a time stamp and send this to a SQL data base is simple.
I assume that you want to record time in time out.
We could give you help on how to connect the MFCR522 to the PI5 if it is not done.
You should by some protoboard and jumper wire.
To enable SPI on the PI5!
1 - do on a console "sudo raspi-config" and enable the spi . [ 3 Interface options, I3 SPI , YES , OK, Finish]
And to test if the reader works.
1 - clone my github
2- and run Read.py.
Move the rfid card near the reader. et voila!daniel@Pi5:~/MFRC522-python $ cd
daniel@Pi5:~ $ cd MFRC522-python/
daniel@Pi5:~/MFRC522-python $ python3 Read.py
Welcome to the MFRC522 data read example
Press Ctrl-C to stop.
Statistics: Posted by danjperron — Thu Mar 21, 2024 5:50 pm