This article uses STONE's touch screen to send commands to the MCU to control the relay and MFRC522 module.
The principle of card reading: by driving the RFID-RC522 module, identify the ID card ID close to the ID card, and then determine whether the ID exists in the database of the word typical, ID is the typical value of the word, if the existence of the verification through, and then print out the corresponding name, and then drive the electromagnetic lock in the same way.
- card registration.
- username and password registration.
- card swipe to unlock the electronic lock.
- User name and password to unlock the electronic lock.
The code is uploaded as an attachment.