Arduino Projects

Fire Alarm & Motion Alarm Using Arduino With GSM

Fire Alarm & Motion Alarm Using Arduino With sim800l GSM Module

Introduction 

In This Article, I design a fire and Motion Alarm System Using an Arduino Nano Board. I connected the two sensors like LM35 Sensor And the Ultrasonic Sensor With Arduino Nano Board.

Fire Alarm Motion Alarm Using Arduino With GSM3

If the LM35 sensor temperature increases more than 40 degrees Celsius then GSM Send the text message“Fire Alert Plz Check Your Room” and if the ultrasonic Sensor detects motion under 10CM then GSM Send the Text Message“Motion Alert Plz Check Your Room”.

Bill Of Material

S.N

Component's

Quantity

Link To Buy

1

Arduino Nano

1

2

16x2 LCD Display

1

3

Sim800l GSM Module

1

4

LM2596 Step Down Converter

1

5

LM35 Sensor

1

6

Ultersonic Sensor(Hc-SR04)

1

7

10K Pot

1

Component Overview

Here I Used The Arduino Nano board because is easy to mount in a Zero PCB And is compact Size. These are the all features of the Arduino nano microcontroller.

Components2 1

  • Operating Voltage                                5 V
  • Input Voltage (recommended)        7-12 V
  • Digital I/O Pins                                       14 (of which 6 provide PWM output)
  • PWM Pins                                                6
  • Analog Input Pins                                 8
  • DC Current per I/O Pin                       40 mA
  • Flash Memory                                       32 KB 
  • SRAM                                                       2 KB
  • EEPROM                                                  1 KB
  • Clock Speed                                          16 MHz
  • The LCD displays 16 characters by 2 lines Alphanumeric display. Black text on Green background.the 16×2 LCD display I used to display the alert message like if the temperature increases the LCD displays the “Temperature alert”.

Medicine Reminder With Arduino1

  • Sim800l GSM Module I used because is compact in size and is available in all local electronics markets.is support Quad-band 850/900/1800/1900MHz,4-bit or 8-bit MPU Interface.
  • sim800l GSM Module works in 3.7v to 4.3v only does not work in 5v that’s why plz don’t connect it to Arduino 5v.

Components1 2

  • LM2596 Step-down converter converts the 12v to 3.8v because the sim800l gsm module works only 3.7v to 4.3v.

Components2

  • LM35 Sensor measures the temperature and is an analog sensor The operating temperature range is from -55°C to 150°C and Linear Scale Factor is + 10 mV/°C Scale Factor.

Motion Detection And Temperature Monitoring System Using Arduino6 e1686747242578

  • ultrasonic sensor module can be used for measuring distance, object sensors, and motion sensors. in this project, I used Ultrasonic sensors like a motion sensor.
  • Output: Digital Sensor
  • Voltage: 5VDC
  • Detection distance: 2cm-400cm
  • Static current: < 2mA
  • Level output: 5V

Esp32 cam Motion Detection using Ultrasonic Sensor2

 

Circuit Diagram

I designed a simple circuit diagram to be easy to understand. just connected the proper wire and then uploaded the code.

UltersonicSensor LM35 Sensor

  • 16×2 LCD Display I connected to pin number D12,D11,D10,D9,D8,D7 Pin to Arduino nano board.
  • The ultersonic sensor is connected to the Pin Numbers D3 and D4, the Trigger pin is connected to the D3 Pin Number Echo PIn is connected to the D4 Pin Number VCC is connected to the 5V, and GND will be connected to the GND.
  • LM35 Sensor is connected to the A4 Pin Number, VCC Is connected to the 5v and GND will connected to the GND.
  • Sim800l GSM Module is connected to the Tx Pin is the D6 Pin Number and the Rx Pin is connected to the D5 Pin Number.
  • But the GSM required the 3.7v that’s why you used the lithium-ion battery or LM2596 Step Down Conveter.

PCB Design

Here We Design The PCB Board With the help Of EasyEDA Software.

Fire Alarm Motion Alarm Using Arduino With GSM2

Back Side View Of the Zero PCB Image.

Fire Alarm Motion Alarm Using Arduino With GSM1

Code

Tempature Alert Message

Motion Alert Message

GitHub e1697076839430

Project Demo

See the LCD display if motion will detected the LCD will display “Motion detected!”

Fire Alarm Motion Alarm Using Arduino With GSM5

Then GSM sends the Text message to the mobile Number.

Fire Alarm Motion Alarm Using Arduino With GSM4

if the LM35 Sensor value is higher than 40 degrees Celsius the LCD will display the “Temp Alert!” Message.

Fire Alarm Motion Alarm Using Arduino With GSM6

Then After a few seconds, the GSM Send the Text Message.

Fire Alarm Motion Alarm Using Arduino With GSM3

Video

Conclusion

In this Project, I used the Ultrasonic sensor as a motion sensor but if you try to use the PIR Sensor just change the code or IR Sensor.

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker