• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Modem SIM800l with esp32 or esp8266

Q&A Forum › Category: Other › Modem SIM800l with esp32 or esp8266
0 Vote Up Vote Down
Hugo Articardi Calabrese asked 6 years ago

Hi friends.

Thank you for your last work about SIM800l embedded into ESP32.

Question … What about if you have the simple module SIM800l?

Can we use thinyGSM library? How ?

Thanks in advance. Hugo.

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Hugo.

Yes, you can use tinyGSM library.

You just need to ensure that you have the right pin assignment on the code. For example, in our case, the board uses the following pins:

#define MODEM_RST 5
#define MODEM_PWKEY 4
#define MODEM_POWER_ON 23
#define MODEM_TX 27
#define MODEM_RX 26
#define I2C_SDA 21
#define I2C_SCL 22

You can use any other pins to connect your SIM800L module, but you need to set them right on the code in the previous snippet.
I hope this is clear.

ESP32 SIM800L Projects:

  • ESP32 SIM800L: Send Text Messages (SMS Alert) with Sensor Readings
  • ESP32 Publish Data to Cloud without Wi-Fi (TTGO T-Call ESP32 SIM800L)

Overview of the T-Call ESP32 with SIM800L GSM/GPRS board.

I hope this helps.

Regards,

Sara

0 Vote Up Vote Down
Hugo Articardi Calabrese answered 6 years ago

Thankyou for your answer.
Why should I use 

#define I2C_SDA 21
#define I2C_SCL 22

Single module SIM800l only Has
GND,TX,RX,RESET,Vcc.

Thanks in advance.




0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Hugo.
The T-Cal ESP32 with SIM800L has a battery connector and an IC for power management. 
That IC is connected to the SDA and SCL pins. I think if you’re using a separated module, you don’t need that.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.