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 😀

 Needed components

  • Arduino Uno
  • A-GSM shield
  • Bread board or prefboard
  • laser diode
  • photoresitor(LDR)
  • 10k resistor
  • leds
  • wires for connections

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:

g4158

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

 

SMS alarm system with Arduino

9 gânduri despre „SMS alarm system with Arduino

  • Pingback: 10 Project sederhana dari arduino uno | Uno

  • 04/09/2015 la 14:16
    Legătură permanentă

    Salut.
    La codul atasat mai trebuie o librarie atasata?
    La verificare codului in Arduino primesc o gramada de erori de genul :
    SMSAlarm.ino: In function ‘void alarmSMS()’:
    SMSAlarm:69: error: ‘listSMS’ was not declared in this scope
    SMSAlarm:73: error: ‘readSMS’ was not declared in this scope
    SMSAlarm:75: error: ‘getValue’ was not declared in this scope
    SMSAlarm:79: error: ‘sendSMS’ was not declared in this scope
    SMSAlarm:84: error: ‘sendSMS’ was not declared in this scope
    SMSAlarm:89: error: ‘sendSMS’ was not declared in this scope
    SMSAlarm:93: error: ‘deleteSMS’ was not declared in this scope

    Doresc sa fac si eu aces proiect si as aprecia daca ma poti ajuta.

    Multumesc!
    Ovidiu

    Răspunde
    • 08/09/2015 la 15:28
      Legătură permanentă

      Salut,

      Trebuie să descarci tot codul de pe github. Aplicația arduino are mai multe „foi”. Vezi ca undeva în partea dreaptă ai download zip. Folosește acel buton.

      Răspunde
  • Pingback: Best Ideas for cheap Arduino UNO projects - XDA BOARD

  • 07/09/2016 la 04:56
    Legătură permanentă

    Com pot sa primesc duar 1 sms chiar daca laseru este intrerupt?
    Adica daca in directia leser si fotorezistenta pun un obstacol duar o singura alarma sa in vina si asta sa se repete duar daca obstacolul va trece si iar va reveni.
    Aici daca las un obstacol intre laser si fotorezistenta primesc sms in continu.
    Pe mine ma intereseaza la o valoare masurata de un senzor de temperatura TERMISTOR 10K NTC sa primesc 1 SMS la o valuare prestabilita nu sa primesc sms dupa sms cat temperatura este in valuarea aceea.
    Eu am dat functia :
    if (analogRead(S1Grade) == 95) {
    alarma_temperatura_cazan();
    delay(100); }
    }
    Dar am si enternet placa si placa gsm si la valuarea de 95 grade imi repeta procedura deci primesc sms-uri toata ziua sau toata noaptea daca temperatura este de 95 grade in incinta.
    Mersi anticipat

    Răspunde
  • Pingback: ini lah 10 Project sederhana dari arduino | Children Future

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *