# What's the best approach to implementing a remote control lock?

I was thinking how I would go about building a remote control lock with an Arduino (or better yet a Raspberry Pi when I get one) and thought I'd check to see if any were available for sale. Schlage has something at a ridiculously high price with a monthly fee of $9-$13 or so. Insanity!

So I'm back to thinking about building one myself. I'm thinking the Pi would have its own web server and wifi interface to connect to my router. I'm pretty sure I can mange the software side of things but need some direction on the hardware.

How would you do it, if you were going to build one? What other hardware would I need to lock and unlock the door? A servo? A general purpose lock that I modify? How?

• From a security standpoint, keep the receiver section completely separate from the servo section. Ultimately the receiver should transmit what it receives to the servo side (possibly through encryption) where the data is checked and if correct, opens the servo and probably sends a signal back to the user so they know what happened. – Garrett Fogerlie Oct 10 '12 at 7:32
• you could easily use motors.shop.ebay.com/i.html?_nkw=door+lock+actuator , and connect it to one of GPIO.But the problem is security as Garrent Fogerlie said. – Standard Sandun Oct 10 '12 at 7:54
• Sorry if this is a dumb question, but I'm not following: could you explain the security problem in more detail? I'm picturing using the Pi to provide a web-based interface (probably a graphical switch that shows the status of the lock, and toggles when I click it, something that would work on a phone screen) which I could access both inside and outside my wifi network. I assumed the Pi would directly control the servo. (No?) Are you saying have one Pi (or other device) as the web server, and another Pi (or Arduino) to control the servo? – iconoclast Oct 10 '12 at 19:12