SlideShare a Scribd company logo
1 of 43
Download to read offline
Internet ofThings
IFTTT Templet to send SMS
Eng. Elaf A.Saeed
The Contents
• Gas sensor mq-2
• IOT platform.
• IFTTT platform.
• IFTTT platform to send gas alarm SMS.
IFTTT Templet to send SMS
With ESP8266 NodeMCU
Gas sensor mq-2
• MQ2 is one of the commonly used gas sensors in MQ sensor series. It is a
Metal Oxide Semiconductor (MOS) type Gas Sensor also known as
Chemiresistors as the detection is based upon change of resistance of the
sensing material when the Gas comes in contact with the material. Using a
simple voltage divider network, concentrations of gas can be detected.
• MQ2 Gas sensor works on 5V DC and draws around 800mW. It can detect
LPG, Smoke, Alcohol, Propane, Hydrogen, Methane and Carbon Monoxide
concentrations anywhere from 200 to 10000ppm.
Gas sensor mq-2 (cont.)
• Here are the complete specifications
Gas sensor mq-2
❑MQ2 Gas Sensor Module
• Since MQ2 Gas Sensor is not breadboard compatible, we do recommend this
handy little breakout board. It’s very easy to use and comes with two different
outputs. It not only provides a binary indication of the presence of
combustible gases but also an analog representation of their concentration in
air.
Gas sensor mq-2
❑MQ2 Gas Sensor Module (Cont.)
• The analog signal from MQ2 Gas sensor is further fed to LM393 High
Precision Comparator (soldered on the bottom of the module), of course to
digitize the signal. Along with the comparator is a little potentiometer you can
turn to adjust the sensitivity of the sensor. You can use it to adjust the
concentration of gas at which the sensor detects it.
Gas sensor mq-2
❑Calibrate MQ2 Gas Sensor Module
• To calibrate the gas sensor you can hold the gas sensor near smoke/gas you
want to detect and keep turning the potentiometer until the Red LED on the
module starts glowing. Turn the screw clockwise to increase sensitivity or
anticlockwise to decrease sensitivity.
Gas sensor mq-2
❑Calibrate MQ2 Gas Sensor Module (Cont.)
• The comparator on the module continuously checks if the analog pin (A0) has
hit the threshold value set by potentiometer. When it crosses the threshold, the
digital pin (D0) will go HIGH and signal LED turns on. This setup is very
useful when you need to trigger an action when certain threshold is reached.
For example, when the smoke crosses a threshold, you can turn on or off a
relay or instruct your robot to blow air/sprinkle water. You got the idea!
Gas sensor mq-2
❑MQ2 Gas Sensor Module Pinout
• VCC supplies power for the module. You can connect it
to 5V output from your Arduino.
• GND is the Ground Pin and needs to be connected to
GND pin on the Arduino.
• D0 provides a digital representation of the presence of
combustible gases.
• A0 provides analog output voltage in proportional to the
concentration of smoke/gas.
Iot platform
• IoT platforms originated in the form of IoT middleware, which purpose was
to function as a mediator between the hardware and application layers. Its
primary tasks included data collection from the devices over different
protocols and network topologies, remote device configuration and control,
device management, and over-the-air firmware updates.
Iot platform
Iot platform
• Its manages the connectivity of devices.
• It enables developers to build new mobile software applications.
• It allows you to collect devices data.
• It allows your backend IT applications to communicate with your devices.
IFTtt platform
IFTtt platform
• Sign up to IFTTT Platform
IFTtt platform to send gas alarm
sms
• After sign up click on create
IFTtt platform to send gas alarm
sms (cont.)
• Click on (if this)
IFTtt platform to send gas alarm
sms (cont.)
IFTtt platform to send gas alarm
sms (cont.)
• Write on search ➔ webhooks ➔ click on it.
IFTtt platform to send gas alarm
sms (cont.)
click
IFTtt platform to send gas alarm
sms (cont.)
click
IFTtt platform to send gas alarm
sms (cont.)
click
Write the events
name
IFTtt platform to send gas alarm
sms (cont.)
Click
IFTtt platform to send gas alarm
sms (cont.)
IFTtt platform to send gas alarm
sms (cont.)
Click
IFTtt platform to send gas alarm
sms (cont.)
Click
IFTtt platform to send gas alarm
sms (cont.)
Click
IFTtt platform to send gas alarm
sms (cont.)
Phone No.
The message
IFTtt platform to send gas alarm
sms (cont.)
Click
IFTtt platform to send gas alarm
sms (cont.)
Click
IFTtt platform to send gas alarm
sms (cont.)
• Now we specify the URL that is used to trigger the events.
IFTtt platform to send gas alarm
sms (cont.)
Event name
Click to test the event
IFTtt platform to send gas alarm
sms (cont.)
URL to
Trigger the
events
The
response
IFTtt platform to send gas alarm
sms (cont.)
• Also the message received in your phone.
IFTtt platform to send gas alarm
sms (cont.)
• Circuit Design
IFTtt platform to send gas alarm
sms (cont.)
• Circuit Design
IFTtt platform to send gas alarm
sms (cont.)
• The analog output of MQ2 and MQ9 is between 0V to 5V whereas the analog
pin of nodemcu can only read between 0V to 3.3V. That means nodemcu
cannot read the data if MQ2 or MQ9 sensor output is above 3.3V. The data
read is not accurate. Therefore, voltage is needed step down.
• In this project, voltage divider by two resistors is used. The voltage output is
determined by the ratio of the value of two resistors. I use 180ohm as R1 and
330ohm as R2 so that Vout is 3.3V.
IFTtt platform to send gas alarm
sms (cont.)
• Code:
IFTtt platform to send gas alarm
sms (cont.)
• Code:
IFTtt platform to send gas alarm
sms (cont.)
• Code:
IFTtt platform to send gas alarm
sms (cont.)
• Code:
IFTtt platform to send gas alarm
sms (cont.)
• Code:
Thanks

More Related Content

What's hot

IoT Security Elements
IoT Security ElementsIoT Security Elements
IoT Security ElementsEurotech
 
Mine workers protection slides
Mine workers protection slidesMine workers protection slides
Mine workers protection slidesArya Ls
 
Industrial IoT and OT/IT Convergence
Industrial IoT and OT/IT ConvergenceIndustrial IoT and OT/IT Convergence
Industrial IoT and OT/IT ConvergenceMichelle Holley
 
Coal Mine Safety Monitoring and Alerting System using IOT Based
Coal Mine Safety Monitoring and Alerting System using IOT BasedCoal Mine Safety Monitoring and Alerting System using IOT Based
Coal Mine Safety Monitoring and Alerting System using IOT Basedijtsrd
 
ESP32 CAM Face Detection Door Lock
ESP32 CAM Face Detection Door LockESP32 CAM Face Detection Door Lock
ESP32 CAM Face Detection Door LockIRJET Journal
 
Rfid and gsm based attendence system
Rfid and gsm based attendence systemRfid and gsm based attendence system
Rfid and gsm based attendence systemKarthik Kumar
 
Humidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using ArduinoHumidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using Arduinodollonhaider
 
Biometric Attendence system asha
Biometric Attendence system ashaBiometric Attendence system asha
Biometric Attendence system ashaGaurav Hajare
 
Security and Privacy considerations in Internet of Things
Security and Privacy considerations in Internet of ThingsSecurity and Privacy considerations in Internet of Things
Security and Privacy considerations in Internet of ThingsSomasundaram Jambunathan
 
IoT Security Challenges and Solutions
IoT Security Challenges and SolutionsIoT Security Challenges and Solutions
IoT Security Challenges and SolutionsIntel® Software
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino AMIT SANPUI
 
Design of safety and surviellance system for underground coal mines using low...
Design of safety and surviellance system for underground coal mines using low...Design of safety and surviellance system for underground coal mines using low...
Design of safety and surviellance system for underground coal mines using low...Mohd Faiz
 
A smart helmet for air quality and hazardous event detection for the mining i...
A smart helmet for air quality and hazardous event detection for the mining i...A smart helmet for air quality and hazardous event detection for the mining i...
A smart helmet for air quality and hazardous event detection for the mining i...LeMeniz Infotech
 
Hmi password protection
Hmi  password protectionHmi  password protection
Hmi password protectionPankaj Pundir
 

What's hot (20)

IoT Security Elements
IoT Security ElementsIoT Security Elements
IoT Security Elements
 
Siemens-S7-1200-PLC
Siemens-S7-1200-PLCSiemens-S7-1200-PLC
Siemens-S7-1200-PLC
 
Safety Helmet for Coal Miners
Safety Helmet for Coal MinersSafety Helmet for Coal Miners
Safety Helmet for Coal Miners
 
