Skip to content

Milad-Emadi/SMSForwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‘ Send SMS with SIM800L and Arduino Uno

This project demonstrates how to send SMS using a SIM800L GSM module connected to an Arduino Uno.

SIM800L with Arduino

πŸš€ Features

βœ”οΈ Checks signal strength before sending SMS
βœ”οΈ Re-connects if the network is unavailable
βœ”οΈ Sets SMS Center Number (SMSC) automatically
βœ”οΈ Enables SMS delivery reports
βœ”οΈ Prints debug logs to help troubleshoot


πŸ› οΈ Hardware Requirements

  • Arduino Uno
  • SIM800L GSM Module
  • SIM Card (with SMS credit)
  • External Power Supply (4.2V, 2A)
  • Jumper Wires
  • Antenna for SIM800L
  • Resistors (1KΞ© & 2KΞ© for voltage divider)

πŸ”Œ Wiring Diagram

Wiring (SIM800L ↔ Arduino)

SIM800L Pin Arduino Uno Pin
VCC (4.2V) External 4.2V Power Supply (2A)
GND GND
TX Pin 10 (RX)
RX Pin 11 (TX) via a voltage divider
RST (Optional) Arduino Reset Pin

Wiring Image

SIM800L Wiring Diagram

πŸ“Œ Important Notes

  • Use a 4.2V, 2A power supply (Arduino 5V is not enough).
  • If using a 5V Arduino, step down TX voltage using a voltage divider (1KΞ© & 2KΞ© resistors).
  • Ensure the antenna is connected properly.
  • The SIM card must be activated with SMS balance.

πŸ“Œ What This README Includes

βœ… Detailed setup guide
βœ… Wiring diagram
βœ… Complete Arduino Code
βœ… Troubleshooting & Debugging Guide
βœ… Helpful images & resources


πŸš€ Next Steps

  • Add this README to your GitHub repo.
  • Upload wiring images to GitHub and replace links.
  • Test and improve SMS sending features.

Let me know if you need more improvements! πŸš€


πŸ“ Code

Upload this code to your Arduino Uno:

#include <SoftwareSerial.h>

// Define SoftwareSerial pins for SIM800L
SoftwareSerial sim800l(10, 11); // RX, TX

About

SIM800L + Arduino UNO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages