I'll start with how i came up with this Idea
Once, one of our neighbour were moving in and they were loading their furnitures and other things and due to this it was noisy. Later there was a loud noise,many people thought that one of the furniture might have fallen,so no one checked.But i was curious and went to my balcony and to my surprise i found that an Auto Rickshaw had met with an accident and the driver was buried under the auto. After seeing that i rushed to the seen with my father and we moved the auto. After 5 mins few people gathered and were shocked.So I came up with the project to alert people living nearby by pressing a button.
Introduction to my Project
Since nowadays many people are busy with their work they fail to check their surroundings and people under a state of shock or fear sometimes dont know what to do next.Keeping this in mind i have come up with an idea to create a simple interface project to alert people living near by in case of emergency.
with the help of Arduino, GSM module and a simple push button and other components this project is possible. The mobile number and Emergency alert message is pre-defined and stored in the Arduino. When the push button in pressed Emergency Alert message is sent to the respective numbers.
Project is Targeted towards
- Those who are living alone and are in an Emergency situation like
- Low Blood Sugar(Hypoglycemia)
- Chest Pain/Heart Attack
- Major Cuts
- Strokes
- Choking etc.
2. Theft situation/Intruder
3. Or any unexpected situation like how i faced mention above or like natural disaster or environment hazard etc.




int state = 0;
const int pin = 9;
void setup()
{
Serial.begin(9600);
}
void loop()
{
if (digitalRead(pin) == HIGH && state == 0) {
Serial.print("\r");
delay(100);
Serial.print("AT+CMGF=1\r");
delay(100);
Serial.print("AT+CMGS=\"+aabbbbbbbbbb\"\r");
Serial.print("AT+CMGS=\"+aacccccccccc\"\r");
Serial.print("AT+CMGS=\"+aacccccccccc\"\r");//International no.
delay(100);
Serial.print("HELP,Flat No 201-A");//Emergeny message
delay(100);
Serial.write(0x1A);
delay(100);
state = 1;
}
if (digitalRead(pin) == LOW && state == 1) {
state = 0;
}
}