<?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[STAMP CATM does not respond (Solved, HTML Get and Send Email)]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have my STAMP CATM connected to my M5StickC : GND to GND , +5 Out to 5V, G36 to RX and G26 to TX.<br />
Then :<br />
Serial2.begin(115200, SERIAL_8N1, RXD2, TXD2);<br />
delay(300);<br />
Serial2.println("ATI\r\n");<br />
Read_Response(5000);  // Serial2 read into Receive_buffer<br />
Serial.println(Receive_buffer);</p>
<p dir="auto">But when reading out the Serial2 I get no response at all.<br />
Any idea?<br />
Thanks</p>
]]></description><link>https://community.m5stack.com/topic/5107/stamp-catm-does-not-respond-solved-html-get-and-send-email</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:51:45 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5107.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Mar 2023 21:23:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Fri, 10 Mar 2023 18:20:22 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for this, I haven't started on mine as still looking through IOT services</p>
]]></description><link>https://community.m5stack.com/post/20292</link><guid isPermaLink="true">https://community.m5stack.com/post/20292</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 10 Mar 2023 18:20:22 GMT</pubDate></item><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Fri, 10 Mar 2023 12:11:58 GMT]]></title><description><![CDATA[<p dir="auto">Okay, Had a lot of &lt;bad language&gt; getting sending email working.<br />
Than I realized that powering the module straight from the M5StickC appeared to causes glitches. I have placed a capacitor on top of the 5Volt to the module and now I am able to send emails also. For those that are interested, here is the code (with a lot of overhead no doubt, that works for me ):<br />
Serial1.begin(115200, SERIAL_8N1, 0, 26);          // SIM7080G</p>
<pre><code>delay(300);
//Serial1.print("ATI\r\n");
//Serial1.println("AT+CSQ\r\n");
//Serial1.println("AT+IPR?\r\n");
Serial1.print("ATZ\r\n");  // Reset to default
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CREBOOT\r\n");  // Reset to default
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
<p dir="auto">/*<br />
Serial1.print("AT+CMEE=2\r\n");  // Verbose error printing ??<br />
delay(10);<br />
Read_Response_OK(5000);<br />
Serial.println(Receive_buffer);<br />
delay(500);<br />
*/</p>
<pre><code>Serial1.print("AT+IPR=115200\r\n");  // SetTE-TAFixedLocalRate
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CCLK?\r\n");  // Clock
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
<p dir="auto">// Upload a file</p>
<pre><code>Serial1.print("AT+CFSINIT\r\n");  // Clock
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);   
</code></pre>
<p dir="auto">String Command_Str;<br />
Command_Str="AT+CFSWFILE=0,"0001.txt",0,";<br />
Command_Str=Command_Str+FileSize;<br />
Command_Str=Command_Str+",10000\r\n";<br />
Serial.println(Command_Str);</p>
<pre><code>Serial1.print(Command_Str); 
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);  

for (int i=0;i&lt;FileSize;i++) {Serial1.print(jpg_small[i]);}


Serial1.print("AT+CFSGFIS=0,\"0001.txt\"\r\n");  // 
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);   


Serial1.print("AT+CPIN?\r\n");  // Ccheck SIM
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);  

Serial1.print("AT+CSQ\r\n");  // Check signal
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);  


Serial1.print("AT+CFUN=0\r\n");  // Set Phone Functionality isable RF
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

//Serial1.print("AT+CGDCONT=1,\"IP\",\"internet\",,0,0\r\n");  // 
Serial1.print("AT+CGDCONT=1,\"IP\",\"internet\"\r\n");  //  Define PDP Context
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CFUN=1\r\n");  // Set Phone Functionality Enable RF
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+CGATT?\r\n");  // Attach or detach from GPRS service
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CGNAPN\r\n");  // Get Network APN in CAT-M or NB-IOT Query the APN service
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+CNCFGN=0,1,\"internet\",,0,0\r\n");  // Before activation please
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+CNACT=0,1\r\n");  // APP Network Active Activate
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);



Serial1.print("AT+CNACT?\r\n");  // APP Network Active Activate Query the APN service
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+EMAILCID=0\r\n");  // Set parameters of email
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+EMAILTO=30\r\n");  // Set parameters of email time out
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
<p dir="auto">/*<br />
Serial1.print("AT+EMAILSSL=2,0,"email.cer","email.pem"\r\n");  // Set Encrypted mail<br />
delay(10);<br />
Read_Response_OK(5000);<br />
Serial.println(Receive_buffer);<br />
delay(500);<br />
*/<br />
// <a href="https://randomnerdtutorials.com/esp32-send-email-smtp-server-arduino-ide/" target="_blank" rel="noopener noreferrer nofollow ugc">https://randomnerdtutorials.com/esp32-send-email-smtp-server-arduino-ide/</a></p>
<pre><code>Serial1.print("AT+SMTPSRV=\"smtp-mail.outlook.com\",587\r\n");  // Set SMTP server
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
<p dir="auto">//SMTP Password: (you need to use a Google App Password, not your Gmail password!)<br />
//<a href="https://support.google.com/accounts/answer/185833" target="_blank" rel="noopener noreferrer nofollow ugc">https://support.google.com/accounts/answer/185833</a><br />
// <a href="https://www.hesk.com/knowledgebase/index.php?article=72" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hesk.com/knowledgebase/index.php?article=72</a></p>
<pre><code>Serial1.print("AT+SMTPAUTH=1,\"my.email.com\",\"myApppassword\"\r\n");  // Set username and password
</code></pre>
<p dir="auto">delay(10);<br />
Read_Response(5000);<br />
Serial.println(Receive_buffer);<br />
delay(500);</p>
<pre><code>Serial1.print("AT+SMTPCS=\"ASCII\"\r\n");  // Set Email SSL function
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+EMAILSSL?\r\n");  // Read Email SSL function
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+EMAILSSL=2,0,\"\",\"\"\r\n");  // Set Email SSL function
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+EMAILSSL?\r\n");  // Read Email SSL function
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SMTPFROM=\"my.email@outlook.com\",\"Fakename\"\r\n");  // Set username and password

delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);
     
Serial1.print("AT+SMTPRCPT=0,0,\"Sendto@mac.com\",\"john\"\r\n");  // Set recipient To:
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+SMTPSUB=\"Test4\"\r\n");  // Set recipient Bcc:
delay(10);
Read_Response_OK(5000);
Serial.println(Receive_buffer);
delay(500);   
</code></pre>
<p dir="auto">String Email_Body="This is a new Email";<br />
int    Body_size;<br />
Body_size=Email_Body.length();<br />
Serial.print("Body size is :");<br />
Serial.println(Body_size);</p>
<pre><code>Serial1.print("AT+SMTPBODY=19\r\n");  // Set recipient Bcc:
delay(10);
Read_Response_OK(5000);
//Serial.println(Receive_buffer);
//delay(500); 

