![](/media/cache/profiles/e1c599867ee5449a59e6c638200a3d92.50x50_q85.jpg)
Door controller and proximity switch detection.
Dependencies: mbed-rtos mbed VodafoneUSBModem_bleedingedge
This program takes in a digital input - which is a reed switch for a door - and an output to a relay. The door is open with a simple 'text' to the modem on the USB bus (i used k3770 vodafone dongle).
The door will send an alarm message to your nominated numbers at the start of the program if the door is open without a command being sent.
Very simple - and just meant as a demonstration of how to incorporate GSM/3G functionality to a evice.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
8:1b4e84f4c451 | 2012-09-16 | adding more debug - fixing sms send - adding proximity switch detection routine and state variables | File Diff Annotate |
7:316c2dac06a5 | 2012-09-16 | changing door controller to sense it's state using the proximity switch | File Diff Annotate |
6:5a892c3d738e | 2012-07-25 | removing redundant code. | File Diff Annotate |
5:ca4f06634bcb | 2012-05-15 | updated timgins | File Diff Annotate |
4:99bbdfe42ae0 | 2012-05-15 | updating errors | File Diff Annotate |
3:0a8eebcb0acf | 2012-05-15 | Adding digital out | File Diff Annotate |
2:bcc9256ecaab | 2012-05-15 | trying out door opener code | File Diff Annotate |
1:3c9d0c9dffa4 | 2012-05-15 | text changes; | File Diff Annotate |
0:5136cdfaebd0 | 2012-05-15 | changed phone number | File Diff Annotate |