How-To-Tutorials
Practical, step-by-step guides for designing, programming, and integrating hardware and software in embedded projects.
176 articles

Introduction In this tutorial, you will learn how to build a Flask web dashboard for real-time visualization of MQTT data from ESP32 sensors. We will cover...
Oct 8, 2025

Introduction Profiling the execution time of interrupt handlers is crucial for optimizing performance in embedded systems. This tutorial will guide you through...
Oct 8, 2025

Introduction In this tutorial, we will walk you through the process of implementing MQTT over TLS using an ESP32 microcontroller and AWS IoT Core. This setup...
Oct 8, 2025
Automating STM32 Firmware Builds and Flashing using GitHub Actions with OpenOCD In this tutorial, we will walk through the process of automating the build and...
Oct 7, 2025

Introduction This tutorial will guide you through the process of automating STM32 firmware builds and testing using GitHub Actions and a multi-stage Docker...
Oct 7, 2025
Implementing a Nordic nRF52 BLE GATT Server with a Custom Android App for Real-Time Temperature Monitoring This tutorial will guide you through the process of...
Oct 7, 2025

Introduction Configuring low-power sleep modes in STM32L4 microcontrollers is essential for extending the battery life of IoT sensors. Utilizing the Real-Time...
Oct 7, 2025

Integrating the CANopen Stack into STM32 Firmware for Real-Time Sensor Data Acquisition Using the HAL Library This tutorial will guide you through the process...
Oct 7, 2025

Secure boot prevents unauthorized firmware from running on your STM32F7. Here's how to implement firmware signature verification with RSA and ECC, using mbedTLS on the device and OpenSSL for signing.
Oct 7, 2025

Set up FreeRTOS on STM32F4 using STM32CubeIDE with CMSIS-RTOS v2, create tasks with proper stack and priority configuration, and debug the scheduler using GDB with OpenOCD.
Oct 7, 2025

Introduction FreeRTOS Tracealyzer is a powerful tool for visualizing and analyzing the behavior of real-time systems. In this tutorial, we will go through the...
Oct 7, 2025

Introduction The ESP32-CAM is a powerful and versatile microcontroller with the capability to stream video over Wi-Fi. This tutorial will guide you through...
Sep 29, 2025

Introduction This tutorial will guide you through the process of logging temperature sensor data to an SD card using the FatFs file system on an STM32...
Sep 29, 2025

Introduction This tutorial will guide you through the process of setting up a Nordic Semiconductor nRF52840 Development Kit (DK) to communicate using Matter...
Sep 28, 2025

Implementing Matter over Thread on a Nordic nRF52840 DK: A Step-by-Step Guide This tutorial will guide you through the process of implementing Matter over...
Sep 28, 2025

Implementing ESP32 Deep Sleep with RTC Memory Retention for Sensor Data Logging in Battery-Powered IoT Devices In this tutorial, we will implement deep sleep...
Sep 28, 2025

OTA updates without security are a liability. Here's how to implement HTTPS-based secure OTA firmware updates on ESP32 using Arduino IDE 2.x and the ESP32 core v3.x, with certificate pinning and rollback protection.
Sep 28, 2025

Matter solves smart home fragmentation by letting one firmware talk to every ecosystem. This guide walks you through building and commissioning a Matter over Thread device on the nRF52840 DK using the nRF Connect SDK.
Sep 28, 2025

Introduction This tutorial will guide you through setting up an ESP32 as an MQTT client to transmit sensor data using the LWIP stack and the PubSubClient...
Sep 28, 2025

SD card logging is one of those unglamorous but incredibly useful embedded features. Set up FatFs on an STM32F4 to build a reliable 1Hz sensor data logger using SPI and the HAL.
Sep 28, 2025
The MPU6050 accelerometer is noisy and its gyroscope drifts. A Kalman filter fuses both to get stable, accurate angle estimates on STM32 — here's how to implement it.
Sep 28, 2025

eFUSEs on the ESP32 provide one-time programmable storage for authentication secrets. This guide covers burning keys, generating OTPs, and building secure device authentication with ESP-IDF.
Sep 23, 2025
Most small TFT displays use RGB565—16 bits per pixel packed into 5-6-5 color channels. Here’s how to set up a framebuffer, blast pixels over SPI with DMA, and get smooth rendering on STM32.
Sep 23, 2025

STM32CubeIDE is fine, but if you live in VS Code for everything else, PlatformIO v6 bridges the gap. Here's how to set up a clean STM32F4 project with VS Code, CMake, and PlatformIO from scratch.
Sep 23, 2025