Serial1.print(Email_Body);
//Serial1.print("\r\n");
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500); 
</code></pre>
<p dir="auto">char ccc;<br />
Serial.println("AT+SMTPSEND");<br />
Serial1.print("AT+SMTPSEND\r\n");  //<br />
delay(10);<br />
while (Serial1.available())<br />
{<br />
ccc=Serial1.read();<br />
Serial.print(ccc);<br />
}</p>
<p dir="auto">/*<br />
Read_Response(5000); //Geen OK<br />
Serial.println(Receive_buffer);<br />
delay(500);<br />
*/<br />
Serial.println("And we are done");<br />
while (1) {delay(300);}</p>
]]></description><link>https://community.m5stack.com/post/20289</link><guid isPermaLink="true">https://community.m5stack.com/post/20289</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Fri, 10 Mar 2023 12:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Wed, 08 Mar 2023 08:32:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/happyuser" aria-label="Profile: happyuser">@<bdi>happyuser</bdi></a><br />
A few tips who want to start with this module:<br />
1] Remove PIN code, makes life much easier<br />
2] Download the application notes for this module. Both the complete AT instruction set and the note on HTTP application. This document provides clear instructions how to use HTTP, GET, POST etc<br />
3] I experienced ERROR response on SHCONF command. Googled around, saw numerous hits. It appears that switching off and on power does the trick for me. I did not see a reset AT instruction<br />
4] I got it all working with these instructions :<br />
Serial.println("Begin..");<br />
//pinMode(RXD2, INPUT);<br />
//pinMode(TXD2, OUTPUT);<br />
//showLog("Reset Module...");<br />
//SIM7020<br />
<a href="//DTU.Init" target="_blank" rel="noopener noreferrer nofollow ugc">//DTU.Init</a>(&amp;Serial1,36, 26);<br />
<a href="//Serial1.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//Serial1.begin</a>(115200, SERIAL_8N1, RXD2, TXD2);<br />
<a href="//Serial1.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//Serial1.begin</a>(115200, SERIAL_8N1, 26, 0);<br />
Serial1.begin(115200, SERIAL_8N1, 0, 26);          // SIM7080G</p>
<pre><code>delay(300);
//Serial1.print("ATI\r\n");
//Serial1.println("AT+CSQ\r\n");
//Serial1.println("AT+IPR?\r\n");
Serial1.print("ATZ\r\n");  // Reset to default
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+IPR=115200\r\n");  // Reset to default
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CCLK?\r\n");  // Reset to default
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+SHSSL=1,\"\"\r\n");  // Reset to default
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);



Serial1.print("AT+CFUN=1\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CMGF=1\r\n");  // text mode
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
<p dir="auto">// Om http te testen</p>
<pre><code>Serial1.print("AT+CFUN=0\r\n");  // Disable RF
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

//Serial1.print("AT+CGDCONT=1,\"IP\",\"internet\",,0,0\r\n");  // 
Serial1.print("AT+CGDCONT=1,\"IP\",\"internet\"\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CFUN=1\r\n");  // Enable RF
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+CGATT?\r\n");  // Check PS Service
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+CGNAPN\r\n");  // Query the APN service
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+CNCFGN=0,1,\"internet\",,0,0\r\n");  // Before activation please
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);


Serial1.print("AT+CNACT=0,1\r\n");  // Activate
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);



Serial1.print("AT+CNACT?\r\n");  // Query the APN service
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);



