Cloud Connected Blinky

Learn how to create a cloud connected “blinky” (the hello world for microcontrollers) application with your M5Stack Core2 for AWS IoT EduKit reference hardware. Using your own AWS account, you’ll walk-through how to connect your device to AWS IoT Core, send and receive MQTT messages, and view the messages on both the device and in AWS cloud. All of the steps and skills used here will provide the foundation to be successful in subsequent tutorials. Specifically, you will:

  • Install and configure the AWS CLI on your host machine to remotely manage your AWS services and use provided helper scripts.
  • Register a “thing” in AWS IoT Core using the security certificates pre-provisioned on the onboard secure element.
  • Configure your reference hardware to connect to Wi-Fi, connect to your account’s AWS IoT endpoint, and send MQTT messages to AWS IoT Core.
  • Receive an MQTT message from the cloud on the specified reference hardware to trigger blinking an LED.

All the content in this tutorial assumes you presently have the M5Stack Core2 ESP32 IoT Development Kit for AWS IoT EduKit in your possession, an AWS account that is not running production workloads, have your environment setup from the Getting Started tutorial, and are comfortable with basic technical concepts and tools—such as the command prompt/terminal. To purchase your own kit, check out Amazon.com, the M5Stack store or their global distributors. If you haven’t registered for an AWS account yet, please create an account.

To get started with this tutorial, go to the first chapter, Prerequisites.


Report bugs Community support