
Build STM32 and ESP32 based IoT applications on AWS IoT Core using MQTT, with a secure STM32–ESP32 bridge, real-time data exchange, OTA updates, and cloud-to-device interactions across multiple projects.
Connect a secure STM32 application to AWS IoT Core via MQTT, subscribe to a topic, and publish real-time temperature and humidity data.
Learn how to set up AWS IoT Core by creating an AWS account, generating certificates and keys, configuring a policy, and attaching it to an IoT thing for secure MQTT.
Create an AWS IoT thing and attach a policy for connect, publish, subscribe, and receive. Download certificates and keys, then flash the ESP32 with the firmware to connect securely.
Establish a secure AWS IoT Core connection by initializing the ESP32 Wi-Fi module, joining the AP, syncing time with SNTP, and MQTT TLS over port 8883 using the thing name.
Start the FreeRTOS scheduler, flash the device, and test the MQTT publish task; verify temperature and humidity data arrive at AWS IoT Core in Mumbai.
Create three RTOS tasks for mqtt publish, mqtt receive, and a low-priority mqtt send and receive task to handle at commands via queues, with implementation in the next video.
Build a secure over-the-air firmware update system for an STM32 IoT device using AWS IoT services, enabling the device to check for pending updates and upgrade via the OTA bootloader.
Create an IAM role with S3 read access for AWS IoT to fetch firmware, then create an IoT stream using OTA-stream with S3 bucket name, object key, and role ARN.
Perform an over-the-air firmware update by changing the app to publish every 10 seconds, then upload the binary to s3, create an iot stream, and run a custom ota job.
Set up the AWS cloud backend for Razorpay webhooks by creating a Lambda function, configuring API gateway triggers, validating signatures, and storing transactions in DynamoDB.
Subscribe the device to the razor pay payments mqtt topic to receive payment events. Parse json payload to extract payment id, amount, status, and time, then display on the oled.
build a smart sticker system with stm32 and esp32 wifi that fetches live headlines from the new york times api via http get and displays them on an oled.
Create a new project from a template, remove mqtt and pre-rtos code, and set up wifi plus oled with http/https logic, configuring left and right buttons on the fastbit shield.
Implement a pixel-based scrolling ticker on the OLED display by building a scroll string from article titles and updating at 25 ms, with no news error state returning to menu.
Are you ready to take your STM32 and IoT skills to the next level by building real cloud connected devices on AWS?
This is a brand new course that is practice first, project driven, and step by step. You will not just learn concepts. You will build along and see your STM32 devices come alive with real AWS IoT Core integration..
In this hands on, project driven course, you will learn how to connect your STM32 microcontrollers to the AWS IoT Cloud and build real world IoT applications that are secure, reliable, and scalable.
Connect STM32 to AWS IoT Core using ESP32 Wi Fi bridge, publish and control devices with MQTT, deliver secure OTA firmware updates, and integrate Razorpay payment events in hands on projects
This is not a theory heavy course. It is all about building step by step, where you will write code, configure cloud services, and see your embedded device interact with AWS in real time.
By the end, you will have the skills to implement IoT systems that go beyond simple sensor readings, integrating with advanced features such as firmware updates over the air and even cloud driven business logic with payment gateways.
What you will learn?
How to set up AWS IoT Core for secure device-to-cloud communication
Connecting STM32 with ESP32 as a Wi-Fi bridge using AT commands
Publishing sensor data and receiving commands over MQTT
Implementing secure Over-the-Air firmware updates using AWS IoT Jobs
Managing cloud-to-device messaging and real-time responses
Integrating IoT with real-world business systems (Razorpay Payment Gateway)
Building end-to-end IoT workflows from device → cloud → device
Hardware Requirements
Note: If you already have a microcontroller development board, we recommend continuing with it. This course is designed with such thoroughness that the concepts and steps can be applied to most development boards though some minor adjustments may be needed. But, if you prefer to use the exact same board as the instructor for a smoother experience, you can check out the recommended hardware
Any STM32 Nucleo board with Fastbit IOT connect shield (Recommended)
or
Any STM32 development board + ESP32 module for Wi-Fi
Projects you build
IoT Foundation Project – Connect STM32 to AWS, publish sensor data, and subscribe to commands using MQTT
OTA Firmware Updates – Deliver new firmware securely from AWS S3 and update in the devices automatically.
IoT + Payment Gateway – React to real-time Razorpay payment confirmations on your STM32 device with instant feedback on OLED display.
Who this course is for?
Embedded engineers who want to connect their devices to the cloud
Students or professionals interested in IoT product development
Makers who want to build practical IoT projects beyond basics
Anyone curious about how embedded devices interact with AWS IoT Core
Requirements
Basic knowledge of C programming and STM32 development
Familiarity with UART and microcontroller basics
An STM32 development board + ESP32 module for Wi-Fi
By the end of this course, you will be able to:
Confidently connect STM32 devices to AWS IoT Core
Build real-world, cloud-integrated IoT applications
Deliver OTA firmware updates securely
Integrate IoT devices with modern digital services