This is a locker system that uses RFID and demonstrates how its logic works with a servo, LEDs, and a speaker for feedback.
The gate will be open by default and has no owner, and once a card logs in, it saves this card ID as its owner and gets locked to it, and it can't be opened with any other owner, and once you log in again, it unlocks and removes the saved card (owner).
Here is a video of it working.
Order the parts in the BOM section and wire it like the following picture, then flash the code from the source files using Arduino IDE.
| Part |
|---|
| Arduino uno |
| buzzer or small toy speaker |
| RC522 RFID |
| servo |
| different color LED * 2 |
| 9V or 12V battery |