How-To-Tutorials

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

176 articles

automate-stm32-firmware-testing-and-flashing-with-github-actions.png
How-To-Tutorials
Automate STM32 Firmware Testing and Flashing with GitHub Actions

Introduction Automating the process of unit testing and flashing firmware for STM32 microcontrollers can significantly streamline your development workflow....

Sep 5, 2025

how-to-implement-a-zephyr-wi-fi-logging-subsystem-with-json-and-mqtt.png
How-To-Tutorials
How to Implement a Zephyr Wi-Fi Logging Subsystem with JSON and MQTT

Build a Wi-Fi logging subsystem on Zephyr RTOS v3.7+ that formats sensor data as JSON and publishes it over MQTT. Covers project setup, Wi-Fi connection, MQTT client configuration, and JSON payloads.

Sep 4, 2025

customize-u-boot-environment-variables-for-automated-linux-kernel-boot.png
How-To-Tutorials
Customize U-Boot Environment Variables for Automated Linux Kernel Boot

Customizing U-Boot Environment Variables for Automated Linux Kernel Boot with Device Tree Configuration Customizing U-Boot environment variables is essential...

Sep 4, 2025

how-to-scan-i2c-bus-and-retrieve-mpu6050-data-with-stm32-hal-library.png
How-To-Tutorials
How to Scan I2C Bus and Retrieve MPU6050 Data with STM32 HAL Library

Scan the I2C bus on STM32 to detect connected devices, then read accelerometer data from the MPU6050 using the HAL library. Covers wiring, address gotchas, sensor initialization, and practical debugging tips.

Sep 4, 2025

how-to-implement-secure-key-storage-with-efuse-on-nxp-lpc55s69-for-iot.png
How-To-Tutorials
How to Implement Secure Key Storage with eFUSE on NXP LPC55S69 for IoT

Use the NXP LPC55S69's one-time programmable eFUSE memory to store cryptographic keys for IoT device authentication. Covers key generation, eFUSE programming with blhost, runtime retrieval, and hardware-accelerated signing.

Sep 4, 2025

automate-x-509-certificate-generation-for-mqtt-iot-devices-with-openssl.png
How-To-Tutorials
Automate X.509 Certificate Generation for MQTT IoT Devices with OpenSSL

Introduction In the world of IoT, secure communication between devices is paramount. X.509 certificates provide a robust mechanism for ensuring that MQTT...

Sep 4, 2025

implement-micro-ros-publisher-subscriber-on-stm32f4-with-freertos.png
How-To-Tutorials
Implement Micro-ROS Publisher/Subscriber on STM32F4 with FreeRTOS

Introduction In this tutorial, we will implement a micro-ROS publisher/subscriber system on an STM32F4 microcontroller using FreeRTOS. This setup will enable...

Sep 4, 2025

how to implement secure boot and image signing on nrf52840 with mcuboot
How-To-Tutorials
How to Implement Secure Boot and Image Signing on nRF52840 with MCUboot

Set up MCUboot on the nRF52840 to verify firmware signatures at every boot. Covers key generation, image signing with imgtool, flash partitioning, and testing secure boot using the nRF Connect SDK and Zephyr RTOS v3.7+.

Sep 4, 2025

set-up-cmake-with-vs-code-for-stm32cubemx-arm-cortex-m-development.png
How-To-Tutorials
Set Up CMake with VS Code for STM32CubeMX ARM Cortex-M Development

Introduction In this tutorial, we will guide you through the process of setting up CMake with Visual Studio Code (VS Code) for ARM Cortex-M development using...

Sep 4, 2025

how to customize u boot scripts for dual booting linux and freertos on stm32f7
How-To-Tutorials
How to Customize U-Boot Scripts for Dual Booting Linux and FreeRTOS on STM32F7

Running both Linux and FreeRTOS on an STM32F7 lets you combine rich OS features with hard real-time performance. This guide covers customizing U-Boot environment variables and boot scripts to select between the two operating systems at boot time.

Sep 4, 2025

implement-mahony-filter-for-real-time-9-dof-imu-fusion-on-stm32f4.png
How-To-Tutorials
Implement Mahony Filter for Real-Time 9-DoF IMU Fusion on STM32F4

Implementing Mahony Filter for Real-time 9-DoF IMU Sensor Fusion on STM32F4 Microcontroller The Mahony filter is an efficient algorithm for sensor fusion,...

Sep 4, 2025

implement-crc32-error-checking-in-rs-485-communication-with-stm32-hal.png
How-To-Tutorials
Implement CRC32 Error Checking in RS-485 Communication with STM32 HAL

