itbrainpower.net
THE ALPHABET PROJECT - professional Arduino, BeagleBone & Raspberry PI shields



Read our last post: Modems and RaspberryPI 5. RaspberryPI OS [Debian 12 bookworm] notes.. Order u-GSM modems.

SMS alarm system with Arduino by Pop Georghe

This project represents a simple SMS alarm system made with Arduino that allows you to arm or disarm via SMS message. Also when the alarm is triggered you’ll get a SMS notifying you that. And because I know that is very hard to type messages the included android app will help your fingers to rest :-D

 

Needed components

 

How it works

The laser diode and photoresistor creates a light barrier sensor. When armed and the light barrier is breached the SMS alarm system will send an SMS alert to the predefined alert numbers. The system have 3 states, which are not armed, armed and alarm triggered. The state of the alarm you can see on the 6 led’s that are connected to the arduino uno board. Arduino program is so designed that you are able to arm or disarm the system only from allowed phone numbers. If you are really paranoiac you could modify the software for the SMS alarm system so that it’s  sending encrypted SMS. For this you have to change the AppInventor software and arduino code a little bit.

For communicating with A-GSM shield I used their latest example code called “kickstart for Arduino”. This is like a library for the A-GSM shield and will help you a lot to achieve your goal with your project. In my case I strip/and modify a little bit the code to suit project needs.

 

Software

I put the Arduino part of the code on GitHub due to the A-GSM library. You cand download from the below link:

https://github.com/roroid/SMSAlarm

 

Connections:

Arduino Laser Alarm A-GSM SMS

 

AppInventor

For the android app you need a button for arming/disarming the system and a log label for receiving system messages. Below you can see my design and my app:

SMSAlarm_designer

SMSAlarm_block code

You can download AppInventor source code and apk from here:

SMSAlarm

 

SMSAlarm in the wild

 

 

 

Originaly publised on 27/03/2015 by Pop Gheoghe at http://www.roroid.ro

 

 

 

About Pop Gheorghe

Passionate about everything related to programming. It is not especially focused to a particular language, but performs C and Python programming, for the moment. Graduate in 2005 the Faculty of Mechatronics at Universitatea Politehnica Timisoara.

He got the first computer at the age of 10 (it was a CHIP03 - still having it today). Currently, is "playing" with Arduino and Raspberry Pi.

 

 
Order online a-gsmII shield -

 

 

 

document version 1.01 / 2015-08-27 © R&D Software Solutions srl