Super secret safe
Hardware- 4 Devlogs
- 6 Total hours
I'm making a safe that only opens when you scan the right ID card! *not printed because I don't own a printer
I'm making a safe that only opens when you scan the right ID card! *not printed because I don't own a printer
I modeled what the box would look like with the electronics attached. I haven’t touched CAD in a while so I was a bit rusty but this is my vision for what the RFID would trigger.
EXCITING EXCITING!!
I got the servo to work with the rfid (so when I first scan my card the servo opens, and then the next time I scan my card the servo closes). I was able to do this by modifying Arduino’s example code for the servo to work for my own file (added an if else statement inside the if loop that happens when I scan the correct card). And then I decided to add a buzzer whenever the wrong card is scanned so whoever’s trying to break in gets a surprise sound.
Next I’m going to start doing the CAD for the case.
I did two things: (1) I used a total of 3k resistors to regulate the voltage coming from the 5v arduino board into 3.3v so that the rfid could read the pins. This allowed the example sketch to read the UIDs of the two cards I have. (2) I modified the example sketch to only grant access to one of the cards, and after much debugging and asking Gemini for help for debugging, I finally got the program to only accept one of the cards and not the other one!
First, I wanted to understand how the rfid works, so I used the example code for it, but then I ran into a board doesn’t exist error, and I FINALLY understood why my rfid-rc522 was giving me a does not exist error after I searched up a demo code that I then used.