Tuesday, July 17, 2007

Cell Phone Controlled Door Latch


Download Video (1.78 MB)

I’ve been reading a lot on how DTMF (Dual Tone Multi Frequency) tones work over the last couple of weeks. I’m sure you’ve noticed that when you press the keys on a standard telephone keypad, an audible ‘beep’ is generated. These beeps are actually the combination of two distinct frequencies. For example, the tone you hear when you press the number ‘9’ on a telephone, is actually a combination of a 1447 Hz and 852 Hz signal. In a telephone exchange, these signals are decoded by a computer which finally connects the dialer to the designated phone line. For example, the tone of 1447 Hz and 852 Hz will be decoded as binary ‘1001’. In this project, I have designed a simple DTMF decoder circuit which allows me to control appliances in my house from any place on Earth using a telephone.

I always wanted to be able to control things such as air-conditioners, lights, etc, remotely…but I never thought about putting the front door of my house under remote control until I saw this “knock to open” door hack on Hackaday. It’s a door that will unlock when the correct knock pattern is performed. After being inspired by the mechanical door opening system in that hack, I decided to do something similar to allow me to open my door with a cell phone! I mean c’mon, door locks with keys are obsolete..everyone uses them..they’re so old fashioned! They’ve been around for over 4,000 years. Yikes! It’s time for a little change.

This project would have been much simpler if I had an electronic door lock…but I didn’t! They’re expensive, so I didn’t want to buy a new electronic door lock. I wanted to open the front door of my house without “seriously” modifying/replacing any door components. I thought about using a servo/stepper motor to twist the door knob on the door, but their control circuitry is slightly complicated if you’re not using a microcontroller. So, I decided to use a simple, 24VDC, “pull solenoid”. They don’t have any complicated control circuitry and you just have to supply the required voltage to make them work. I simply fastened the solenoid to the door knob with a metal wire. When the solenoid is switched on, its linear motion twists the door knob and opens the door. Positioning the solenoid properly was probably the only mechanical challenge in building this door opener because the force applied by a solenoid, is theoretically inversely proportional the square of the length of the air gap. Thus, strongest force is generated when the air gap is smallest.



The second part of this project was to build a DTMF decoder circuit. I used a CM8870PI tone decoder IC for doing this. The circuit I have built is fairly simple, and can be used for controlling up to four devices. If you want to control more than four devices, check out this circuit. I had a Nokia 1100 cell phone lying around with a hands-free accessory which was rarely used. So, I hacked its hands-free accessory and connected it to the circuit (I just cut the wires which went into the earpiece). That’s about it! To control things in the house, you just dial into the base station and the Nokia 1100 auto-answers the phone call. Each function is just a matter of pressing the appropriate number on the phone and the DTMF chip decodes it and sends output to a transistor which controls a relay. To open my door, I just dial the phone, enter the magic code and voila - Alohomora! Watch the video above. :)





Now I’m thinking about building a password protected door by placing a keypad outside my house which will generate DTMF tones. A circuit on the other side of the door will check the numbers entered, and if the password is correct, it will open the door. However, there’s one little snag. Any nasty programmer would just love to use a computer to generate DTMF tones and crack the password using brute force…I would. :)

243 comments:

«Oldest   ‹Older   201 – 243 of 243
play bheem games said...

sony ericsson messa inside onda 's di fuori, il Woolrich Jacke è l . a . scelta migliore. giubbotti Woolrich è not nome famoso, che è abituata any chi ama l . a . montagna elizabeth l'usura semplice. Gli articoli Woolrich sono effettivamente accettato inside tutto il mondo, giubbotti Woolrich anomalo.

Search Engine Optimization said...

Great work you have done by sharing them to all. simply superb

Search Engine Optimization said...

my house from any place on Earth using a telephone.

irs tax problem said...

. Thus, strongest force is generated when the air gap is smallest.

Anonymous said...

Can you do it to my door lock ?
So many times I have faced the problem of forgetting the keys inside and and locked the door ..
How much it will cost?

Anonymous said...

Hi Ashish. I wanted to procure 2 pull solenoids for my project. Can you please tell me from where I can get it in India? Thanks.

peer s said...

Informative blog ,i find out some awesome information about controlled door opener Thanks a lot.Magnetic door locks

Sexyladyme26 said...

Useful information like this one must be kept and maintained.I love this post and 100% I recommend this blog to my friends and family.


door hinges

locksmith sydney said...

At locksmith sydney Our specialists are experienced and outfitted to deal with any security situation from picking high security locks and setting up maximum security hardware, to monitoring key lock boxes for just about any clients involved with property and property management, in addition to performing regular maintenance inspections on deadbolts and hardware.

samsung customer care number said...

This post is great. Thank you for this post. I like this kind of people who share their knowledge with others.

Sweet Fairy said...

This is awesome. I love your idea. Thanks for sharing. cep telefonun

Sandesh Deshmukh said...

hey Ashish ur really genious..m also frm electronix dept...m also thinking to do hv sme project...wil u pls told me wat wat d cost of ur whole project....pls....pls....pls..

Godfred Wentworth Obeng Bentum said...

hi please am very much interested in ur great work but could u please help me on how to program the phone and can also use any phone apart Nokia 1100?

Badr Rharbaje said...
This comment has been removed by the author.
Sing said...

i am shock with your great idea you had made proper use of mobile, can i do with my mobile i have blackberry z10 ?

Priyanka jain said...

Blog is very nice. you can see on my site : http://www.baggout.com

visit here: Baggout

baggout said...

Really nice blog. check on my site

And Igitallock said...

Nice your blog..........

