Alarm System is an intelligent voice alarm system based on SIM800 module and Raspberry Pi B+.
We will teach you how to build this project in this post.
First of all, download the related data from this website: https://github.com/itead/ITEADSW_RPI_AlarmSystem
You will get the segnix.zip from the website, decompress it. Inside the folder, there is a README.md file, where you can find segnix guides. We hope you can get started your project smoothly. By the way, the Raspberry Pi system we use is 2015-02-16- raspbian-wheezy.
Now follow our steps to build this alarm project.
♦ Step 1: Decompress segnix.zip.
♦ Step 2: Install segnix
Open your RPI system, input "sudo make", then "sudo make install".
♦ Step 3: Use segnix or command "sudo segnix server server.c" to compile server.c.
♦ Step 4:Use segnix to or command "sudo segnix AlarmSystem AlarmSystem.ino" to compile AlarmSystem.
♦ Step 5: Execute "server" by "sudo ./server &".
♦ Step 6: Execute "AlarmSystem" by "sudo ./AlarmSystem".
♦ Step 7: Alarm Call
There will be a phone call come later. Pick up the phone and you will hear an alarm. At this point, you may press 1 or 2 with another alarm to ring on for a while.
Warning!
Fristly, install mplayer with below command:
sudo apt-get install mplayer
Secondly, you must disable serial:
sudo raspi-config————> 8 Advanced Options ————> A8 Serial ————>NO
Folder Description
♦ source:
24.mp3 25.mp3 26.mp3: Recording file.
server.c : the server source code
server: server Executable file
AlarmSystem.ino: main source code
AlarmSystem: AlarmSystem Executable file
♦ segnix.zip: segnix Installation package
♦ README.md
Demonstration Video
Alarm System from ITEAD