Implementing CRC32 for Error Checking in RS-485 Communication at 9600bps Using STM32 HAL Library In this tutorial, we will implement CRC32 error checking for...

Sep 4, 2025

implement-secure-boot-and-image-signing-on-nrf52840-with-mcuboot-and-zephyr.png
How-To-Tutorials
Implement Secure Boot and Image Signing on nRF52840 with MCUboot and Zephyr

Implementing Secure Boot and Image Signing in a Nordic nRF52840 Using MCUboot with Zephyr RTOS This tutorial provides a step-by-step guide on how to implement...

Sep 4, 2025

Implementing an MqTT Client on ESP32 With Wolf SSL
How-To-Tutorials
How to Implement an MQTT Client on ESP32 with wolfSSL for Secure IoT TLS

The ESP32 has mbedTLS built in, but wolfSSL offers TLS 1.3 support and a smaller footprint. Here's how to set up a secure MQTT client using wolfSSL on ESP32.

Sep 4, 2025

how to use stm32 tim1 pwm with dma for led fading and motor control
How-To-Tutorials
How to Use STM32 TIM1 PWM with DMA for LED Fading and Motor Control

PWM alone sets a static duty cycle, but DMA lets you stream an entire buffer of values to the timer automatically—zero CPU overhead. Here’s how to set up TIM1 with DMA on STM32F4 for smooth LED fading and responsive motor control.

Sep 4, 2025

how to implement secure ota firmware updates on esp32 with https
How-To-Tutorials
How to Implement Secure OTA Firmware Updates on ESP32 with HTTPS

Set up secure HTTPS-based OTA firmware updates on the ESP32 using ESP-IDF v5.3+, with custom partition tables, TLS certificate pinning, and automatic rollback protection to keep your IoT devices safely updatable in the field.

Sep 4, 2025

how to configure openocd for stm32f4 swd debugging with st link
How-To-Tutorials
How to Configure OpenOCD for STM32F4 SWD Debugging with ST-Link

Configure OpenOCD for SWD debugging on STM32F4 with ST-Link. Covers wiring, config files, GPIO-based target reset management, and connecting from GDB or your IDE.

Sep 4, 2025

configure stm32 spi dma for ili9341 tft display with 16 bit color depth
How-To-Tutorials
Configure STM32 SPI DMA for ILI9341 TFT Display with 16-bit Color Depth

Introduction The STM32 microcontroller, when paired with a DMA (Direct Memory Access) controller, can efficiently handle SPI communication for driving TFT...

Sep 4, 2025

seamless firmware updates implement stm32 bootloader via usb dfu
How-To-Tutorials
Seamless Firmware Updates: Implement STM32 Bootloader via USB DFU

Implementing STM32 Bootloader via USB DFU with Application Jump This tutorial will guide you through the process of implementing a bootloader on STM32...

Sep 4, 2025

customize u boot environment variables for dual booting on raspberry pi 4
How-To-Tutorials
Customize U-Boot Environment Variables for Dual Booting on Raspberry Pi 4

Customizing U-Boot Environment Variables for Dual Booting Linux and Bare Metal on Raspberry Pi 4 In this tutorial, we will guide you through the process of...

Sep 4, 2025

building strong business relationships as a startup employee a guide to success
How-To-Tutorials
Building Strong Business Relationships as a Startup Employee: A Guide to Success

When you join a startup, especially in the fast-paced world of embedded systems and IoT, you step into a realm where every connection counts. Business...

Aug 26, 2025

LLM on Jetson Orin Nano
How-To-Tutorials
How to Run Ollama LLM on NVIDIA Jetson Orin Nano in 5 Minutes

Get a local LLM running on your Jetson Orin Nano in minutes using Ollama. Covers flashing JetPack, native and Docker installs, and running Llama 3.2:1b with GPU acceleration.

Aug 24, 2025

the leetcode roadmap to landing an embedded engineering job at a top company
How-To-Tutorials
The LeetCode Roadmap To Landing An Embedded Engineering Job At A Top Company

If you want to build robots, smart sensors, or automotive ECUs at the best teams in the world, you still have to speak the language of interviews. That...

Aug 22, 2025

AI with Embedded Systems
How-To-Tutorials
Bringing AI to the Edge: How to Use AI with Embedded Systems

There was a time when “AI” meant racks of GPUs humming away in a data center. Today, that assumption is outdated. The future of AI isn’t just in the cloud,...

Aug 21, 2025