![](/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.
mbed.bld@27:a265d336f088, 2013-02-21 (annotated)
- Committer:
- nherriot
- Date:
- Thu Feb 21 09:29:20 2013 +0000
- Revision:
- 27:a265d336f088
- Parent:
- 10:c8a6f2822068
- Child:
- 28:8191f8a516d9
watchdog timer used to restart the device if the modem fails to come up.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nherriot | 27:a265d336f088 | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/0954ebd79f59 |