top of page

SMS alert using IOT - Esp8266

Updated: May 18

In this project, you will learn to design an SMS alert system using ESP8266 and IFTTT.


Hardware components - SMS alert using IOT- Esp8266


1. Esp8266:

The IoT world is rapidly evolving, and with it comes the need for efficient IoT notification system. One remarkable player in this field is the ESP8266 Wi-Fi module, developed by Espressif Systems. Not only does it possess a complete Transmission Commission Protocol and an Internet of Things (IoT full form) protocol stack including TCP/IP, but it also serves as a bridge, allowing any microcontroller to seamlessly connect to an available Wi-Fi network. Operating reliably across a broad temperature spectrum, the ESP8266 module boasts an array of standard digital peripheral interfaces, power amplifiers, and antenna switches. Its hardware encompasses 17 GPIO pins, among which several are dedicated to UART communication. This module even finds applications in innovative scenarios like SMS alerts using IoTs, showcasing its versatility and adaptability in the realm of interconnected devices and technologies. (SMS alert using IOT- Esp8266)


Esp8266
Esp8266

2. Breadboard:

A breadboard, a fundamental tool in electronics, is a compact rectangular platform meticulously designed with an array of interconnected holes. It serves as the foundational canvas upon which a diverse range of electronic projects are brought to life. These perforated holes offer the essential connectivity infrastructure for seamlessly integrating circuit components such as integrated circuits (ICs), capacitors, and potentiometers. By facilitating the organized arrangement and interconnection of these components, the breadboard acts as a dynamic playground for innovation and experimentation in the realm of electronics prototyping.


Breadboard
Breadboard


IFTTT:

IFTTT (If This Then That) is a web service provider that allows its user to program a response to events around the world. We will use IFTTT in this project to send SMS alerts to a phone.


IFTTT

  • IFTTT requires you to register an account and log in.

  • After you log in to IFTTT, select "create" from the if-then menu.

  • select "add." Click "webhooks" when you search for it.

  • Simply choose "Receive a web request."

  • Enter a name for the event, then choose "Create trigger."

  • In the then-that tab, select "add".

  • Enter "SMS" into the search bar, then select "android SMS."

  • Click "send an SMS."

  • Mention the country code and the phone number where you want to receive the SMS.

  • Mention the message you want to send to the designated number in addition.

  • Choose "value 1" under "add ingredient."

  • Simply choose "create action."

  • Click "finish" after selecting "continue."

  • After selecting the webhooks icon, select "documentation."

  • There will be a new website loaded. There, change the URL by entering the event name you choose


Code:



  • Include the WiFiClientSecure.h and ESP8266.h libraries in the Arduino IDE.

  • Set the relevant variables' initial values after declaring them.

  • Start the serial monitor output at a baud rate of 115200 in the void setup() method.

  • Print the wi-fi name that is accessible and use WiFi to connect to it.commence() function.

  • The WiFi connection status can be printed.

  • The connection between the client and the wifi was established in the void loop() utilising the If condition.

  • To create the message request, copy the URL from the IFTTT webhook and paste it into the string character.

Working:

In the serial monitor screen, enter a value for "value1." The server will be triggered by this, and the message will be delivered to the designated phone number.


Video By - Harshit Gupta

Check the Project working Video here - SMS alert using IOT | IoT Projects| ESP8266 Projects



Written by-

Name- Nagashree R Nadig


See also-

Interfacing analog joystick with Arduino
Interfacing 4-Digit 7-Segment Display with Arduino


Follow us -


Please do follow us i.e #learnelectronicsindia to get daily updates about new blogs, videos, courses, quizzes, and contests.



Want us to help you with the projects, write your inquiry here - Order Projects


Have a look at our Free Arduino Projects Playlist - Arduino Projects

Have a look at our Free Raspberry Pi Projects Playlist - Raspberry Pi Projects

Have a look at our Free TinkerCAD Projects Playlist - TinkerCAD Projects

Have a look at our Free IoT Projects Playlist - IoT Projects

Have a look at our Free Home Automation Projects Playlist - Home Automation Projects

Have a look at our Free NodeMCu Projects Playlist - NodeMCu Projects

Related Posts

See All

2 Comments


Informative and concise! LearnElectronics India always delivers quality content.

Like

Anushka Gupta
Anushka Gupta
Jul 19, 2023

This blog/article by Learn Electronics India has exceeded my expectations! The inclusion of practical examples and real-life applications of SMS alert systems using ESP8266 has made it extremely relatable and engaging. It's evident that the author has a deep understanding of the subject matter. Thank you for this enlightening read.

Like
bottom of page