Secret RFID Iphone box

Secret RFID Iphone box

myminifactory

Here is a video of it working: https://streamable.com/2jgh7 Make your own secret stash hidden as nothing more than an empty iPhone box. Lock the box by sticking either of the two RFID tags over the reader, which is located in the bottom left corner of the box. Unlock it by putting a specific pattern of RFID tags, in my case, the blue RFID tag, wait two seconds, then the white RFID tag, wait two seconds, and finally the blue RFID tag again. This can be changed to any two of your own RFID tags in the code or just one instead of two. I originally made this to be used in an escape room I created for my friends, and it worked flawlessly - taking them a while to figure out. Feel free to use it for whatever you like. There are two models included: one for aligning the locking frame, and the actual locking frame itself. Materials: * Wires (https://amzn.to/2x77Q1u) * Arduino Uno (https://amzn.to/2OdlFCD) * 9-volt battery or alternative power source (https://amzn.to/2Nzmqc9) * Power source for Arduino (a 9-volt battery, wire leading outside the box to a wall, etc.) (https://amzn.to/2oYzmdO) * One or two RFID tags of any type (https://amzn.to/2N9tKMf) * An RFID reader (https://amzn.to/2oZx1iF) * Mini servo motor (https://amzn.to/2QkufRE) Here's the code: // Written by Neil Sawhney #include <MFRC522.h> #include <Servo.h> #define SS_PIN 10 #define RST_PIN 9 MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance Servo openServo; int openPattern = 0; void setup() { openServo.attach(7); openServo.write(78); Serial.begin(9600); // Initiate a serial communication SPI.begin(); // Initiate SPI bus mfrc522.PCD_Init(); // Initiate MFRC522 Serial.println("Put your card to the reader..."); Serial.println(); } void loop() { // Look for new cards if ( ! mfrc522.PICC_IsNewCardPresent()) { return; } // Select one of the cards if ( ! mfrc522.PICC_ReadCardSerial()) { return; } // Show UID on serial monitor Serial.print("UID tag :"); String content = ""; byte letter; for (byte i = 0; i < mfrc522.uid.size; i++) { Serial.print(mfrc522.uid.uidByte[i], HEX); content.concat(String(mfrc522.uid.uidByte[i], HEX)); } Serial.println(); Serial.print("Message : "); content.toUpperCase(); if (content.substring(1) == "3D 29 83 B2") { // Change here the UID of the card/cards that you want to give access if (openPattern == 0) { openPattern = 1; Serial.println("step 1"); if (openServo.read() == 78) { openServo.write(166); openPattern == 0; } delay(1000); } else if (openPattern == 1) { openPattern = 0; Serial.println("Access denied 1"); if (openServo.read() == 78) { openServo.write(166); openPattern == 0; } delay(1000); } else if (openPattern == 2) { Serial.println("Authorized access 2"); Serial.println(); openServo.write(78); openPattern = 0; delay(1000); } } if (content.substring(1) == "A7 D7 15") { // Change here the UID of the card/cards that you want to give access if (openPattern == 0) { openPattern = 0; Serial.println("Access denied 3"); if (openServo.read() == 78) { openServo.write(166); openPattern == 0; } delay(1000); } else if (openPattern == 1) { openPattern = 2; Serial.println("step 2"); if (openServo.read() == 78) { openServo.write(166); openPattern == 0; } delay(1000); } else if (openPattern == 2) { openPattern = 0; Serial.println("Access denied 4"); if (openServo.read() == 78) { openServo.write(166); openPattern == 0; } delay(1000); } }

Download Model from myminifactory

With this file you will be able to print Secret RFID Iphone box with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Secret RFID Iphone box.