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.

Files at this revision

API Documentation at this revision

Comitter:
nherriot
Date:
Wed Jul 17 08:54:57 2013 +0000
Parent:
28:8191f8a516d9
Commit message:
First commit of the Vodafone door controller.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Feb 21 09:40:10 2013 +0000
+++ b/main.cpp	Wed Jul 17 08:54:57 2013 +0000
@@ -1,6 +1,6 @@
-/* net_sms_test.cpp */
+
 /*
-Copyright (C) 2012 ARM Limited.
+Copyright (C) 2012 Vodafone Limited.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal in