# Open Sesame! A SMS-controlled door lock

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/026/161/medium800thumb/adafruit_products_OpenSesameFinalGIF.jpg?1448318564)

Wouldn't it be cool if, instead of having to give your dog-sitter a key to your place, you could just text your home to let her in? Now we build it ourselves using the Lockitron lock module body,&nbsp;[Metro Mini](https://www.adafruit.com/product/2590) (tiny Arduino-compatible) and a [FONA 800](https://www.adafruit.com/product/1946) cellular module.

Info: 

[Normally, a Lockitron has a built-in WiFi system for locking & unlocking via their App](https://lockitron.com/). Since they have redesigned their enclosure, we now have the 'guts' of the Lockitron available for hacking. There's _just enough_ space inside for some tasty Adafruit electronics

![](https://cdn-learn.adafruit.com/assets/assets/000/026/137/medium800/adafruit_products_Lock_demo_top_ORIG.jpg?1435269972)

In this tutorial you'll learn how to listen to SMS messages on a FONA cellular module and use that to move a motor.

**Please note** this project is tested and working but there's a lot of optimizations we didn't add, to keep it simple! For example, it doesn't (but could): check the sender phone number to make sure its really you, have low power functionality for long term use, listen to the rotation-detection switches to verify that the lock has turned when the motor is activated, check and notify you when the battery gets low, etc! **This is a fun project and a good intermediate-advanced maker electronics project, but it's not designed to protect your home and posessions!**

![](https://cdn-learn.adafruit.com/assets/assets/000/026/162/medium800/adafruit_products_fonafit.jpg?1435347835)

- [Next Page](https://learn.adafruit.com/open-sesame-a-sms-controlled-door-lock/parts-and-wiring.md)

## Featured Products

### Lockitron Motorized Door Lock Body

[Lockitron Motorized Door Lock Body](https://www.adafruit.com/product/2579)
Build your own smart lock with the Lockitron motorized door lock enclosure! [Normally, a Lockitron has a built-in WiFi system for locking & unlocking via their App](https://lockitron.com/). Since they have redesigned their enclosure, we now have the 'guts' of the...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2579)
[Related Guides to the Product](https://learn.adafruit.com/products/2579/guides)
### Adafruit FONA - Mini Cellular GSM Breakout uFL Version

[Adafruit FONA - Mini Cellular GSM Breakout uFL Version](https://www.adafruit.com/product/1946)
Ring, Ring! Who's that callin'? It's your breadboard! Introducing Adafruit FONA MiniGSM, an adorable all-in-one cellular phone module that lets you add voice, text, SMS and data to your project in an adorable little package.

**Please note: The T-Mobile GSM network is...**

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1946)
[Related Guides to the Product](https://learn.adafruit.com/products/1946/guides)
### Adafruit FONA - Mini Cellular GSM Breakout - SMA Version

[Adafruit FONA - Mini Cellular GSM Breakout - SMA Version](https://www.adafruit.com/product/1963)
Ring, Ring! Who's that callin'? It's your breadboard! Introducing Adafruit FONA MiniGSM, an adorable all-in-one cellular phone module that lets you add voice, text, SMS and data to your project in an adorable little package.  
  
This module measures only...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1963)
[Related Guides to the Product](https://learn.adafruit.com/products/1963/guides)
### Adafruit FONA - uFL Version Starter Pack

[Adafruit FONA - uFL Version Starter Pack](https://www.adafruit.com/product/2521)
Build your own cellular project and get off the grid with FONA. This pack comes with an uFL-antenna type FONA and paired with hand-picked accessories. It's the **Adafruit FONA - uFL Starter Pack**.

The FONA miniGSM is&nbsp;an adorable all-in-one cellular phone module...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2521)
[Related Guides to the Product](https://learn.adafruit.com/products/2521/guides)
### Adafruit FONA 800 Breakout Board Starter Pack - SMA Version

[Adafruit FONA 800 Breakout Board Starter Pack - SMA Version](https://www.adafruit.com/product/2522)
Build your own cellular project and get off the grid with FONA. This pack comes with an SMA-antenna type FONA and paired with hand-picked accessories. It's the **Adafruit FONA - SMA Starter Pack**.

The FONA miniGSM is&nbsp;an adorable all-in-one cellular phone module...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2522)
[Related Guides to the Product](https://learn.adafruit.com/products/2522/guides)
### Adafruit FONA 800 Shield - Voice/Data Cellular GSM for Arduino

[Adafruit FONA 800 Shield - Voice/Data Cellular GSM for Arduino](https://www.adafruit.com/product/2468)
Ring, Ring! Who's that callin'? It's your Arduino! Introducing Adafruit FONA 800 Shield, an adorable all-in-one cellular phone shield that lets you add voice, text, SMS and data to your project in an easy to use pluggable shield.

This shield fits on top of any classic Arduino...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2468)
[Related Guides to the Product](https://learn.adafruit.com/products/2468/guides)
### Adafruit FONA 800 uFL Shield Starter Pack

[Adafruit FONA 800 uFL Shield Starter Pack](https://www.adafruit.com/product/2523)
Discontinued - **you can grab** [Adafruit FONA 808 Shield - Mini Cellular GSM + GPS for Arduino](https://www.adafruit.com/product/2636) **instead!&nbsp;**

&nbsp;

Build your own cellular project and get off the grid with FONA. This pack comes with an uFL-antenna...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2523)
[Related Guides to the Product](https://learn.adafruit.com/products/2523/guides)
### GSM SIM Card from Ting & Adafruit - Data/Voice/Text

[GSM SIM Card from Ting & Adafruit - Data/Voice/Text](https://www.adafruit.com/product/2505)
Adafruit is&nbsp;now a phone company :)&nbsp; Or, well, we've sold [DIY cell phones](https://www.adafruit.com/categories/281) for awhile now but you've never been able to buy your [FONA](https://www.adafruit.com/fona) and a SIM Card all in one place. &nbsp;Now,...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2505)
[Related Guides to the Product](https://learn.adafruit.com/products/2505/guides)

## Related Guides

- [Metro Minimalist Clock](https://learn.adafruit.com/metro-minimalist-clock.md)
- [Improve Brushed DC Motor Performance](https://learn.adafruit.com/improve-brushed-dc-motor-performance.md)
- [Wizzy: A Needle Felted Cat](https://learn.adafruit.com/wizzy-a-needle-felted-cat.md)
- [A Z80 CP/M emulator for the SAMD51](https://learn.adafruit.com/z80-cpm-emulator-for-the-samd51-grand-central.md)
- [Adafruit Metro Mini](https://learn.adafruit.com/adafruit-metro-mini.md)
- [Improve the Low Speed of Brushed DC Motors](https://learn.adafruit.com/improve-low-speed-performance-of-brushed-dc-motors.md)
- [3d Printed Neopixel Tactile Switch Buttons](https://learn.adafruit.com/3d-printed-neopixel-tactile-switch-buttons.md)
- [Ladyada's Learn Arduino - Lesson #2](https://learn.adafruit.com/ladyadas-learn-arduino-lesson-number-2.md)
- [Adafruit TB6612 1.2A DC/Stepper Motor Driver Breakout Board](https://learn.adafruit.com/adafruit-tb6612-h-bridge-dc-stepper-motor-driver-breakout.md)
- [Ladyada's Learn Arduino - Lesson #1](https://learn.adafruit.com/ladyadas-learn-arduino-lesson-number-1.md)
- [Sandblaster - 3D printed sand buggy](https://learn.adafruit.com/sandblaster-3d-printed-sand-buggy.md)
- [Digital Circuits 7: MCUs... how do they work?](https://learn.adafruit.com/mcus-how-do-they-work.md)
- [Rainbow Chakra LED Hoodie](https://learn.adafruit.com/rainbow-chakra-led-hoodie.md)
- [NeoKey Socket Breakout with NeoPixel for MX and CHOC Key Switches](https://learn.adafruit.com/neokey-breakout.md)
- [Adafruit PDM Microphone Breakout](https://learn.adafruit.com/adafruit-pdm-microphone-breakout.md)
