SlideShare a Scribd company logo
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

What is SCADA system? SCADA Solutions for IoT
What is SCADA system? SCADA Solutions for IoTWhat is SCADA system? SCADA Solutions for IoT
What is SCADA system? SCADA Solutions for IoT
Embitel Technologies (I) PVT LTD
 
Integration of Sensors & Actuators With Arduino.pptx
Integration of Sensors & Actuators With Arduino.pptxIntegration of Sensors & Actuators With Arduino.pptx
Integration of Sensors & Actuators With Arduino.pptx
NShravani1
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
Eueung Mulyana
 
Internet of Things (IoT) based Solar Energy System security considerations
Internet of Things (IoT) based Solar Energy System security considerationsInternet of Things (IoT) based Solar Energy System security considerations
Internet of Things (IoT) based Solar Energy System security considerations
Bohitesh Misra, PMP
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduino
BhawnaSingh351973
 
IoT Networking
IoT NetworkingIoT Networking
IoT Networking
Hitesh Mohapatra
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
Home automation using IoT
Home automation using IoTHome automation using IoT
Home automation using IoT
Athira_1993
 
Iot based fire alarm system
Iot based fire alarm systemIot based fire alarm system
Iot based fire alarm system
oluwatobiomotayo2
 
Arduino & NodeMcu
Arduino & NodeMcuArduino & NodeMcu
Arduino & NodeMcu
Guhan Ganesan
 
home automaton using pc ppt
home automaton using pc ppthome automaton using pc ppt
home automaton using pc ppt
Rajesh Kumar
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
Vishnu
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
Charles Gibbons
 
Scada ppt
Scada  pptScada  ppt
Scada ppt
AKANSHA GURELE
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
Niket Chandrawanshi
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Omer Kilic
 
IoT Based Smart Energy Meter using Raspberry Pi and Arduino
IoT Based Smart Energy Meter using Raspberry Pi and Arduino IoT Based Smart Energy Meter using Raspberry Pi and Arduino
IoT Based Smart Energy Meter using Raspberry Pi and Arduino
Bilal Amjad
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
International Journal of Technical Research & Application
 
M2M - Machine to Machine Technology
M2M - Machine to Machine TechnologyM2M - Machine to Machine Technology
M2M - Machine to Machine Technology
Samip jain
 
IOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATOR
IOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATORIOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATOR
IOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATOR
IRJET Journal
 

What's hot (20)

What is SCADA system? SCADA Solutions for IoT
What is SCADA system? SCADA Solutions for IoTWhat is SCADA system? SCADA Solutions for IoT
What is SCADA system? SCADA Solutions for IoT
 
Integration of Sensors & Actuators With Arduino.pptx
Integration of Sensors & Actuators With Arduino.pptxIntegration of Sensors & Actuators With Arduino.pptx
Integration of Sensors & Actuators With Arduino.pptx
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
Internet of Things (IoT) based Solar Energy System security considerations
Internet of Things (IoT) based Solar Energy System security considerationsInternet of Things (IoT) based Solar Energy System security considerations
Internet of Things (IoT) based Solar Energy System security considerations
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduino
 
IoT Networking
IoT NetworkingIoT Networking
IoT Networking
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Home automation using IoT
Home automation using IoTHome automation using IoT
Home automation using IoT
 
Iot based fire alarm system
Iot based fire alarm systemIot based fire alarm system
Iot based fire alarm system
 
Arduino & NodeMcu
Arduino & NodeMcuArduino & NodeMcu
Arduino & NodeMcu
 
home automaton using pc ppt
home automaton using pc ppthome automaton using pc ppt
home automaton using pc ppt
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
Scada ppt
Scada  pptScada  ppt
Scada ppt
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
IoT Based Smart Energy Meter using Raspberry Pi and Arduino
IoT Based Smart Energy Meter using Raspberry Pi and Arduino IoT Based Smart Energy Meter using Raspberry Pi and Arduino
IoT Based Smart Energy Meter using Raspberry Pi and Arduino
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
 
M2M - Machine to Machine Technology
M2M - Machine to Machine TechnologyM2M - Machine to Machine Technology
M2M - Machine to Machine Technology
 
IOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATOR
IOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATORIOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATOR
IOT BASED UNDER GROUND CABLE FAULT DETECTION AND LOCATOR
 

Similar to IOT NodeMCU - IFTTT Templet to send SMS

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
IRJET 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_module
Chitrachedu 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 Security
IRJET Journal
 
Lpg detector final ppt
Lpg detector final pptLpg detector final ppt
Lpg detector final ppt
Agara Mudhalvan
 
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 Journal
 
IRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker System
IRJET 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 ppt
Varun 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 Gas
IRJET Journal
 
LPG gas leekage dectection
LPG gas  leekage  dectectionLPG gas  leekage  dectection
LPG gas leekage dectection
Abhishek Bhadoria
 
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
IRJET 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 PROJECT
Thrinadh Komatipalli
 
Electricity theft control
Electricity theft controlElectricity theft control
Electricity theft control
Affable Mee
 
Electricity theft control
Electricity theft controlElectricity theft control
Electricity theft control
Affable 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 Servicing
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
 
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
 
GSM based agriculture monitoring system
GSM based agriculture monitoring systemGSM based agriculture monitoring system
GSM based agriculture monitoring system
IRJET Journal
 
IRJET- ARM 7 based Smart Accident Detection and Tracking System
IRJET- ARM 7 based Smart Accident Detection and Tracking SystemIRJET- ARM 7 based Smart Accident Detection and Tracking System
IRJET- ARM 7 based Smart Accident Detection and Tracking System
IRJET Journal
 

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

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 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- 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 ...
 
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
 
IRJET- ARM 7 based Smart Accident Detection and Tracking System
IRJET- ARM 7 based Smart Accident Detection and Tracking SystemIRJET- ARM 7 based Smart Accident Detection and Tracking System
IRJET- ARM 7 based Smart Accident Detection and Tracking System
 

More from Elaf A.Saeed

IOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverIOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU Webserver
Elaf 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 LEDs
Elaf 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 LEDs
Elaf 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 mcu
Elaf 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 LED
Elaf A.Saeed
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetIOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to Internet
Elaf A.Saeed
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
Elaf 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 Motor
Elaf A.Saeed
 
Lesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorLesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC Motor
Elaf A.Saeed
 
Lesson 6 - NodeMCU with PWM Pin
Lesson 6 -  NodeMCU with PWM PinLesson 6 -  NodeMCU with PWM Pin
Lesson 6 - NodeMCU with PWM Pin
Elaf A.Saeed
 
lesson4 - NodeMCU control led
  lesson4 - NodeMCU control led  lesson4 - NodeMCU control led
lesson4 - NodeMCU control led
Elaf 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 Board
Elaf A.Saeed
 
lesson1 - Getting Started with ESP8266
lesson1 -  Getting Started with ESP8266lesson1 -  Getting Started with ESP8266
lesson1 - Getting Started with ESP8266
Elaf A.Saeed
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino Course
Elaf A.Saeed
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino Course
Elaf A.Saeed
 
Pyton with rasperry pi
Pyton with rasperry piPyton with rasperry pi
Pyton with rasperry pi
Elaf A.Saeed
 
Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1
Elaf A.Saeed
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1
Elaf A.Saeed
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1
Elaf 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

How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
JezreelCabil2
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 

Recently uploaded (20)

How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 

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: