DSP, Micros & Memory

AWS IoT reference example for ESP32-C3

30 May 2022 DSP, Micros & Memory

Since the beta release of the AWS IoT LTS libraries for ESP32 in August 2021, many customers and independent developers using the Espressif ESP32 MCUs have been using them in various projects based on examples initially provided. A stable release of ESP-AWS-IoT has now been made available by Espressif on GitHub which includes a reference example for the ESP32-C3, developed in collaboration with the AWS team. The ESP-AWS-IoT framework enables AWS-IoT cloud connectivity with ESP32-based platforms using AWS IoT device-embedded SDK. The combination of these repositories provides a production-ready starting point for making applications that connect to AWS IoT Core.

The main characteristics of the stable library release are:

Closer-to-production example

The reference example now provided in the repository provides a better starting point for building production applications. More specifically, the latest reference example is built from the ground up to provide a reliable application that can handle and recover from real-world cases, such as MQTT-level disconnections or Wi-Fi disconnections.

The new reference example also includes Espressif’s Unified Provisioning that allows use of a smartphone app (available in open-source format for Android on the Google Play Store, and iOS on the Apple App Store) to provide Wi-Fi credentials and for sending additional information to the device.

Security best practices

One of the most important highlights of the reference example is that it is designed according to best security practices and provides a comprehensive guide for following them in production use cases. Specifically, the new reference example showcases the Digital Signature Peripheral on the ESP32-C3, which provides a hardware root-of-trust and secure storage for certificates. This ensures that the device identity remains protected by using hardware security. The guide also provides steps for security considerations in production, such as enabling Flash Encryption and Secure Boot.

Combination of AWS libraries and features

The published reference example integrates various libraries, like coreMQTT, coreJSON and AWS OTA to allow for easy addition of this functionality.

Libraries as individual IDF components

Restructuring the ESP-AWS-IoT SDK has provided the ability to use each AWS LTS library as a standalone ESP-IDF component that can easily be added to any example. Each library comes with its own port layer and configuration that can be easily managed for the application.


Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Quectel masterclass: IoT device application development
iCorp Technologies News
Quectel has announced the latest masterclass in a series of technical webinars titled “Accelerate wireless IoT device application development with Azure RTOS on STM32 MCUs”.

Automotive motion sensor with embedded ML core
Altron Arrow DSP, Micros & Memory
The ASM330LHHX, a six-axis inertial module with embedded machine learning core and dual operating modes, ensures the lowest power consumption and in-sensor event detection.

GNSS receiver module to extend runtime by 500%
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
Antenova has announced the GNSSNOVA M20071 GNSS receiver module with power consumption reduced five-fold to enable smaller tracker designs, and trackers that could run five times longer.

SolidRun releases a SoM solution based on a Renesas SoC
EBV Electrolink DSP, Micros & Memory
In partnership with Renesas, SolidRun has released a SoM solution based on the powerful RZ/G2 family of SoCs, which are engineered for AI-enhanced HMI applications.

ST develops new serial EEPROM class
Altron Arrow DSP, Micros & Memory
This new class of serial EEPROM is a 32-Mbit page-erasable memory that is less expensive than FRAM while offering a lower power consumption.

New Espressif MCU embeds Wi-Fi 6
iCorp Technologies DSP, Micros & Memory
Espressif Systems has introduced the ESP32-C5, their first dual-band 2,4 and 5 GHz Wi-Fi 6 and Bluetooth 5 low-energy microcontroller unit.

New chip from ST ideal for use in a 3-phase motor controller
Altron Arrow DSP, Micros & Memory
STMicroelectronics’ new STSPIN32G4 is an integrated and flexible motor controller for driving three-phase brushless motors, helping designers choose the most suitable driving mode and at the same time ...

An entire chain of trust for system platforms
RS Components (SA) DSP, Micros & Memory
Microchip’s CEC1736 Trust Shield family spans silicon, software, tools, a development board and provisioning capabilities that drive the end-to-end platform firmware protection that customers need.

EFM32PG23 Microcontroller for IoT applications
RS Components (SA) DSP, Micros & Memory
Silicon Labs’ EFM32PG23 microcontroller is the ideal combination of excellent low-power performance, precision analog capabilities and security in a small package.

MG24 Wireless Development Kit
RS Components (SA) DSP, Micros & Memory
Silicon Labs’ MG24 development kit is a high-performing wireless SoC with an AI/ML accelerator for battery-powered IoT end devices.