Remote Home Monitoring System with SMS Interface
General Project Description
This project is a remote home security/monitoring system with SMS interface. It incorporates a motion sensor that detects movement when the system is activate and alerts a user using SMS.It also takes a 180 degrees pan picture and stores it in an SD card after starting an alarm. The user is also alerted in case of a fire which is detected by the temperature sensor. The user can send commands such as:
- Get Status
- Turn off lights
- Get Temperature
- Take Picture
- Set Temperature
- Turn off alarm
- Turn off heater etc.
The project also includes an Android application that can be used as a substitute to SMS interface if the user has an Android smartphone. Similar functionality can be developed for iOS. However, the SMS interface was primarily incorporated to allow users without a smartphone to take advantage of its feature.
Team Members
- Kunal Patel
- Tanvir Iqbal
- Se Hoon Son
- Abhishek Shah
Equipment Used/Connections
- Small breadboard
- 4 AA Batteries for Power Supply: 6V
Component | Connection Type | Power |
---|---|---|
mbed | N/A | 6V |
SMS module | p13, p14 (RS232) | 6V |
Motion sensor | p20 (AnalogIn) | 6V |
SHT15 Temperature sensor | p9, p10 | 3.3V |
Text LCD display | p15, p16, p17, p18, p19, p21 | 6V |
SD card reader | p5, p6, p7 (SPI), p8 (CS) | 3.3V |
DC Servo | p22 | 6V |
Camera | p28, p27 | 3.3V |
LED Lights | p29, p30 | N/A |
Speaker(through Voltage reg) | p23 | 6V |
Functionality
The Remote Home Monitoring System uses a Phidget P/N 1111 motion detection cameras to detect movement. The SM5100-B SMS module along with an evaluation board allows to setup an SMS functionality. For this case, a t-mobile simcard was used. Any other simcard can be used as long as the appropriate frequency band is set. The SD card which operates on SPI protocol stores the picture in the case that motion is detected and the system is activated. Besides taking the picture and notifying the user of an intrusion alert, an alarm is set off as well. The user can then remotely choose to turn the alarm off. The project incorporates and SHTx temperature and humidity sensor as well as a text LDC that together acts as a place holder of a thermostat. The user can remotely turn heater on/off as well as set a particular temperature. The temperature sensor is also used to detect fire or other high temperature cases to notify the user of any such hazard.
Problems Encountered
- Motion detection range is limited.
- Does not include MMS
- Cellular network dependent
- Delay between commands
Pictures & Video Demo
Code
Here is the associated libraries and main program for the project
Import program4180_Project
Georgia Tech ECE 4180 Final Project
Below is the code for the sample program.
#include "project_defines.hpp" int main() { setup_devices(); calibrate_ir(); while(1) { led4 = !led4; adjust_temperature(); if(activate && check_movement()){ pc.printf("\nIntrution Alert: Current ir sensor average %f\n", current_avg); wait(1); char message[50]; sprintf(message, "Intrusion Alert!! Picture # %d captured", index); send_sms(message); take_picture(); play_sound(); } read_message(); if(message_received){ handle_message(); wait(2); } wait(0.1); } }
4 comments on Remote Home Monitoring System with SMS Interface:
Please log in to post comments.
can you please help me in developing code for interfacing a GSM module? I am really trying hard for it, but with no proper results.