Mine workers protection slides
Mine workers protection slidesMine workers protection slides
Mine workers protection slides
 
Industrial IoT and OT/IT Convergence
Industrial IoT and OT/IT ConvergenceIndustrial IoT and OT/IT Convergence
Industrial IoT and OT/IT Convergence
 
Digital Code Lock
Digital Code LockDigital Code Lock
Digital Code Lock
 
Coal Mine Safety Monitoring and Alerting System using IOT Based
Coal Mine Safety Monitoring and Alerting System using IOT BasedCoal Mine Safety Monitoring and Alerting System using IOT Based
Coal Mine Safety Monitoring and Alerting System using IOT Based
 
Home security system
Home security system Home security system
Home security system
 
ESP32 CAM Face Detection Door Lock
ESP32 CAM Face Detection Door LockESP32 CAM Face Detection Door Lock
ESP32 CAM Face Detection Door Lock
 
Rfid and gsm based attendence system
Rfid and gsm based attendence systemRfid and gsm based attendence system
Rfid and gsm based attendence system
 
Humidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using ArduinoHumidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using Arduino
 
Biometric Attendence system asha
Biometric Attendence system ashaBiometric Attendence system asha
Biometric Attendence system asha
 
Security and Privacy considerations in Internet of Things
Security and Privacy considerations in Internet of ThingsSecurity and Privacy considerations in Internet of Things
Security and Privacy considerations in Internet of Things
 
IoT Security Challenges and Solutions
IoT Security Challenges and SolutionsIoT Security Challenges and Solutions
IoT Security Challenges and Solutions
 
Introduction to ICS/SCADA security
Introduction to ICS/SCADA securityIntroduction to ICS/SCADA security
Introduction to ICS/SCADA security
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
Design of safety and surviellance system for underground coal mines using low...
Design of safety and surviellance system for underground coal mines using low...Design of safety and surviellance system for underground coal mines using low...
Design of safety and surviellance system for underground coal mines using low...
 
A smart helmet for air quality and hazardous event detection for the mining i...
A smart helmet for air quality and hazardous event detection for the mining i...A smart helmet for air quality and hazardous event detection for the mining i...
A smart helmet for air quality and hazardous event detection for the mining i...
 
AUTOMOTIVE CYBER SECURITY PPT
AUTOMOTIVE CYBER SECURITY PPTAUTOMOTIVE CYBER SECURITY PPT
AUTOMOTIVE CYBER SECURITY PPT
 
Hmi password protection
Hmi  password protectionHmi  password protection
Hmi password protection
 

Similar to IOT NodeMCU - IFTTT Templet to send SMS

GSM Based SMS fire alert system
GSM Based SMS fire alert systemGSM Based SMS fire alert system
GSM Based SMS fire alert systemSoumyadeep Kal
 
IRJET - IoT based Automatic LPG Gas Booking and Leakage Detection
IRJET  - IoT based Automatic LPG Gas Booking and Leakage DetectionIRJET  - IoT based Automatic LPG Gas Booking and Leakage Detection
IRJET - IoT based Automatic LPG Gas Booking and Leakage DetectionIRJET Journal
 
IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...
IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...
IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...DeepakK547422
 
P 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_moduleP 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_moduleChitrachedu Dada Kalandar
 
IRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living SecurityIRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living SecurityIRJET Journal
 
IRJET - IoT based Smart Oil and Gas Monitoring System
IRJET -  	  IoT based Smart Oil and Gas Monitoring SystemIRJET -  	  IoT based Smart Oil and Gas Monitoring System
IRJET - IoT based Smart Oil and Gas Monitoring SystemIRJET Journal
 
IRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET Journal
 
Wireless ai based intelli industrial security robot 2 ppt
Wireless ai based intelli industrial security robot 2 pptWireless ai based intelli industrial security robot 2 ppt
Wireless ai based intelli industrial security robot 2 pptVarun B P
 
IRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the GasIRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the GasIRJET Journal
 
IRJET- Low-Cost DTMF Controlled Landmine Detection Rover
IRJET- Low-Cost DTMF Controlled Landmine Detection RoverIRJET- Low-Cost DTMF Controlled Landmine Detection Rover
IRJET- Low-Cost DTMF Controlled Landmine Detection RoverIRJET Journal
 
GSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECT
GSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECTGSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECT
GSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECTThrinadh Komatipalli
 
