Sending sms if smoke is detected (Arduino+GSM SIM900A

Hii everyone

In my first instructable I will be making a gas alarm which sends message to the user if pollution is detected.

Step 1: Materials Required

(1) Arduino Uno board (or any Arduino board)

(2) GSM shield (Personally recommended GSM SIM900A).

(3) Jumper Cables

(4) 10 K resistor

(5) Breadboard

(6) MQ 135 gas sensor

Step 2: Making Connections (GSM MODULE TO ARDUINO)

First of all connect the Tx of gsm module to pin #2 of arduino , Rx to pin#3 and make the grounds of both the apparatus common. And don't forget to power the gsm shield with a 12v external power source while running your device.

Step 3: Making Connections (between sensor and Arduino)

Sending sms if smoke is detected (Arduino+GSM SIM900A

make connections as shown in pic and TREAT YHE SIDE OF SENSOR WITH"MQ135" WRITTEN AS TOP.

and choose analog pin A0.( to match with code otherwise you have to change it)

Step 4: Testing Time

firstly we will run code attached so that we can see readings of sensor in normal and polluted environment on serial monitor.

Note down the values in both the cases.( we can make the environment polluted by lighting incense stick in front of sensor :p)

Sending sms if smoke is detected (Arduino+GSM SIM900A
FX0LTDQHTX5K9V8.ino328 bytes

Step 5: Final testing

Use the noted values to edit the final code attached and change the cellphone number in code and write the code in arduino.

Open serial monitor and wait

serial monitor will show "status OK" and soon will send sms to the cellphone.

Video soon would be published.

Sending sms if smoke is detected (Arduino+GSM SIM900A
adidas_is_all_in.ino983 bytes

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel