Sim800L supports General Packet Radio Service (GPRS) for connecting to the internet with HTTP. The module has built in TCP/IP stack that can be accessed with AT commands. This can be very handy for persistent data logging on low bandwidth networks. We will first use the AT commands to make a HTTP GET request to fetch a simple page and then use the library.

Going further I would also like to explore possibility of running MQTT, which is more suitable for low data rate and seamless logging. So lets get started.

Hook Up

The hook up will remain same as in previous tutorial.

0 Sim800l bb.png

We will also use the same basic code to send and receive commands to the module from the computer. These go through Arduino, so that we are assured that everything is setup properly.

Test AT commands

Sample Code

Demo