M2M Demo – Lesson #12 : SMS Alarm System
In this thirteenth tutorial you will be using a so-called tilt-switch to trigger an alarm if the switch is tilted to its closing position. The trigger will cause a green LED to pulse and a piezzo buzzer to produce an alarm sound. Additionally, the Android device will be notified of the alarm and it will write a log file on its filesystem. If your Android device has telephony capabilities, it will also send an SMS to a specified telephone number showing the time of the alarm and an alarm message.
You will find :
– Arduino sketch
– Android code
– Documentation including : List of electronic components, Circuit diagram , Arduino sketch, Android main class script, and a photo of the result.
You can enhance the code or create new one 🙂
As usual all code is documented.