* Login 
* FAQ    * Search

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: door lock made from flash drive and arduino
PostPosted: Mon Jul 11, 2011 6:00 pm 
Offline

Joined: Mon Jul 11, 2011 5:48 pm
Posts: 9
Hey guys, i was wondering if it was possible to make a door unlock using a servo and an arduino to control it. Here is my idea:

servo is connected to door lock or handle (whichever works best)
that connects to arduino and with some script that ill be making
flash drive plugs into the usb connector bay i have
that runs to the arduino also

so whats gonna happen is the usb bay i have will be placed outside of the door on the wall and when you plug the flash drive in which has some short script on it, the usb will be read by the computer or arduino and will read the script. the arduino will then trigger the servo to rotate to open the lock.

I currently have the following parts with me:
Usb bay
flash drive
lock :D

What i need:
Servo motor
arduino (i was considering a nano, but since its far from my pc, maybe a fio with xbee transmitter and reciever)
Script (to be written)
batteries (if i use fio arduino)


Top
 Profile E-mail  
 
 Post subject: Re: door lock made from flash drive and arduino
PostPosted: Mon Jul 11, 2011 9:43 pm 
Offline

Joined: Sat Jan 30, 2010 12:22 am
Posts: 1000
Location: Australia
Yes, it has been done many times before...
http://hacknmod.com/hack/diy-dorm-room-keypad-lock-with-arduino/
http://hacknmod.com/hack/secret-knock-detecting-arduino-door-lock/


Learn the Arduio, and program it. Millions of tutorials on the net (Google if your friend)...

You would want a code (.txt) file for example, that has in the file 12345.
If you plug it into the arudio, it must look for a .txt (or whatever) file what has the digits 12345.
Once verified, it will execute a variable to true and then you can make that turn a servo.

Of course, eventually use higher security than variables and use maybe 128-bit encryption to decryption for a word instead of digits.


Top
 Profile E-mail  
 
 Post subject: door lock made from flash drive and arduino
PostPosted: Mon Jul 11, 2011 10:57 pm 
Offline

Joined: Mon Jul 11, 2011 5:48 pm
Posts: 9
I've already read those hacks when browsing the web actually. I have programed arduino before so it's not a problem. But I was wondering if you guys could help with the design and build. I'll post pics of the stuff I have l8r


Sent from my iPod touch using Tapatalk


Top
 Profile E-mail  
 
 Post subject: Re: door lock made from flash drive and arduino
PostPosted: Mon Jul 11, 2011 11:12 pm 
Offline

Joined: Sat Jan 30, 2010 12:22 am
Posts: 1000
Location: Australia
I would do it with you, becuase I would not mind one myself as I hate my lock.

However, I already used my arduino so I will have to buy another one. But, I have way to many projects not complete at the moment so I have to pass...


Top
 Profile E-mail  
 
 Post subject: door lock made from flash drive and arduino
PostPosted: Tue Jul 12, 2011 9:02 am 
Offline

Joined: Mon Jul 11, 2011 5:48 pm
Posts: 9
That's fine. Maybe I'll make one and then sell it preloaded with script and full hardware as a kit on adafruit or somewhere else. I'll make a bunch. But for now, let's think small scale. I'm going to do some more research first. And I'm going to upload pics when I get on the pc.


Sent from my iPod touch using Tapatalk


Top
 Profile E-mail  
 
 Post subject: Re: door lock made from flash drive and arduino
PostPosted: Tue Jul 12, 2011 10:51 am 
Offline

Joined: Mon Jul 11, 2011 5:48 pm
Posts: 9
EDIT: Scratch that. NXT got me nowhere. But after countless hours of google searching, i found this: [url][http://www.instructables.com/answers/is-there-any-way-to-make-a-usb-door-lock//url] and this [url]http://www.edaboard.com/thread165675.html[/url]
It is people asking questions about it but apparenly no one has ever done it. So, I shall be the first!
And heres yet another:
http://www.slashgear.com/usb-authenticated-door-lock-project-2220034/
But it doesnt actually use the usb to verify anything. it just bridges the pins on the usb female port.
So you could use anything to get in, even a mouse.


Original Post:
Ooh i also forgot to mention that i have a Lego Mindstorms NXT 2.0 set that i could use. Im playing around with script in robotC and Nxt-G now.


Top
 Profile E-mail  
 
 Post subject: Re: door lock made from flash drive and arduino
PostPosted: Mon Jun 04, 2012 8:29 pm 
Offline

Joined: Sun Jun 03, 2012 9:36 pm
Posts: 1
Here is what I'm looking for: key stays in my pocket, when I will be close to the door, door unlock. Exactly like the new car generation does. I know that I can get remote control, but with those devices, users have to push button to unlock the door. This is not easy with bags/briefcase in hands.

_________________
locksmith Tucker


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group