Electricity theft control
Electricity theft controlElectricity theft control
Electricity theft controlAffable Mee
 
Electricity theft control
Electricity theft controlElectricity theft control
Electricity theft controlAffable Mee
 
Automatic Inspection System for Two Wheeler Servicing
Automatic Inspection System for Two Wheeler ServicingAutomatic Inspection System for Two Wheeler Servicing
Automatic Inspection System for Two Wheeler ServicingIRJET Journal
 
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in ...
IRJET-  	  Wireless Data Monitoring and Fault Identification by using IoT in ...IRJET-  	  Wireless Data Monitoring and Fault Identification by using IoT in ...
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in ...IRJET Journal
 
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...IRJET Journal
 
GSM based agriculture monitoring system
GSM based agriculture monitoring systemGSM based agriculture monitoring system
GSM based agriculture monitoring systemIRJET Journal
 

Similar to IOT NodeMCU - IFTTT Templet to send SMS (20)

GSM Based SMS fire alert system
GSM Based SMS fire alert systemGSM Based SMS fire alert system
GSM Based SMS fire alert system
 
IRJET - IoT based Automatic LPG Gas Booking and Leakage Detection
IRJET  - IoT based Automatic LPG Gas Booking and Leakage DetectionIRJET  - IoT based Automatic LPG Gas Booking and Leakage Detection
IRJET - IoT based Automatic LPG Gas Booking and Leakage Detection
 
IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...
IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...
IOT BASED AIR QUALITY INDEX MONITORING SYSTEM – MONITOR PM2.5, PM10, AND CO U...
 
P 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_moduleP 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_module
 
IRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living SecurityIRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living Security
 
Lpg detector final ppt
Lpg detector final pptLpg detector final ppt
Lpg detector final ppt
 
IRJET - IoT based Smart Oil and Gas Monitoring System
IRJET -  	  IoT based Smart Oil and Gas Monitoring SystemIRJET -  	  IoT based Smart Oil and Gas Monitoring System
IRJET - IoT based Smart Oil and Gas Monitoring System
 
IRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker System
 
Wireless ai based intelli industrial security robot 2 ppt
Wireless ai based intelli industrial security robot 2 pptWireless ai based intelli industrial security robot 2 ppt
Wireless ai based intelli industrial security robot 2 ppt
 
IRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the GasIRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
 
LPG gas leekage dectection
LPG gas  leekage  dectectionLPG gas  leekage  dectection
LPG gas leekage dectection
 
IRJET- Low-Cost DTMF Controlled Landmine Detection Rover
IRJET- Low-Cost DTMF Controlled Landmine Detection RoverIRJET- Low-Cost DTMF Controlled Landmine Detection Rover
IRJET- Low-Cost DTMF Controlled Landmine Detection Rover
 
GSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECT
GSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECTGSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECT
GSM BASED GAS ESCAPE BURST AND FIRE SAFETY PROJECT
 
Electricity theft control
Electricity theft controlElectricity theft control
Electricity theft control
 
Electricity theft control
Electricity theft controlElectricity theft control
Electricity theft control
 
Automatic Inspection System for Two Wheeler Servicing
Automatic Inspection System for Two Wheeler ServicingAutomatic Inspection System for Two Wheeler Servicing
Automatic Inspection System for Two Wheeler Servicing
 
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in ...
IRJET-  	  Wireless Data Monitoring and Fault Identification by using IoT in ...IRJET-  	  Wireless Data Monitoring and Fault Identification by using IoT in ...
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in ...
 
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...
IRJET- Wireless Data Monitoring and Fault Identification by using IoT in Ther...
 
Smoke Detection System
Smoke Detection SystemSmoke Detection System
Smoke Detection System
 
GSM based agriculture monitoring system
GSM based agriculture monitoring systemGSM based agriculture monitoring system
GSM based agriculture monitoring system
 

More from Elaf A.Saeed

IOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverIOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverElaf A.Saeed
 
IOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDsIOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDsElaf A.Saeed
 
IOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDsIOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDsElaf A.Saeed
 
Getting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcuGetting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcuElaf A.Saeed
 
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LEDESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LEDElaf A.Saeed
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetIOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetElaf A.Saeed
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CElaf A.Saeed
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Elaf A.Saeed
 
Lesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo MotorLesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo MotorElaf A.Saeed
 
Lesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorLesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorElaf A.Saeed
 
Lesson 6 - NodeMCU with PWM Pin
Lesson 6 -  NodeMCU with PWM PinLesson 6 -  NodeMCU with PWM Pin
Lesson 6 - NodeMCU with PWM PinElaf A.Saeed
 
lesson4 - NodeMCU control led
  lesson4 - NodeMCU control led  lesson4 - NodeMCU control led
lesson4 - NodeMCU control ledElaf A.Saeed
 
lesson2 - Nodemcu course - NodeMCU dev Board
 lesson2 - Nodemcu course - NodeMCU dev Board lesson2 - Nodemcu course - NodeMCU dev Board
lesson2 - Nodemcu course - NodeMCU dev BoardElaf A.Saeed
 
lesson1 - Getting Started with ESP8266
lesson1 -  Getting Started with ESP8266lesson1 -  Getting Started with ESP8266
lesson1 - Getting Started with ESP8266Elaf A.Saeed
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseElaf A.Saeed
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseElaf A.Saeed
 
Pyton with rasperry pi
Pyton with rasperry piPyton with rasperry pi
Pyton with rasperry piElaf A.Saeed
 
Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Elaf A.Saeed
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1Elaf A.Saeed
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1Elaf A.Saeed
 

More from Elaf A.Saeed (20)

IOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverIOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU Webserver
 
IOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDsIOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDs
 
IOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDsIOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDs
 
Getting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcuGetting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcu
 
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LEDESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetIOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to Internet
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)
 
Lesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo MotorLesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo Motor
 
Lesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorLesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC Motor
 
Lesson 6 - NodeMCU with PWM Pin
Lesson 6 -  NodeMCU with PWM PinLesson 6 -  NodeMCU with PWM Pin
Lesson 6 - NodeMCU with PWM Pin
 
lesson4 - NodeMCU control led
  lesson4 - NodeMCU control led  lesson4 - NodeMCU control led
lesson4 - NodeMCU control led
 
lesson2 - Nodemcu course - NodeMCU dev Board
 lesson2 - Nodemcu course - NodeMCU dev Board lesson2 - Nodemcu course - NodeMCU dev Board
lesson2 - Nodemcu course - NodeMCU dev Board
 
lesson1 - Getting Started with ESP8266
lesson1 -  Getting Started with ESP8266lesson1 -  Getting Started with ESP8266
lesson1 - Getting Started with ESP8266
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino Course
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino Course
 
Pyton with rasperry pi
Pyton with rasperry piPyton with rasperry pi
Pyton with rasperry pi
 
Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1
 

Recently uploaded

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 