Serial1.print("AT+SHCPARA\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SHCONF=?\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SHCONF?\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
<p dir="auto">//    Serial1.print("AT+SHCONF="URL","<a href="https://api.thingspeak.com/update%5C%22%5Cr%5Cn%22" target="_blank" rel="noopener noreferrer nofollow ugc">https://api.thingspeak.com/update\"\r\n"</a>);  // Query the APN service<br />
<a href="//Serial1.print" target="_blank" rel="noopener noreferrer nofollow ugc">//Serial1.print</a>("AT+SHCONF="URL","httpbin.org"\r\n");  // Query the APN service<br />
<a href="//Serial1.print" target="_blank" rel="noopener noreferrer nofollow ugc">//Serial1.print</a>("AT+SHCONF="URL","<a href="http://34.193.132.77" target="_blank" rel="noopener noreferrer nofollow ugc">http://34.193.132.77</a>"\r\n");  // Query the APN service</p>
<pre><code>//SIM7600_Error=1;
//for (int i=0;i&lt;10;i++)
  // {
      //Serial1.print("AT+SHCONF=\"URL\",\"http://www.google.com\"\r\n");  // Query the APN service
      Serial1.print("AT+SHCONF=\"URL\",\"http://www.httpbin.org\"\r\n");  // Query the APN service

      delay(10);
      Read_Response(5000);
      Serial.println(Receive_buffer);
      delay(2000);
   //   if (SIM7600_Error=0) {break;}
  // }
     


Serial1.print("AT+SHCONF=\"BODYLEN\",1024\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SHCONF=\"HEADERLEN\",350\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);



Serial1.print("AT+SHCONN\r\n");  // Query the APN service
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SHSTATE?\r\n");  // Query the APN service
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SHCHEAD\r\n");  // Query the APN service
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);

Serial1.print("AT+SHAHEAD=\"User-Agent\",\"curl/7.47.0\"\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);    

Serial1.print("AT+SHAHEAD=\"Cache-control\",\"no-cache\"\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500); 

Serial1.print("AT+SHAHEAD=\"Connection\",\"keep-alive\"\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500); 

Serial1.print("AT+SHAHEAD=\"Accept\",\"*/*\"\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500); 


    
Serial1.print("AT+SHREQ=\"/get?user=jack&amp;password=123\",1\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500); 


Serial1.print("AT+SHREAD=0,391\r\n");  // 
delay(10);
Read_Response(5000);
Serial.println(Receive_buffer);
delay(500);
</code></pre>
]]></description><link>https://community.m5stack.com/post/20267</link><guid isPermaLink="true">https://community.m5stack.com/post/20267</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Wed, 08 Mar 2023 08:32:05 GMT</pubDate></item><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Tue, 07 Mar 2023 15:54:27 GMT]]></title><description><![CDATA[<p dir="auto">I’ve got one on my desk but haven’t purchased a sim for it yet</p>
]]></description><link>https://community.m5stack.com/post/20264</link><guid isPermaLink="true">https://community.m5stack.com/post/20264</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 07 Mar 2023 15:54:27 GMT</pubDate></item><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Tue, 07 Mar 2023 09:10:05 GMT]]></title><description><![CDATA[<p dir="auto">Well,<br />
Finally found it :<br />
This is works : Serial1.begin(115200, SERIAL_8N1, 0, 26);          // SIM7080G<br />
and G26 connected to TX and G0 to RX.<br />
Now trying to get the modem responding to SIM7080G commands.</p>
]]></description><link>https://community.m5stack.com/post/20262</link><guid isPermaLink="true">https://community.m5stack.com/post/20262</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Tue, 07 Mar 2023 09:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Tue, 07 Mar 2023 07:34:48 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your reply<br />
SIM card is placed according to picture.<br />
In the mean time I have tried different scenarios with :<br />
<a href="//Serial1.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//Serial1.begin</a>(115200, SERIAL_8N1, RXD2, TXD2);<br />
Serial1.begin(115200, SERIAL_8N1, 26, 0);<br />
<a href="//Serial1.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//Serial1.begin</a>(115200, SERIAL_8N1, 0, 26);</p>
<p dir="auto">This is based on the following link in which also problems with Serial are mentioned : <a href="https://community.m5stack.com/topic/1521/serial2-on-m5stickc/5">https://community.m5stack.com/topic/1521/serial2-on-m5stickc/5</a></p>
<p dir="auto">This link appears to provide working serial to serial communication: <a href="https://gist.github.com/dj1711572002/0ad8aa8aee618e5f2b7bfa719bc2b736" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/dj1711572002/0ad8aa8aee618e5f2b7bfa719bc2b736</a></p>
<p dir="auto">But no luck for me.<br />
I hope anyone got this working.<br />
Regards</p>
]]></description><link>https://community.m5stack.com/post/20261</link><guid isPermaLink="true">https://community.m5stack.com/post/20261</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Tue, 07 Mar 2023 07:34:48 GMT</pubDate></item><item><title><![CDATA[Reply to STAMP CATM does not respond (Solved, HTML Get and Send Email) on Tue, 07 Mar 2023 05:24:17 GMT]]></title><description><![CDATA[<p dir="auto">have you got a sim in it?</p>
]]></description><link>https://community.m5stack.com/post/20258</link><guid isPermaLink="true">https://community.m5stack.com/post/20258</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 07 Mar 2023 05:24:17 GMT</pubDate></item></channel></rss>