GSM Module Arduino - Sim800L Library Programming

preview_player
Показать описание
Arduino GSM Module, The Sim800L is a popular GSM module used in various projects such as remote monitoring systems, GPS tracking devices, and home automation. In this video, we will show you how to use the Sim800L module with an Arduino board to control a relay through SMS and phone calls.

We will start by providing an overview of the Sim800L class's key features and functions, including how to set up the Sim800L library in your Arduino project and initialize the Sim800L object with the appropriate pins. We will then demonstrate how to modify the existing sample code to control a relay instead of an LED.

Furthermore, we will show you how to add a condition to accept SMS and phone calls only from a specific phone number, ensuring that the device remains secure. Finally, we will discuss how to move the Sim800L class inside the library folder and the required changes to add it there.

By the end of this video, you will have a clear understanding of how to use the Sim800L module with an Arduino board to control a relay through SMS and phone calls. This project will not only enhance your understanding of the Sim800L module but also provide you with a fun and useful project to add to your portfolio.

By using this you can build different types of project such as Build a Smart Irrigation System, GSM-Based Home Security System, Controlling Your Appliances Remotely with Sim800L, Adding Cellular Connectivity to Your Projects, Smart Home Automation with Sim800L and Arduino.

Parts Used in This Project:

--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Connecting SIM800L to Arduino using LM2596 Buck Converter

--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
YouTube:

--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

Warning: I will use High Voltages which if incorrectly or improperly used could result in serious injuries or death. So be careful of what you are doing because I will take no responsibility for any of your actions.

Warning: In some countries it is required to register GSM module from govt authorities before using it. So, get proper understanding of govt laws related to GSM technologies.

#Arduino #SIM800L #ArduinoProgramming
Рекомендации по теме
Комментарии
Автор

if the SMS is not readable on the serial monitor, you need to turn off (Auto-bauding) on the Sim800l and set it to fix 9600, now it works. AT command used AT+IPR=9600

thanks for the library, it really helped me

taufiq
Автор

Thank you for this tutorial because my work is going to be easy.

Thanks in advance your videos are always informative.

labandrick
Автор

SIR YOU ARE A GENIUS AND THANK YOU SO MUCH FOR SHARING. I HAVE A QUESTIN SIR, IN THE LOOP FUNCTION, DOES IT MONITORING IF THE SIM800 IS CONNECTED?

kitkirkyen
Автор

Hello Ahmad,

PROBLEM : Startup problem by using your project (Arduino UNO and relays steering by SMS) with only external power source and by external power failure.
First of all Thanks for this tutorial !
But when I tested the Sim800L & commanding the relays with SMS I realised a Seriously problem !
The program runs only without problems when the UNO board is coupledwith the PC via the serial usb connection.
Running the Arduino UNO only via the power jack (12V feed), the program doesn't work !!!
The Arduino UNO & Sim800 StartsUp !
The Sim800L runs and connect to the network, the PowerLeds on the Arduino lights up!
But there is NO REACTION on sending the SMS‎, despite the Rx Led on the Sim800 gives a sign of receiving the SMS !

You have to Reset the Arduino first by the Reset button before the program start and run again without problems!

So there is a problem on Starting Up the Arduino by only using external power. Same difficulties when you have an external Power failure.
In bot cases you have to use the RESET Button to start the program !
That means that you can't trust the working of those projects. Specially when the project is located several miles awayom your position !!!
I could not find out what the reason is for this malfunction, could you try to find a solution for this rebooting problem ?

Greetings

hdelanghe
Автор

first i wanna say thank you for your effort, much appreciated.
a question: can i use more than one specific nomber on this module? if so how can i add more than one?

loozakhdar
Автор

Salam ahmad
Your videos are really great on sim800l topic, thanks for sharing lybrsry and videos.
I got s problem with sending message, i can make call but canmot send message. Can you help me to find the proem

mebra_homeshop
Автор

There are 2 versions of this sim800l . Red and blue. Which one is better?

jumbo
Автор

Really very interesting project. Why external capacitor is added to SIM800L?

amitchaudhary
Автор

Hello Ahmad, how to send AT commands with this library?

nenaddjurasovic
Автор

Can you please make video on GPRS use of SIM800L
I want to know how to connect internet to Arduino...or Esp.
You make great videos

maheshmustapure
Автор

Thanks for the class, that's what I needed, can you give me the code for your program? I have already managed to download the library

OsvaldoAntonio-yv
Автор

please tell me what needs to be done to make the library work with esp 32

dengruv-sjel
Автор

Hello. I just want to ask what is the problem when my gsm module is connected to network but doesnt receive sms. Sms only appears when sim is placed on phone. Thank you.

wrigleypatio
Автор

Thanks for this detailed explanation,
whether it is possible an sms code and SIM module to vary the PWM of a led by messages. example: send v0 led off, v1=20% pwm, v2=40% pwm....until vn=100% pwm.
thank you for your reply.

kamalkamel
Автор

Please if possible make one project for saving phone number automatically with first missed call.Thank you

allumolusrinivasu
Автор

i am using my new jazz sim card which i think is 4g will it work if not then where to find a 2g sim card

HASSANALI-qjtg
Автор

Great videos, can I use this library to update a database on a server somewhere?

elvisochieng
Автор

Which sim card are used in this project

Nvenkatesh
Автор

How can we interface this circuit with neo 6m gps module and what is the code for that so that if we send msg get location we will get link through the message. Could you please help me.

Swati-tkji
Автор

hello Mr.Ahmed .. i heard that sim800L work only with cellular sim card 2g is it right ? if yes is any solution to make it work on 4g ?

wassimnemri