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 mbed.bld
Revision | Date | Message | Actions |
---|---|---|---|
28:8191f8a516d9 | 2013-02-21 | updated to the newest mbed lib | File Diff Annotate |
27:a265d336f088 | 2013-02-21 | watchdog timer used to restart the device if the modem fails to come up. | File Diff Annotate |
10:c8a6f2822068 | 2012-09-18 | small changes to show it working | File Diff Annotate |
6:5a892c3d738e | 2012-07-25 | removing redundant code. | File Diff Annotate |