SIM800L is available for GPRS and SMS message data remote transmission. But here in our tutorial we will be covering how to control LED or Relay by simply using mobile messaging app.
How Does it Works?
From your mobile messaging application, you will be sending messages to SIM800L SIM Number. The SIM800L received the message and pass it to Arduino board, the Arduino process the message and try to find out what does it want the LED to do.
- SIM800L< ------ >ARDUINO Board
- Vcc < ------ > 5V
- Gnd < ----- > Gnd
- Rx < ------- > Pin no. 10 (SoftwareSerialTx)
- Tx < ------- > Pin no. 9 (SoftwareSerialRx)
- LED to Arduino
- LED < ----- > Pin no. 7
The code focuses more on receiving messages, but it can be modify to auto send message if a feedback is needed.