RFID Ring Lock Box
The RFID Ring Lock Box is a fun innovative tool useful for storing secretive things. It remains locked until a specific RFID ring is waved in front of it. When this happens, the box unlocks, allowing you to access the contents inside.
Area of Interest
Gunn High School
For my Final Milestone, I attached all of my pieces to the wood pieces and glued the wood pieces to the rest of my second container. It was very difficult to fit all of the wires into the space provided and it took many attempts to glue the Arduino components to the wood pieces. Eventually I was able to get everything in place using wood glue, hot glue, and super glue. Before everything was glued on, I also drilled a hole in the back for the USB cable to go through so that the battery can be unplugged easily if it needs to be charged. After the pieces were glued in, I filed my final piece until it fit in place and then I attached the hinges so that it can swing open if the box stops working for some reason. I can easily access the Arduino inside if anything goes wrong and I can also demonstrate what the components look like. One problem that occurred while I was trying to glue everything together is that a pin on the RGB LED fell off so I had to unsolder the LED and solder on a new one. I finished off my project by taking off the latch as it was not as secure as I would have liked, and I attached cross pieces and regaled the latch on and it is now very secure. I officially completed my project by putting a piece of tape on one of the cards to distinguish the two cards and I finished my project. As one final modification, I added a 15 second automatic lock to my code, which means that after 15 seconds of being unlocked, the box will automatically lock. As other modifications, I could add a servo to the back of the box which could work with the 15 second rule to automatically both close and lock the box by spinning and pushing the lid down on the box. I could also edit my code so that I could need to use my RFID cards in a specific sequence in order to unlock the box. That way, only I would know the necessary sequence in order to unlock the box.
For my Second Milestone, I created a rough draft of my box. I started out by creating a soldering diagram of where my wires would go, and then soldered everything into place. I had to replace my RFID RC522 sensor because one of the connections broke while I was trying to desolder a wire. While I waited for the sensor to arrive, I sketched plans for my second container and then cut them out. The initial container that I created was actually too small to fit the components, so I had to redraw and cut out the new components. I also wrote my final program and transferred from using the NFC ring to the RFID card because the ring wasn’t functioning well. I created my lock pulley system with the latch so that the lock can slide back and forth from being locked to unlocked. Any card besides the designated card will automatically lock the box. For my next milestone I will secure everything in place so that I have a neat lock box.
For my first mile stone, my goal was to create a program that could be used for my project. I focused on the programming of the project instead of the mechanism of the lock and the physical appearance of the project. My first milestone was when I waved my specific NFC ring in front of the RFID-RC522, an LED flashed, and a servo rotated back and forth for a few seconds. When any other tag or card are waved in front of the sensor, nothing will happen except that the monitor will display wrong serial #. This works because the I programmed the sensor to read the serial # on whatever RFID object is waved in front of it. All objects have different serial #s, so only the ring will cause the program to function. I got to this stage through extensive research and testing of the Arduino and RFID-RC522 sensor. Going into camp, I had no clue how to program or wire Arduino, so I started by researching the basic functions of the Arduino by looking at sample circuits and wiring. I set those up, and used sample code to understand the programming aspect of Arduino, and made a few of my own basic circuits and programs. Once I had a satisfactory understanding of the Arduino, I moved on to researching RFID and how to interact the RFID-RC522 sensor with the RFID card and tag, and the NFC ring. I spent a very long time looking through information that I could not comprehend, until I eventually found sample code that I could parse through. I downloaded a library and started by using sample code that outputted the data of whatever RFID object I put near the sensor. I then adapted the program to make a light blink when the RFID tag was put near the sensor, by reading the specific serial #. When that functioned correctly, I added in the servo, as I will be using both the servo and LED in my final project. My next milestone will be to make a diagram showing how this will fit in the box and how I will adapt the box to fit the project’s needs, and then put them in place so that the box functions, but nothing is secured and extensions are not added.
My starter project, Simon Says, is a fun memory based game, in which you are given a light sequence. Each time you repeat the sequence back correctly by pressing the buttons, the sequence adds a new light to the end of the sequence. When you can no longer remember the sequence, the lights will flash and you can start over with a new randomly generated sequence. The game works using LEDs and an alarm with a preprogrammed micro controller. This starter project focuses on teaching students to solder and what basic components do and how the function in action.