Shop our number of Door Locks & Deadbolts inside Tools & Hardware Department with the Home Depot in singapore.

Kumkum Bhagya said...

i love your thoughts but plz explain more

Daina Parker said...

I read your article it's a very good information for both call phone user & Cell Phone Parts Suppliers.




Sannu said...

excellent piece of informationThis is just the kind of information that i had been looking for, i’m
already your rss reader now and i would regularly watch out for the new
posts

neeraj said...

nice one bro...keep it up quiet more informational

jaring safety said...

Nice article, thanks for the information. It's very complete information. I will bookmark for next reference
jaring futsal | jaring golf | jaring pengaman proyek |
jaring pengaman bangunan | jaring pengaman gedung
http://www.jual-jaring.blogspot.com/
http://www.agen-jaring.blogspot.com/
http://www.pancasamudera-safetynet.blogspot.com/
http://www.toko-jaring.blogspot.com/
http://www.pusat-jaring.blogspot.com/
http://jualjaringpengaman.blogspot.com/
https://pancasamudera.wordpress.com/
https://pasangjaringfutsal.wordpress.com/
https://jualtambangmurah.wordpress.com/
https://tokojaring.wordpress.com/
https://jualjaringfutsal.wordpress.com/
https://jaringfutsal.wordpress.com/

jowdjbrown said...

You can spend $10 or $60 each depending upon style and quality. Interior lock sets are made for keyed, privacy and closet/hallway applications. locksmith indianapolis 46226

jowdjbrown said...

You can spend $10 or $60 each depending upon style and quality. Interior lock sets are made for keyed, privacy and closet/hallway applications. 24hrlocksmithinthecolonytx.com

jowdjbrown said...

Locksmith Angels was born in 1994 when the founder of this company recognized the need for residential locksmith, commercial locksmith, car locksmith and door unlocking solutions in their community. Since then, Locksmith Angels has grown to become the leading professional locksmith service provider in Virginia Beach, Virginia.

Although Locksmith Angels’ main aim is on emergency business and home locksmith servicing, we also provide a wide variety of automotive services for your safety.locksmith service in virginia beach.

Anushka Sharma said...

Hello nice blog im from newcastel i found this on yahoouk I seen it on the top ten searches i found this blog very interesting good luck with it i will return to this blog soon

<a href="http://www.freecoupondeals.in/stores/makemytrip/>makemytrip coupon code</a>

pankaj said...

Thank you for sharing very useful information.

Videocon Telecom has announced its aggressive growth plans to become a preferred National Operator. As part of its network expansion drive, the telco announced 2489 new cell sites and 231 new exclusive stores in existing circles.


Sscexams Info said...

Nice article very informative i am gonna recommend this article to my friends.
SSC Exams

jowdjbrown said...

Then they make a entire evaluation the root trigger of that trouble that really results in the challenge in building that lock jammed and decide on the suitable challenge. Following owning a whole recognition the trustworthy locksmith operates the lock and makes it maintenance along with the support of training and special choice of instruments. desoto tx locksmith

Neha Sharma said...

your blogs is awesome.
V Music
Now you can listen to your choice of songs wherever you go. Just subscriber to our V Music service and listen to more than 50 thousand songs. Enjoy latest filmy songs, private albums, regional songs and many more. So what are you waiting for, just follow any one step to subscribe:
Dial 5606001 (toll free) from your Phone.
Activate : Dial 5606001 (toll free) from your Phone. Deactivate Dial 155223 from your phone. Subscription Charges: Rs 30 for 30 Days to enjoy Music.

Raghav sharma said...

very useful information thank you for sharing it.

Videocon Telecom cuts national roaming tariff
After national carriers, such as Vodafone India, Bharti Airtel and Idea Cellular, Videocon Telecom that has less than a crore subscribers on Friday reduced national roaming tariff, in line with telecom regulator Trai guidelines.The drop in tariff is to the extent of 75% on local and national SMS; 40% on all incoming calls; and 23% and 20% on STD and local calls made while roaming, the telecom firm said in a statement.

jowdjbrown said...

Then they come up with a entire assessment the foundation cause of that difficulties that actually produces the problem in earning that lock jammed and choose the suitable problem. Right after acquiring a whole recognition the trustworthy locksmith operates the lock and can make it maintenance along with the aid of practicing and unique selection of equipment. flower mound tx locksmith

Elizabeth J. Neal said...

I have designed a simple DTMF decoder circuit which allows me to control appliances in my house from any place on Earth using a telephone. locksmith indianapolis 46219

Albert said...

Nicely presented information in this post, I prefer to read this kind of stuff. The quality of content is fine and the conclusion is good. Thanks for the post.
garage door track repair

Anthony Steffey said...

I was quite pleased with the specialist service I obtained from מישלוץ טכנאי מזגנים. They were on time as well as the work is ""extraordinary"". I was given an estimation in addition to a description of just what was to be done and also why! Would certainly suggest them to anyone trying to find top quality AC repair as well as the satisfaction of handling real specialists.טכנאי מזגנים בת ים

Henry said...

it's really a helpful and informative post,
emergency cardiff locksmith

Steven Bruce said...

This article has great reference value, thank you very much for sharing, I would like to reproduced your article, so that more people would see it.
Locksmith

Steven Bruce said...
This comment has been removed by the author.
Joan said...

Congrats, determination and hard working never get bad result.

garage spring repair san diego

Alex John said...

These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
Garage Door Spring Repair

Garage Door Repair said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
company to fix garage door seattle

Garage Door Repair said...

I have read many blogs in the net but have never come across such a well written blog. Good work keep it up
garage door service seattle

«Oldest ‹Older   201 – 243 of 243   Newer› Newest»