<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[sim800l gprs + mqtt]]></title><description><![CDATA[<p dir="auto">Is there an example to use the m5stack with the sim800l module and to use the mqtt protocol?</p>
]]></description><link>https://community.m5stack.com/topic/1785/sim800l-gprs-mqtt</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 14:31:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1785.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Mar 2020 20:51:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to sim800l gprs + mqtt on Wed, 25 Mar 2020 10:06:05 GMT]]></title><description><![CDATA[<p dir="auto">To start understanding the functioning of the sim800l module I used the following example:</p>
<p dir="auto">//Reset resistance is not soldered. If necessary, weld it yourself.</p>
<p dir="auto">#include &lt;M5Stack.h&gt;<br />
#define RX_PIN 16<br />
#define TX_PIN 17<br />
#define RESET_PIN 5</p>
<p dir="auto">void header(const char *string, uint16_t color){<br />
M5.Lcd.fillScreen(color);<br />
M5.Lcd.setTextSize(1);<br />
M5.Lcd.setTextColor(TFT_MAGENTA, TFT_BLUE);<br />
M5.Lcd.fillRect(0, 0, 320, 30, TFT_BLUE);<br />
M5.Lcd.setTextDatum(TC_DATUM);<br />
M5.Lcd.drawString(string, 160, 3, 4);<br />
}</p>
<p dir="auto">void setup() {<br />
M5.begin();</p>
<p dir="auto">header("SIM800L AT command", TFT_BLACK);<br />
M5.Lcd.setTextFont(2);<br />
M5.Lcd.setTextColor(TFT_WHITE, TFT_BLACK);<br />
M5.Lcd.drawString("Please use serial port to Test AT command.",0, 35, 2);<br />
// Host serial communication<br />
Serial.begin(115200);</p>
<p dir="auto">// SIM800L serial communication<br />
Serial2.begin(115200, SERIAL_8N1, RX_PIN, TX_PIN);<br />
pinMode(RESET_PIN, OUTPUT);<br />
}</p>
<p dir="auto">void loop() {</p>
<p dir="auto">//AT instruction write<br />
if(Serial.available()){<br />
Serial2.write(Serial.read());<br />
}</p>
<p dir="auto">//AT instruction result<br />
if(Serial2.available()){<br />
Serial.write(Serial2.read());<br />
}</p>
<p dir="auto">delay(10);</p>
<p dir="auto">}</p>
<p dir="auto">I sent some at command to understand if the module worked but apparently it doesn't work. Any suggestions?<img src="/assets/uploads/files/1585130692629-sim800l.png" alt="0_1585130688823_sim800l.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/7900</link><guid isPermaLink="true">https://community.m5stack.com/post/7900</guid><dc:creator><![CDATA[Nicolaf899]]></dc:creator><pubDate>Wed, 25 Mar 2020 10:06:05 GMT</pubDate></item><item><title><![CDATA[Reply to sim800l gprs + mqtt on Tue, 24 Mar 2020 00:08:52 GMT]]></title><description><![CDATA[<p dir="auto">I was unable to get sim800l working when I tried, but then I think thats due to me not knowing how to debug it. There are quite a few resources around the forum and elsewhere if you search</p>
<p dir="auto"><a href="http://forum.m5stack.com/topic/539/lesson-22-modules-sim800l" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/539/lesson-22-modules-sim800l</a><br />
<a href="http://forum.m5stack.com/topic/164/sim800l/3" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/164/sim800l/3</a><br />
<a href="https://www.hackster.io/merryq/automation-with-sim800l-esp32-m5stack-170a82" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hackster.io/merryq/automation-with-sim800l-esp32-m5stack-170a82</a><br />
<a href="http://forum.m5stack.com/post/7490" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/post/7490</a><br />
<a href="http://forum.m5stack.com/post/2688" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/post/2688</a><br />
<a href="http://forum.m5stack.com/topic/595/how-to-use-gps-module-with-sim800l-module/9" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/595/how-to-use-gps-module-with-sim800l-module/9</a></p>
]]></description><link>https://community.m5stack.com/post/7880</link><guid isPermaLink="true">https://community.m5stack.com/post/7880</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 24 Mar 2020 00:08:52 GMT</pubDate></item><item><title><![CDATA[Reply to sim800l gprs + mqtt on Sun, 22 Mar 2020 00:25:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nicolaf899" aria-label="Profile: Nicolaf899">@<bdi>Nicolaf899</bdi></a></p>
<p dir="auto">I'm also planning to try it. I will follow the step by step tutorial from Random Nerd Tutorials (Rui and Sara Santos).<br />
Here is the link to their tutorial sending data collected from a BME 280 (M5Stack ENV unit) using an ESP32 to a MTTQ cloud:</p>
<p dir="auto"><a href="https://randomnerdtutorials.com/esp32-sim800l-publish-data-to-cloud/" target="_blank" rel="noopener noreferrer nofollow ugc">https://randomnerdtutorials.com/esp32-sim800l-publish-data-to-cloud/</a></p>
<p dir="auto">I'm planning using M5stacks monitoring beehives and sending data (environement, weight, sound recording, beecount) to an MTTQ Sever either by WiFi, gprs or LoRa.</p>
<p dir="auto">good luck crami25</p>
]]></description><link>https://community.m5stack.com/post/7860</link><guid isPermaLink="true">https://community.m5stack.com/post/7860</guid><dc:creator><![CDATA[crami25]]></dc:creator><pubDate>Sun, 22 Mar 2020 00:25:29 GMT</pubDate></item></channel></rss>