<?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[CORES3 with NB-IOT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I have a CoreS3 with a COM.NB-IoT. Somehow I can;t get the SIM7020 get to work. Does someone have a example code? I have changed the dipswitches to:</p>
<pre><code>#define SerialAT Serial1
#define MODEM_TX 13
#define MODEM_RX 7
</code></pre>
<p dir="auto">From the IoT_BASE_SIM7020 I have extracted the TinyGSM code for the SIM7020. But as mentioned, I can not get it to work. Does someone have a full working example? I do have the COMMU module on Serial2 on:</p>
<pre><code>#define Serial485 Serial2
#define RS485_TX 17
#define RS485_RX 18
</code></pre>
<pre><code>TinyGsm modem(SerialAT,0);
void setupModem() {

  pinMode(2, OUTPUT);
  digitalWrite(2, 0);
  
  SerialAT.begin(115200, SERIAL_8N1, MODEM_RX, MODEM_TX);
  TinyGsmAutoBaud(SerialAT, GSM_AUTOBAUD_MIN, GSM_AUTOBAUD_MAX);
  
  modem.init(); // Not working

  String modemInfo = modem.getModemName();
  CoreS3.Display.printf("Modem Name: %s\n", modemInfo);
  Serial.print("Modem Name: ");
  Serial.println(modemInfo);
}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/6281/cores3-with-nb-iot</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 14:51:32 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6281.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 31 Mar 2024 20:22:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CORES3 with NB-IOT on Sun, 31 Mar 2024 22:53:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/100105">@markpro</a></p>
<p dir="auto">glad to hear you got it working.</p>
<p dir="auto">BTW: GPIO1 is already used on port A (I2C). But that is fine as long as you do not need external I2C as well.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24626</link><guid isPermaLink="true">https://community.m5stack.com/post/24626</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 31 Mar 2024 22:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to CORES3 with NB-IOT on Sun, 31 Mar 2024 22:47:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> Thanks, after reviewing the docs I also made a mistake in the Pins. Adjusted to below and now I get a reponse of 1 on modem.test(). So looks like I have it connected :)</p>
<pre><code>#define MODEM_TX 7
#define MODEM_RX 1
</code></pre>
]]></description><link>https://community.m5stack.com/post/24625</link><guid isPermaLink="true">https://community.m5stack.com/post/24625</guid><dc:creator><![CDATA[markpro]]></dc:creator><pubDate>Sun, 31 Mar 2024 22:47:07 GMT</pubDate></item><item><title><![CDATA[Reply to CORES3 with NB-IOT on Sun, 31 Mar 2024 22:35:24 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/100105">@markpro</a></p>
<p dir="auto">GPIO13 in M5CoreS3 is already used by the speaker amp. So it probably can't be used for serial. See schematic <a href="https://docs.m5stack.com/en/core/CoreS3" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">BTW: you don't need to set GPIO2 as output and set it to LOW as GPIO2 is not connected / used by the COM.NB-IoT module. See schematic <a href="https://docs.m5stack.com/en/module/comx_nb-iot" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24622</link><guid isPermaLink="true">https://community.m5stack.com/post/24622</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 31 Mar 2024 22:35:24 GMT</pubDate></item></channel></rss>