<?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[IoT Base CATm and Core 2]]></title><description><![CDATA[<p dir="auto">Couple of (hopefully) quick questions...</p>
<p dir="auto">I've just got hold of the IoT Base CATm and it looks amazing. A few extra ports, and 9-12v power.</p>
<p dir="auto">I have an AWS Core 2 AND a White Core 2, happy to use either... but favouring the White Core2 at the moment.</p>
<p dir="auto">I have pushed the White Core 2 onto the IoT Base, and plugged in the power adapter... assuming that the power from the adapter would automatically charge the Core 2... it doesnt seem to be doing anything!</p>
<p dir="auto">Second, I would like to use Blocky to code the Core 2, and use the additional ports from the IoTBase...but I cant find a 'unit' block to add for the IoT Base... am I being blind here.... Id like to use the two extra ports on the base to plug in the watering unit and the Env3 unit.</p>
<p dir="auto">Any help of advice would be gratefully received. Ive tried looking on the documentation and online but cant seem to find anything!</p>
]]></description><link>https://community.m5stack.com/topic/4318/iot-base-catm-and-core-2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 16:17:37 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4318.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 May 2022 12:53:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Tue, 10 Oct 2023 20:37:54 GMT]]></title><description><![CDATA[<p dir="auto">In case it helps others, this link is very good using Core2 and UNIT CatM+GNSS:<br />
<a href="https://www.soracom.io/blog/how-to-use-nb-iot-in-the-us-with-soracom-and-m5stack/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.soracom.io/blog/how-to-use-nb-iot-in-the-us-with-soracom-and-m5stack/</a></p>
<p dir="auto">For compatible UK SIM (and nice management platform), likewise see <a href="https://www.soracom.co.uk/pricing/eu-pricing/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.soracom.co.uk/pricing/eu-pricing/</a> to order, or there are partner resellers from the Store menu.</p>
<p dir="auto">From my experience, a few extra AT commands to ease use with the base module in Arduino and help fault finding:</p>
<p dir="auto">// Just in case (NB 0000 is default)<br />
if (GSM_PIN &amp;&amp; modem.getSimStatus() != 3) {<br />
modem.simUnlock(GSM_PIN);<br />
delay(500);<br />
}</p>
<p dir="auto">// 13 GSM only , 38 LTE only , 51 GSM and LTE only | 1 = CAT-M<br />
modem.setNetworkMode(38);<br />
delay(500);<br />
modem.setPreferredMode(1);<br />
delay(500);</p>
<p dir="auto">And if you need to ping some extra AT commands while using tinyGSM<br />
// Check the preferred selection between CAT-M and NB-IoT<br />
String str1 = "CAT-M NB-IOT (1): ";<br />
String str2 = "";<br />
modem.sendAT(GF("+CMNB?"));<br />
modem.waitResponse(1000L, str2);<br />
log(str1 + str2);</p>
<p dir="auto">str1 = "Preferred mode (38)";<br />
str2 = "";<br />
modem.sendAT(GF("AT+CNMP?"));<br />
modem.waitResponse(1000L, str2);<br />
log(str2 + str1);</p>
<p dir="auto">For instructions/discussion on using raw AT commands with TinyGSM examples see here:<br />
<a href="https://github.com/vshymanskyy/TinyGSM/issues/518" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vshymanskyy/TinyGSM/issues/518</a></p>
<p dir="auto">I'm using the Core2 and IoT BASE CatM, which I've now got working with Arduino. The blog article above uses Core2 and UNIT CatM+GNSS. There is also: UNIT CatM, ThermalOnline CatM and STAMP CATM with an unfortunate mixture of examples to contend with.</p>
<p dir="auto">The bases all have examples that include TinyGSM (probably a good thing), but it makes it hard to compare i.e. when you have a Core2 not a Core or different units from examples. I found it very hard work. Ideally, the examples would benefit from being rationalised to be modular e.g. establish a comms layer first (separate examples with and without TinyGSM, then add MQTT, HTTP, etc. as layers on top. Cover this for all bases and units with SIM7080G.</p>
]]></description><link>https://community.m5stack.com/post/22444</link><guid isPermaLink="true">https://community.m5stack.com/post/22444</guid><dc:creator><![CDATA[gavin67890]]></dc:creator><pubDate>Tue, 10 Oct 2023 20:37:54 GMT</pubDate></item><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Sun, 29 May 2022 11:06:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/iamjameshannam" aria-label="Profile: iamjameshannam">@<bdi>iamjameshannam</bdi></a></p>
<p dir="auto">if you want to use this in Block UiFlow you'd need to convert the C code to Python first.</p>
<p dir="auto">I never used custom blocks, so I cannot answer that question, sorry.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17608</link><guid isPermaLink="true">https://community.m5stack.com/post/17608</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 29 May 2022 11:06:15 GMT</pubDate></item><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Sun, 29 May 2022 10:05:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Felix…</p>
<p dir="auto">If we want to use this in Block UIFlow how do we go about adding those kinds of code into the program? Is it as simple as adding it in the python tab?</p>
<p dir="auto">I’ve noticed a Custom block.. block. Is there a site or place where people have (or can) upload their own useful blocks?</p>
]]></description><link>https://community.m5stack.com/post/17607</link><guid isPermaLink="true">https://community.m5stack.com/post/17607</guid><dc:creator><![CDATA[iamjameshannam]]></dc:creator><pubDate>Sun, 29 May 2022 10:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Fri, 27 May 2022 23:18:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/aliasgherman" aria-label="Profile: aliasgherman">@<bdi>aliasgherman</bdi></a></p>
<p dir="auto">the example program <code>CatM_GNSS_7080</code> is meant for the <a href="https://docs.m5stack.com/en/unit/nbiot_global" target="_blank" rel="noopener noreferrer nofollow ugc">SIM7080 <strong>unit</strong></a> and not the IoT Base CatM module.</p>
<p dir="auto">The unit uses RX=GPIO13, TX=GPIO14, to talk to the modem whereas the IoT Base CatM module uses RX=GPIO35, TX=GPIO0 and EN=GPIO27.<br />
(Note: GPIO number are for M5Core2.)</p>
<p dir="auto">Try this <a href="https://github.com/m5stack/IoT_BASE_SIM7080" target="_blank" rel="noopener noreferrer nofollow ugc">example</a>.<br />
You'll need to replace <code>#include &lt;M5Stack.h&gt;</code> with <code>#include &lt;M5Core2.h&gt;</code> and<br />
in <code>IoT_BASE_SIM7080.h</code> you'll need to change <code>IoT_BASE_SIM7080_EN</code> from 12 to 27.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17595</link><guid isPermaLink="true">https://community.m5stack.com/post/17595</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 27 May 2022 23:18:33 GMT</pubDate></item><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Fri, 27 May 2022 18:08:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">I am in the same boat and trying to figure out how to access the CatM base's modem.</p>
<p dir="auto">I have Core2 (AWS), IoT Base Cat-M.<br />
I disconnected the battery (M5GO) from the Core2, then connected Core2 with the IoT Base CatM using the male/female headers on both boards.<br />
If I power up the CatM base, the Core2 does power up. But the example program cannot communicate with the modem at all.</p>
<p dir="auto">The example program listing is also given on File -&gt; Examples -&gt;M5Core2 -&gt; CatM_GNSS_7080 -&gt; MQTT</p>
<p dir="auto">I appreciate any pointers for help please.</p>
<p dir="auto">I just want to know if any additional steps are needed to perform AT commands to the modem. (SerialAT is defined as Serial2 in the program listing) But we get UART connect errors etc....</p>
]]></description><link>https://community.m5stack.com/post/17593</link><guid isPermaLink="true">https://community.m5stack.com/post/17593</guid><dc:creator><![CDATA[aliasgherman]]></dc:creator><pubDate>Fri, 27 May 2022 18:08:58 GMT</pubDate></item><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Wed, 25 May 2022 13:43:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Hey Felix!</p>
<p dir="auto">So... Ive taken off the protective cover 'Core2' that covers up the female headers, and clicked it onto the Base. Ive even used some long m3 hex heads to secure the base in place with the Core2.</p>
<p dir="auto">It seems as though the power is now at least working, just glanced over to the setup and the screen is still on (Ive left it running for a while connected to the base/power).</p>
<p dir="auto">I'll give the Module Block a go and see how I get on!</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://community.m5stack.com/post/17563</link><guid isPermaLink="true">https://community.m5stack.com/post/17563</guid><dc:creator><![CDATA[iamjameshannam]]></dc:creator><pubDate>Wed, 25 May 2022 13:43:29 GMT</pubDate></item><item><title><![CDATA[Reply to IoT Base CATm and Core 2 on Wed, 25 May 2022 13:43:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/iamjameshannam" aria-label="Profile: iamjameshannam">@<bdi>iamjameshannam</bdi></a></p>
<p dir="auto">I assume that on your M5Core2 (white) you first removed the bottom cover before stacking the IoT Base CatM, yes? As far as I can tell from the <a href="https://docs.m5stack.com/en/base/iot_base_catm" target="_blank" rel="noopener noreferrer nofollow ugc">schematic</a> the IoT Base CatM should power the M5Core2. And are you running UiFlow firmware on your M5Core2?</p>
<p dir="auto">Note: Sometimes when powered through a module M5Core2 needs its power button pushed to power up. Have you tried that?</p>
<p dir="auto">BTW: you won't find the IoT Base CatM in the units list as it is handled as a module - check under <code>Modules</code>, entry <code>IoT Base CatM</code>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17562</link><guid isPermaLink="true">https://community.m5stack.com/post/17562</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 25 May 2022 13:43:49 GMT</pubDate></item></channel></rss>