Arduino Lock Bar...sorta
![20151205_221704.jpg](/proxy/?url=https://content.instructables.com/FBO/U1OU/IHTEXAEH/FBOU1OUIHTEXAEH.jpg&filename=20151205_221704.jpg)
This project was tough but nothing worth doing is easy and i am ver proud that i was able to accomplish what i did. To know that my skills are further than they once were is a reward on their own.......but how did i get to where i am now? unfortunately i couldn't get it to work in its entirety and this is also my first one so have mercy jk...sorta.
Supplys
First off i had to get supplys...
(Arduino uno)- compliments of my teacher (RFID reader)- Spark fun (RFID sheild)- Spark fun (RFID tags)- Spark fun (Servo motor)- Spark fun ( 1 half sheet of 1/8 inch) - lowes ( 1 half sheet of 1/2 inch) - lowes (suitcase/ trunk)
I ordered my tech parts from Spark fun.com (awesome site) with regular shipping it should take a week to arrive at your house.
![20151130_163217.jpg](/proxy/?url=https://content.instructables.com/FAR/23VA/IHTEX8SP/FAR23VAIHTEX8SP.jpg&filename=20151130_163217.jpg)
while those parts were on the way i went out and bought my 1/8 and 1/2 inch board along with the case im going to put it all in. For the wood dont worry about getting alot, half sheets should be enough for 3 projects, luckliy we are only doing one. as for my suit case i lucked out hard and found one on sale at walmart.
With half my supplys gathered i drew up plans.
i went on to instructables and got inspiration from a project on travel bars. i thought yeah i want to make a bar then put a lock i can only get into.
i based my rfid part of the project of another instructables project that had code and a file for a 3d print casing for the arduino. i down loaded that and had them printed while i waited for the other peices.
1 week goes by and my spark fun peices came....time to build.
i desided to work on the body( the bar) first then the brain( rfid)... (probably will reverse that next time)
Lets Build a Frame
![20151202_051344.jpg](/proxy/?url=https://content.instructables.com/F0H/R66E/IHTEX8Y9/F0HR66EIHTEX8Y9.jpg&filename=20151202_051344.jpg)
![20151205_221718.jpg](/proxy/?url=https://content.instructables.com/FNN/1AM6/IHTEX92X/FNN1AM6IHTEX92X.jpg&filename=20151205_221718.jpg)
![20151202_051310.jpg](/proxy/?url=https://content.instructables.com/FD1/PXU7/IHTEX9AA/FD1PXU7IHTEX9AA.jpg&filename=20151202_051310.jpg)
i used the 1/2 inch to make wall frames to brace the 1/8 peices that run across
after i made the walls i worked my way up, making the cubby for ice and then the place holder for the bottles and cups...this will also make the base for the lock
Rfid
![20151130_125005.jpg](/proxy/?url=https://content.instructables.com/FOT/7GEX/IHTEX9HY/FOT7GEXIHTEX9HY.jpg&filename=20151130_125005.jpg)
![20151130_125013.jpg](/proxy/?url=https://content.instructables.com/FBW/L26U/IHTEX9I1/FBWL26UIHTEX9I1.jpg&filename=20151130_125013.jpg)
![20151130_125019.jpg](/proxy/?url=https://content.instructables.com/FCK/QZAQ/IHTEX9I3/FCKQZAQIHTEX9I3.jpg&filename=20151130_125019.jpg)
![20151130_125025.jpg](/proxy/?url=https://content.instructables.com/F66/I9QT/IHTEX9I4/F66I9QTIHTEX9I4.jpg&filename=20151130_125025.jpg)
after that was put down i made a small cubbie for sodas at the top. enough for about 15.
with that done lets work on the rfid.
i decided to sacrifice my bread board and placed everything on it for easy access and movement
unfortunaly for 3 days tried to make the code register my rfid as well as move the servo but with time running thin i had to choose one or the other so i chose servo movement (otherwise the whole point is null)
time to mount the servo, rfid, and final touches.
![20151202_051422.jpg](/proxy/?url=https://content.instructables.com/FEF/BKRZ/IHTEX9K2/FEFBKRZIHTEX9K2.jpg&filename=20151202_051422.jpg)
![20151202_051426.jpg](/proxy/?url=https://content.instructables.com/FER/MBQY/IHTEX9K3/FERMBQYIHTEX9K3.jpg&filename=20151202_051426.jpg)
![20151202_051435.jpg](/proxy/?url=https://content.instructables.com/FZZ/RJ4V/IHTEX9KQ/FZZRJ4VIHTEX9KQ.jpg&filename=20151202_051435.jpg)
![20151202_051426.jpg](/proxy/?url=https://content.instructables.com/F9J/W0UA/IHTEX9MB/F9JW0UAIHTEX9MB.jpg&filename=20151202_051426.jpg)
![20151202_051448.jpg](/proxy/?url=https://content.instructables.com/FER/UA9V/IHTEX9NK/FERUA9VIHTEX9NK.jpg&filename=20151202_051448.jpg)
![20151202_051454.jpg](/proxy/?url=https://content.instructables.com/FLG/SKCR/IHTEX9OJ/FLGSKCRIHTEX9OJ.jpg&filename=20151202_051454.jpg)
![20151202_051455.jpg](/proxy/?url=https://content.instructables.com/FH5/EZT0/IHTEX9OK/FH5EZT0IHTEX9OK.jpg&filename=20151202_051455.jpg)
![20151202_051509.jpg](/proxy/?url=https://content.instructables.com/F1A/309V/IHTEX9PL/F1A309VIHTEX9PL.jpg&filename=20151202_051509.jpg)
![20151202_051515.jpg](/proxy/?url=https://content.instructables.com/FSV/5KIU/IHTEX9RL/FSV5KIUIHTEX9RL.jpg&filename=20151202_051515.jpg)
![20151202_051411.jpg](/proxy/?url=https://content.instructables.com/FGD/ECVX/IHTEX9SK/FGDECVXIHTEX9SK.jpg&filename=20151202_051411.jpg)
![20151205_221710.jpg](/proxy/?url=https://content.instructables.com/FX1/YLWJ/IHTEX9SL/FX1YLWJIHTEX9SL.jpg&filename=20151205_221710.jpg)
![20151205_221640.jpg](/proxy/?url=https://content.instructables.com/FTC/A2AT/IHTEX9SO/FTCA2ATIHTEX9SO.jpg&filename=20151205_221640.jpg)
i had to use various peices to make my own gear that fit the servo and worked to fit it right so that it would work.
Final
![20151205_221600.jpg](/proxy/?url=https://content.instructables.com/FV0/JN9X/IHTEXA9C/FV0JN9XIHTEXA9C.jpg&filename=20151205_221600.jpg)
![20151205_221704.jpg](/proxy/?url=https://content.instructables.com/FMC/5WK4/IHTEXAAY/FMC5WK4IHTEXAAY.jpg&filename=20151205_221704.jpg)