How-To-Tutorials

Practical, step-by-step guides for designing, programming, and integrating hardware and software in embedded projects.

176 articles

create a flask dashboard for real time mqtt data from esp32 sensors
How-To-Tutorials
Create a Flask Dashboard for Real-Time MQTT Data from ESP32 Sensors

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

profile-interrupt-handler-execution-time-on-stm32-with-dwt-cycle-counters.png
How-To-Tutorials
Profile Interrupt Handler Execution Time on STM32 with DWT Cycle Counters

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

secure sensor data transmission implement mqtt over tls with esp32 and aws iot core
How-To-Tutorials
Secure Sensor Data Transmission: Implement MQTT over TLS with ESP32 and AWS IoT Core

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

How-To-Tutorials
Automate STM32 Firmware Builds and Flashing with GitHub Actions and OpenOCD

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

automate stm32 firmware builds with github actions and docker workflow
How-To-Tutorials
Automate STM32 Firmware Builds with GitHub Actions and Docker Workflow

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

build a nordic nrf52 ble gatt server and android app for temperature tracking
How-To-Tutorials
Build a Nordic nRF52 BLE GATT Server and Android App for Temperature Tracking

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

maximize battery life configure stm32l4 low power sleep modes with rtc
How-To-Tutorials
Maximize Battery Life: Configure STM32L4 Low-Power Sleep Modes with RTC

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

integrate canopen stack in stm32 for real time sensor data acquisition
How-To-Tutorials
Integrate CANopen Stack in STM32 for Real-Time Sensor Data Acquisition

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

how-to-implement-secure-boot-with-rsa-and-ecc-for-stm32f7-firmware-authentication.png
How-To-Tutorials
How to Implement Secure Boot with RSA and ECC for STM32F7 Firmware Authentication

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

how to implement freertos task scheduler on stm32f4 with gdb debugging
How-To-Tutorials
How to Implement FreeRTOS Task Scheduler on STM32F4 with GDB Debugging

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

visualize-cpu-load-and-stack-usage-with-freertos-tracealyzer-on-stm32f4.png
How-To-Tutorials
Visualize CPU Load and Stack Usage with FreeRTOS Tracealyzer on STM32F4

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

stream mjpeg from esp32 cam to browser via wi fi using arduino ide
How-To-Tutorials
Stream MJPEG from ESP32-CAM to Browser via Wi-Fi Using Arduino IDE

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

stm32 sd card logging with fatfs write temperature data at 1hz
How-To-Tutorials
STM32 SD Card Logging with FatFs: Write Temperature Data at 1Hz

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

set up nordic nrf52840 dk for matter over thread with raspberry pi border router
How-To-Tutorials
Set Up Nordic nRF52840 DK for Matter over Thread with Raspberry Pi Border Router

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

implement matter over thread on nordic nrf52840 dk step by step guide
How-To-Tutorials
Implement Matter over Thread on Nordic nRF52840 DK: Step-by-Step Guide

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

implement esp32 deep sleep with rtc memory for battery powered iot sensors
How-To-Tutorials
Implement ESP32 Deep Sleep with RTC Memory for Battery-Powered IoT Sensors

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

how to implement secure ota firmware updates on esp32 with arduino ide
How-To-Tutorials
How to Implement Secure OTA Firmware Updates on ESP32 with Arduino IDE

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

how to implement matter over thread on nrf52840 dk for smart home devices
How-To-Tutorials
How to Implement Matter over Thread on nRF52840 DK for Smart Home Devices

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

set up esp32 mqtt client for sensor data with lwip and pubsubclient
How-To-Tutorials
Set Up ESP32 MQTT Client for Sensor Data with LWIP and PubSubClient

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

how to implement fatfs for logging sensor data to sd card with stm32f4
How-To-Tutorials
How to Implement FatFs for Logging Sensor Data to SD Card with STM32F4

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

how to fuse mpu6050 data with kalman filter for stm32 motion tracking
How-To-Tutorials
How to Fuse MPU6050 Data with Kalman Filter for STM32 Motion Tracking

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

how-to-implement-secure-secret-storage-with-otp-and-efuse-on-esp32.png
How-To-Tutorials
How to Implement Secure Secret Storage with OTP and eFUSE on ESP32

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

how-to-implement-16-bit-rgb-pixel-rendering-on-tft-display-with-stm32-spi.png
How-To-Tutorials
How to Implement 16-Bit RGB Pixel Rendering on TFT Display with STM32 SPI

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

how-to-configure-vs-code-and-cmake-for-stm32f4-projects-with-platformio.png
How-To-Tutorials
How to Configure VS Code and CMake for STM32F4 Projects with PlatformIO

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