Recently uploaded (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

IOT NodeMCU - IFTTT Templet to send SMS

  • 1. Internet ofThings IFTTT Templet to send SMS Eng. Elaf A.Saeed
  • 2. The Contents • Gas sensor mq-2 • IOT platform. • IFTTT platform. • IFTTT platform to send gas alarm SMS.
  • 3. IFTTT Templet to send SMS With ESP8266 NodeMCU
  • 4. Gas sensor mq-2 • MQ2 is one of the commonly used gas sensors in MQ sensor series. It is a Metal Oxide Semiconductor (MOS) type Gas Sensor also known as Chemiresistors as the detection is based upon change of resistance of the sensing material when the Gas comes in contact with the material. Using a simple voltage divider network, concentrations of gas can be detected. • MQ2 Gas sensor works on 5V DC and draws around 800mW. It can detect LPG, Smoke, Alcohol, Propane, Hydrogen, Methane and Carbon Monoxide concentrations anywhere from 200 to 10000ppm.
  • 5. Gas sensor mq-2 (cont.) • Here are the complete specifications
  • 6. Gas sensor mq-2 ❑MQ2 Gas Sensor Module • Since MQ2 Gas Sensor is not breadboard compatible, we do recommend this handy little breakout board. It’s very easy to use and comes with two different outputs. It not only provides a binary indication of the presence of combustible gases but also an analog representation of their concentration in air.
  • 7. Gas sensor mq-2 ❑MQ2 Gas Sensor Module (Cont.) • The analog signal from MQ2 Gas sensor is further fed to LM393 High Precision Comparator (soldered on the bottom of the module), of course to digitize the signal. Along with the comparator is a little potentiometer you can turn to adjust the sensitivity of the sensor. You can use it to adjust the concentration of gas at which the sensor detects it.
  • 8. Gas sensor mq-2 ❑Calibrate MQ2 Gas Sensor Module • To calibrate the gas sensor you can hold the gas sensor near smoke/gas you want to detect and keep turning the potentiometer until the Red LED on the module starts glowing. Turn the screw clockwise to increase sensitivity or anticlockwise to decrease sensitivity.
  • 9. Gas sensor mq-2 ❑Calibrate MQ2 Gas Sensor Module (Cont.) • The comparator on the module continuously checks if the analog pin (A0) has hit the threshold value set by potentiometer. When it crosses the threshold, the digital pin (D0) will go HIGH and signal LED turns on. This setup is very useful when you need to trigger an action when certain threshold is reached. For example, when the smoke crosses a threshold, you can turn on or off a relay or instruct your robot to blow air/sprinkle water. You got the idea!
  • 10. Gas sensor mq-2 ❑MQ2 Gas Sensor Module Pinout • VCC supplies power for the module. You can connect it to 5V output from your Arduino. • GND is the Ground Pin and needs to be connected to GND pin on the Arduino. • D0 provides a digital representation of the presence of combustible gases. • A0 provides analog output voltage in proportional to the concentration of smoke/gas.
  • 11. Iot platform • IoT platforms originated in the form of IoT middleware, which purpose was to function as a mediator between the hardware and application layers. Its primary tasks included data collection from the devices over different protocols and network topologies, remote device configuration and control, device management, and over-the-air firmware updates.
  • 13. Iot platform • Its manages the connectivity of devices. • It enables developers to build new mobile software applications. • It allows you to collect devices data. • It allows your backend IT applications to communicate with your devices.
  • 15. IFTtt platform • Sign up to IFTTT Platform
  • 16. IFTtt platform to send gas alarm sms • After sign up click on create
  • 17. IFTtt platform to send gas alarm sms (cont.) • Click on (if this)
  • 18. IFTtt platform to send gas alarm sms (cont.)
  • 19. IFTtt platform to send gas alarm sms (cont.) • Write on search ➔ webhooks ➔ click on it.
  • 20. IFTtt platform to send gas alarm sms (cont.) click
  • 21. IFTtt platform to send gas alarm sms (cont.) click
  • 22. IFTtt platform to send gas alarm sms (cont.) click Write the events name
  • 23. IFTtt platform to send gas alarm sms (cont.) Click
  • 24. IFTtt platform to send gas alarm sms (cont.)
  • 25. IFTtt platform to send gas alarm sms (cont.) Click
  • 26. IFTtt platform to send gas alarm sms (cont.) Click
  • 27. IFTtt platform to send gas alarm sms (cont.) Click
  • 28. IFTtt platform to send gas alarm sms (cont.) Phone No. The message
  • 29. IFTtt platform to send gas alarm sms (cont.) Click
  • 30. IFTtt platform to send gas alarm sms (cont.) Click
  • 31. IFTtt platform to send gas alarm sms (cont.) • Now we specify the URL that is used to trigger the events.
  • 32. IFTtt platform to send gas alarm sms (cont.) Event name Click to test the event
  • 33. IFTtt platform to send gas alarm sms (cont.) URL to Trigger the events The response
  • 34. IFTtt platform to send gas alarm sms (cont.) • Also the message received in your phone.
  • 35. IFTtt platform to send gas alarm sms (cont.) • Circuit Design
  • 36. IFTtt platform to send gas alarm sms (cont.) • Circuit Design
  • 37. IFTtt platform to send gas alarm sms (cont.) • The analog output of MQ2 and MQ9 is between 0V to 5V whereas the analog pin of nodemcu can only read between 0V to 3.3V. That means nodemcu cannot read the data if MQ2 or MQ9 sensor output is above 3.3V. The data read is not accurate. Therefore, voltage is needed step down. • In this project, voltage divider by two resistors is used. The voltage output is determined by the ratio of the value of two resistors. I use 180ohm as R1 and 330ohm as R2 so that Vout is 3.3V.
  • 38. IFTtt platform to send gas alarm sms (cont.) • Code:
  • 39. IFTtt platform to send gas alarm sms (cont.) • Code:
  • 40. IFTtt platform to send gas alarm sms (cont.) • Code:
  • 41. IFTtt platform to send gas alarm sms (cont.) • Code:
  • 42. IFTtt platform to send gas alarm sms (cont.) • Code: