This is the Arduino sketch for the RFID door controller that we're using at Hive13 for the main entry door.