<?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[AWS IoT Edukit Core M5 - Micropython support?]]></title><description><![CDATA[<p dir="auto">The AWS IoT Edukit Core M5 requires you to <a href="https://edukit.workshop.aws/en/blinky-hello-world/connecting-to-aws.html#building-the-esp32-firmware" target="_blank" rel="noopener noreferrer nofollow ugc">build your own firmware</a> using the ESP-IDF build framework.</p>
<p dir="auto">Will the extra hardware features like the RGB leds, microphone and crypto module be supported with an m5burner micropython image?</p>
]]></description><link>https://community.m5stack.com/topic/2679/aws-iot-edukit-core-m5-micropython-support</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:01:52 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2679.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Dec 2020 01:43:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Thu, 11 Aug 2022 01:47:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rashedtalukder" aria-label="Profile: rashedtalukder">@<bdi>rashedtalukder</bdi></a> Congrats, hope you are on to somewhere that appreciates your skills!</p>
]]></description><link>https://community.m5stack.com/post/18276</link><guid isPermaLink="true">https://community.m5stack.com/post/18276</guid><dc:creator><![CDATA[greenleaf]]></dc:creator><pubDate>Thu, 11 Aug 2022 01:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Tue, 09 Aug 2022 13:07:31 GMT]]></title><description><![CDATA[<p dir="auto">I was able to send data to AWS IoT Core using the below code. If you want to run this code from VScode + Pymakr, follow this guide: <a href="https://randomnerdtutorials.com/micropython-esp32-esp8266-vs-code-pymakr/" target="_blank" rel="noopener noreferrer nofollow ugc">MicroPython: Program ESP32/ESP8266 using VS Code and Pymakr</a></p>
<pre><code>import network
from umqtt.simple import MQTTClient
import time
import sys
import os
import json

# configure your wifi credentials
WIFI_SSID = "&lt;YOUR_WIFI_SSID_GOES_HERE&gt;"
WIFI_PASS = "&lt;YOUR_WIFI_PASSWORD_GOES_HERE&gt;"

# configure your iot credentials
MQTT_ENDPOINT = "XXXXXX.iot.XXXXX.amazonaws.com"
MQTT_PORT = 8883
MQTT_QOS = 0
# thing-id
MQTT_CLIENT = "mycore2"

THING_CLIENT_CERT = "/flash/res/core2-certificate.pem.crt"
THING_PRIVATE_KEY = "/flash/res/core2-private.pem.key"

# topic
MQTT_TOPIC = "mycore2/env"
MQTT_SUB_TOPIC = "mycore2/command"

info = os.uname()

def connect_to_wifi(ssid, password):
    sta_if = network.WLAN(network.STA_IF)
    if not sta_if.isconnected():
        sta_if.active(True)
        sta_if.connect(ssid, password)
        while not sta_if.isconnected():
            pass
    ip_address = sta_if.ifconfig()[0]
    return ip_address

def get_key(key_path):
    with open(key_path, "r") as f:
        key = f.read()
    return key

def connect_to_mqtt():
    print("CONNECTING TO MQTT BROKER...")
    global client
    client = MQTTClient(
        client_id=MQTT_CLIENT,
        server=MQTT_ENDPOINT,
        port=MQTT_PORT,
        keepalive=0,
        ssl=True,
        ssl_params={
            "cert": get_key(THING_CLIENT_CERT),
            "key": get_key(THING_PRIVATE_KEY),
            "server_side": False
        }
    )
    client.set_callback(subscription_call_back)
    try:
        client.connect()
        print("MQTT BROKER CONNECTION SUCCESSFUL")
    except Exception as e:
        print("MQTT CONNECTION FAILED: {}".format(e))
        sys.exit()
    client.subscribe(MQTT_SUB_TOPIC)
    print("SUBSCRIBED TO TOPIC: {}".format(MQTT_SUB_TOPIC))
    return

def subscription_call_back(topic, msg):
    # confirm state update
    print("RECEIVING MESSAGE: {} FROM TOPIC: {}".format(
        msg.decode("utf-8"), topic.decode("utf-8")))
    return

def publish_message(topic, msg, qos=MQTT_QOS):
    client.publish(
        topic=topic,
        msg=msg,
        qos=qos)
    print("PUBLISHING MESSAGE: {} TO TOPIC: {}".format(msg, topic))
    return

# connect to wifi
print("CONNECTING TO WIFI NETWORK")
ip_address = connect_to_wifi(WIFI_SSID, WIFI_PASS)
print("CONNECTED SUCCESSFULLY")
print("YOUR IP ADDRESS IS: {}".format(ip_address))

# connect to mqtt
print("CONNECTING TO MQTT BROKER")
connect_to_mqtt()
print("SUBSCRIBED TO TOPIC")
while True:
    client.check_msg()

    tf = power.getTempInAXP192()
    msg = str(json.dumps({
        "client": MQTT_CLIENT,
        "device": {
            "uptime": time.ticks_ms(),
            "hardware": info[0],
            "firmware": info[2]
        },
        "sensors": {
            "TempInAXP192": tf
        },
        "status": "online",
    }))
    publish_message(MQTT_TOPIC, msg)
    time.sleep(5)
