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 VodafoneUSBModem_bleedingedge.lib
Revision | Date | Message | Actions |
---|---|---|---|
20:27f878df6d14 | 2012-09-27 | Merge | File Diff Annotate |
19:b9e5d60bcb87 | 2012-09-27 | SMS fix | File Diff Annotate |
17:9b57d29e2eab | 2012-09-27 | trying some things out to find out where a bug is. | File Diff Annotate |
16:9245c3a37491 | 2012-09-26 | debug switched on for teseting | File Diff Annotate |
15:262da03e3e20 | 2012-09-25 | Adding a reg state section of code. This makes the door controller continually monitor state before trying to send a message to the modem. | File Diff Annotate |
13:4afa5a86f05b | 2012-09-20 | merging code | File Diff Annotate |
12:e622e146b3cd | 2012-09-20 | some changes to allow debug mode to work properly | File Diff Annotate |
11:769f2b28b236 | 2012-09-19 | Changing mem size in main and atCommanderInterface to allow debuging. | File Diff Annotate |
10:c8a6f2822068 | 2012-09-18 | small changes to show it working | File Diff Annotate |