Send and Receive SMS Using TTGO ESP32 SIM800L

Good alternative board for GSM projects!

Introduction

In Malaysia, project with GSM is still popular among students. I always search for simple and low cost solution for this application. Introduce TTGO ESP32 SIM800L board, that consists of WiFi, Bluetooth, GSM and GPRS in a single board. Plus, you can program it using Arduino IDE. So, today I would like to share how to get start with TTGO ESP32 SIM800L board and control relay through SMS.

Video

This video will show you how to get start with TTGO ESP32 SIM800L board and control relay through SMS.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is Arduino sample program to control relay with SMS “RELAY ON” and “RELAY OFF”. Please install 1 additional library at Arduino IDE Library Manager:

  • Adafruit Fona Library by Adafruit Version 1.3.5

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

4 thoughts on “Send and Receive SMS Using TTGO ESP32 SIM800L”

  1. GSM SIM800L Ready

    OK

    Call Ready

    +CMTI: “ME”,40

    SMS Ready

    +CMTI: “ME”,41

    +CMTI: “ME”,42

    +CMTI: “ME”,43

    +CMTI: “ME”,44
    only show that and not hapening nazig for the port 14 no high, is same lilygo

  2. +CMTI: “SM”,1
    slot: 1
    —> AT+CMGF=1
    AT+CSDH=1
    AT+CMGF=1
    AT+CSDH=1
    AT+CMGF=1
    AT+CMGS=”+91xxxxxxxxxx”

    > Relay is activated.
    ^Z
    Failed

  3. Hi,
    For the same above board and code, I am getting ‘Failed’ while sending the SMS, and not receiving SMS on mobile.
    I tried this with different operators SIMs, but same issue..
    Can anyone help in identifying the problem.

    I am getting following on Serial Monitor window (here I replaced the actual SIM number with x)

    OK

    +CMTI: “SM”,1
    slot: 1
    —> AT+CMGF=1
    AT+CSDH=1
    AT+CMGF=1
    AT+CSDH=1
    AT+CMGF=1
    AT+CMGS=”+91xxxxxxxxxx”

    > Relay is activated.
    ^Z
    Failed

    Thanks,
    BS

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Playing Flappy Astronaut Game on Raspberry Pi Sense HAT
Scroll to Top