In this post I’ll show you how to build a RFID reader for security access based on Arduino MEGA board. The code I’ve used is a modified version of a design that was published at Arduino project hub. I added 2×16 LCD display to show card ID and MOSFET driver
In order for this design to work correctly with new RFID card you’ll need to do the following: Upload the attached sketch to Arduino MEGA
Probably the better way to store card ID is to use Arduino EEPROM memory instead of updating the code each time the card has been changed. I may add this feature in the next version. You can see how the prototype works in a short video next.