</code></pre>
]]></description><link>https://community.m5stack.com/post/18258</link><guid isPermaLink="true">https://community.m5stack.com/post/18258</guid><dc:creator><![CDATA[kulmam92]]></dc:creator><pubDate>Tue, 09 Aug 2022 13:07:31 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Mon, 08 Aug 2022 17:41:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rashedtalukder" aria-label="Profile: rashedtalukder">@<bdi>rashedtalukder</bdi></a> just spent the last 7 days hacking the code and making progress.</p>
]]></description><link>https://community.m5stack.com/post/18247</link><guid isPermaLink="true">https://community.m5stack.com/post/18247</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 08 Aug 2022 17:41:06 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Mon, 08 Aug 2022 17:32:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/greenleaf" aria-label="Profile: greenleaf">@<bdi>greenleaf</bdi></a> I recently left Amazon. I don’t know what their plans are.</p>
]]></description><link>https://community.m5stack.com/post/18246</link><guid isPermaLink="true">https://community.m5stack.com/post/18246</guid><dc:creator><![CDATA[rashedtalukder]]></dc:creator><pubDate>Mon, 08 Aug 2022 17:32:02 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Mon, 01 Aug 2022 13:55:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Thanks.  Yes, it looks like UIflow has evolved quite a bit since last year.  I'm happy to see you can execute custom code now, and that there are some dedicated hooks for things like AWS IoT.</p>
]]></description><link>https://community.m5stack.com/post/18140</link><guid isPermaLink="true">https://community.m5stack.com/post/18140</guid><dc:creator><![CDATA[greenleaf]]></dc:creator><pubDate>Mon, 01 Aug 2022 13:55:21 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Mon, 01 Aug 2022 05:05:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/greenleaf" aria-label="Profile: greenleaf">@<bdi>greenleaf</bdi></a> I haven't heard anything but there are functions in UIFlow provided for this and I have written and published a guide but am rewriting and updating a guide to AWS using UIFlow.</p>
]]></description><link>https://community.m5stack.com/post/18137</link><guid isPermaLink="true">https://community.m5stack.com/post/18137</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 01 Aug 2022 05:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Mon, 01 Aug 2022 00:02:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/rashedtalukder" aria-label="Profile: rashedtalukder">@<bdi>rashedtalukder</bdi></a>  - it's been a while.  Is AWS still committed to bringing Micropython to this device?</p>
]]></description><link>https://community.m5stack.com/post/18134</link><guid isPermaLink="true">https://community.m5stack.com/post/18134</guid><dc:creator><![CDATA[greenleaf]]></dc:creator><pubDate>Mon, 01 Aug 2022 00:02:34 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Tue, 08 Jun 2021 21:15:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rashedtalukder" aria-label="Profile: rashedtalukder">@<bdi>rashedtalukder</bdi></a> said in <a href="/post/11706">AWS IoT Edukit Core M5 - Micropython support?</a>:</p>
<blockquote>
<p dir="auto">Adafruit Crypto library</p>
</blockquote>
<p dir="auto">waiting for that MicroPython package specific for the Core2 for AWS... When?</p>
]]></description><link>https://community.m5stack.com/post/14054</link><guid isPermaLink="true">https://community.m5stack.com/post/14054</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Tue, 08 Jun 2021 21:15:48 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Tue, 01 Jun 2021 14:50:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rashedtalukder" aria-label="Profile: rashedtalukder">@<bdi>rashedtalukder</bdi></a> Super!  An officially supported MicroPython package for the Core2 for AWS would be amazing.</p>
]]></description><link>https://community.m5stack.com/post/13974</link><guid isPermaLink="true">https://community.m5stack.com/post/13974</guid><dc:creator><![CDATA[greenleaf]]></dc:creator><pubDate>Tue, 01 Jun 2021 14:50:48 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Wed, 13 Jan 2021 15:24:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/greenleaf" aria-label="Profile: greenleaf">@<bdi>greenleaf</bdi></a>, after doing some initial quick testing I found that many of the features are in parity, but things like the RBG LED is not functional because the pins are different from the M5Stack Fire. You might be able to take the existing M5Stack MicroPython library and update the pins to work with it.</p>
<p dir="auto">The crypto module isn't supported. However, you can use the <a href="https://github.com/adafruit/Adafruit_CircuitPython_ATECC/" target="_blank" rel="noopener noreferrer nofollow ugc">Adafruit Crypto library</a> for the secure element.</p>
<p dir="auto">M5Stack and AWS are working together to explore an option to deliver a MicroPython package specifically for the Core2 for AWS IoT EduKit.</p>
]]></description><link>https://community.m5stack.com/post/11706</link><guid isPermaLink="true">https://community.m5stack.com/post/11706</guid><dc:creator><![CDATA[rashedtalukder]]></dc:creator><pubDate>Wed, 13 Jan 2021 15:24:00 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT Edukit Core M5 - Micropython support? on Wed, 13 Jan 2021 02:44:16 GMT]]></title><description><![CDATA[<p dir="auto">Yes it's supported, you could use the Core2 AWS like a normal version core2</p>
]]></description><link>https://community.m5stack.com/post/11697</link><guid isPermaLink="true">https://community.m5stack.com/post/11697</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Wed, 13 Jan 2021 02:44:16 GMT</pubDate></item></channel></rss>