How to create a server with sim800l module?
-
I want to create a web server with my sim card. I search on the internet, but there is no example for sim800l. Most of the example are for WiFi or sim900, etc.
I want to command my M5stack (using SIM800) by sending a data from my computer with a simple website. So my M5Stack + Computer both can be connected to internet and my computer will be knowing the IP address of the Sim card.
Thank you
-
I tried the GSM.h sample code. (https://www.arduino.cc/en/Tutorial/GSMExamplesWebServer)
When I run the code, it output lots of error.

Did anyone try GSM.h before?
Thank you
-
To create a server with SIM800L, use GPRS to get a dynamic IP from your carrier. Enable TCP listening with AT+CIPSERVER=1,80. Forward incoming data to your M5Stack via serial. Since the IP is dynamic, use a DDNS service or periodically send the IP via SMS/email. Alternatively, have the M5Stack poll a cloud server for commands. SIM800L has limited capabilities, so keep the website simple (raw HTTP requests). Check the SIM800L AT command manual for TCP/IP setup details.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login