Sim800l Delete All Sms



Easy tu torial on how to send a simple text + send sensor values, here used DHT11 as example.

It is very easy to build an “SMS-controlled relay” with the help of a cheap GSM modem module and a small microcontroller board. Here, I’m using the SIM800L and Arduino Nano V3 to develop a nifty one-channel SMS relay. The device is, in fact, an “isolated electric switch” that can be controlled through the messaging app on your mobile. This way you can tell the SIM800L module either to forward newly arrived SMS messages directly to the PC, or to save them in message storage and then notify the PC about their locations in message storage. Its response starts with +CMT: All the fields in the response are comma-separated with first field being phone number. The second field is. In this video, I show you how to use a GSM module (SIM800L) to send and receive SMS messages from your computer. You can find the SIM800L or LM2956 buck conv.

  • 15,439 views
  • 3 comments
  • 2 respects

Components and supplies

Arduino UNO
×1
DigitSpace SIM800L
×1
DHT11 Temperature & Humidity Sensor (3 pins)
×1

Apps and online services

About this project


Tutorial if needed

Sponsored by: DigitSpace
Product used: SIM800L Module Replace SIM900A GSM GPRS 5V Serial with Antenna

If you're looking for send and receive SMS you may check this.
Hello, and welcome to another easy and step-by-step tutorial, this time we’re about to see how to send SMS/Text from the Arduino Uno board to your phone using SIM800L module, we gonna see how to send a simple text, then we’re going to send some data acquired from the DHT11.

HALT !!!! Don’t forget that this type of modules require a SIM card, micro-Sim size, and make sure that the card doesn’t have a “Pin Code” put it in your phone first and remove the “SIM Lock”, and have enough credit to be able to send a SMS, this depends on your country providers.

We can now continue… There are several versions of the module but I used this one:

It worked very well, and very easy, it can be powered directly from the Arduino, but I don’t recommend that, it’s sketchy… It’s better to power it using a Lithium battery and a converter.

This one comes also with a 3dBi antenna and its uFL-SMA converter, and it improves the signal reception and makes it a lot better.

It has 7 pins, I used two for power (5V/GND), and then TXD/RXD/GND for the UART communication, you may need or not to add the GND, it depends on your wiring.

You can communicate with the module using some AT Commands, we gonna see some of them.

N.B: For the power I’ll be using a 7.4V Li battery with a buck converter (actually a buck-boost), it’s more stable.

Notice also that the module has 2 LEDS, one for Power (ON/OFF), and one that blinks:

  • Blinks every 1s: Means it’s looking for signal reception.
  • Blinks every 2s: Means it’s communicating GPRS Data.
  • Blinks every 3s: Means it’s connected to network and ready.

Test 1

In the test 1 we’re going to wire the module with Arduino Uno board, add a push button, the idea is that when we press the button, the Arduino will send a simple (String) SMS to a phone number via the SIM800l.

Wiring

Wiring 1 (below)

Wiring is easy, the Arduino is also powered by the “battery” or the 5VDC source, the button is always on HIGH level because I’m using the internal pull up, when pressed it goes low… then RX/TX with TXD/RXD (from Sim800l).

Libraries

No special library is required… only SoftwareSerial and it’s already installed

Code

Code 1 below. The code contains comments for your help.

Result

The button defines the general case… You can use any trigger you want: Tripwire, Sensor threshold….

Test 2

The test number 2 is really similar to the first one, now instead of a simple message, we’ll be able to send some sensor value, and here I’ve chosen the DHT11, because it’s very easy and a classic.

Wiring

Wiring 2 below

As the first one, now we add the DHT11 and its data pin is on pin 8

Libraries

The only library required here is the DHT 11 one: Download from Github Install it if you didn’t have already.

Code

Code 2 below with comments.

Result

Here I add the Serial monitor functions in a single function “Serialcom”, you can communicate with the module and test all the AT Commands you want when you are in standby mode, but when the button is pressed, a SMS will be sent to the phone number containing the Temperature and Humidity current values.

Well, that’s it for the tutorial, I hope you find it useful, now you can send easily a SMS to your phone… Now you only have to chose which information to send and what’s your prefered trigger or threshold. Remember to subscribe to the channel if you want to support.

Code

Send simple SMS/Text

Sim800l Delete All Sms Iphone

Send DHT11 data to phone via SMS

Schematics

Author

SurtrTech
  • 20 projects
  • 103 followers
Sim800l delete all sms messages

Published on

January 9, 2020
Write a comment

Members who respect this project

and 1 other

See similar projects
you might like

Table of contents

Sim800l Delete All Sms Email

Write a comment