• Add bookmark
EmbeddedExpertIO
  • Home

Modbus Sensor Emulation Part 1: Introduction and setup

Posted January 6, 2026 by Husamuldeen

This guide demonstrates how to emulate a Modbus RTU sensor on an STM32 microcontroller, enabling the device to behave as a compliant Modbus slave over a serial interface such as RS-485 or UART. The objective is to provide a clear, practical...

READ MORE

STM32 UART Part 11: RS485 Reception

Posted January 3, 2026 by Husamuldeen

Part 2 focuses on receiving data over an RS-485 bus, where correct timing and bus state management are critical for reliable communication. For demonstration purposes only, the system behavior is to echo back the received data, allowing reception...

READ MORE

STM32 UART Part 10: RS485 Transmission

Posted December 31, 2025 by Husamuldeen

Part 1 introduces RS-485 as a robust, differential serial communication standard widely used in industrial and embedded systems for its noise immunity and long-distance capability.In this part, we focus on STM32 HAL configuration and the...

READ MORE

STM32 with Color LCD ST7789V2 Part 2: LCD Initialization and Draw Pixels

Posted December 27, 2025 by Husamuldeen

In this second part of the guide, we move from configuration to implementation by developing the ST7789V2 driver header and source files for STM32. We will initialize the LCD controller and implement a basic draw-pixel function, using it to...

READ MORE

STM32 Timers Applications: Complementary PWM Generation with Dead Time

Posted December 24, 2025 by Husamuldeen

This guide explains how to configure and use TIM1 on STM32F4 to generate precise PWM and complementary PWMN signals with configurable dead-time insertion. It covers the principles of dead-time generation, complementary waveform synchronization...

READ MORE

STM32 Timers Applications: Complementary PWM Generation

Posted December 20, 2025 by Husamuldeen

TIM1 is an advanced-control timer on STM32 microcontrollers designed for high-performance applications that require precise timing, complementary PWM generation, and robust safety features. This guide explains the key capabilities of TIM1 and...

READ MORE

Getting Started with STM32H7 Dual Core: How to Flash the Firmware

Posted December 17, 2025 by Husamuldeen

This guide provides a concise introduction to getting started with the dual-core STM32H747 MCU, focusing on project creation, core-specific GPIO configuration, and firmware flashing. It explains the fundamental steps required to correctly assign...

READ MORE

[Revised]STM32 UART Part 9: LIN Bus Receiving Data

Posted December 13, 2025 by Husamuldeen

In this guide, we shall see how to receive data using UART in LIN configuration. In this guide, we shall cover the following: 1. STM32CubeMX Setup: We shall pickup from the previous guide from here. Open LIN_Bus project from STM32CubeMX. Once the...

READ MORE

[Revised] Settings Up STM32CubeIDE for Bare Metal Programming

Posted December 10, 2025 by Husamuldeen

In this guide, the installation of the IDE is presented. In this guide, we shall cover the following: Note: This guide for STM32F411. However, the method will apply to most of STM32 families. 1. Installing the IDE: Head to main STM32CubeIDE...

READ MORE

[Revised]STM32 UART Part 8: LIN Bus Introduction and Sending Data

Posted December 5, 2025 by Husamuldeen

In this multiple-part guide series on LIN (Local Interconnect Network) bus for STM32F4, I will cover its fundamentals and implementation. In this guide, we shall cover the following: What is LIN Bus: Introduction to LIN Bus: LIN was...

READ MORE

STM32 ADC Application Part 10: Differential Mode

Posted December 3, 2025 by Husamuldeen

Differential mode in the STM32 ADC allows measurements based on the voltage difference between two input pins rather than a single-ended signal referenced to ground. This approach greatly improves noise immunity, increases measurement accuracy...

READ MORE

STM32 Timers Applications: Timer Cascading

Posted November 29, 2025 by Husamuldeen

Cascading two 16-bit timers on the STM32 allows you to build a fully synchronized 32-bit extended timer, overcoming the counting limitations of a single 16-bit peripheral. By configuring one timer as the master and the other as its...

READ MORE
1234…11-2021-3031-39
Categories
  • Data Structures
  • Deep Learning
  • Embedded Systems
  • LCD
  • Peripheral Drivers
  • State Machine
  • State Machines
  • STM32
  • TM4C123
  • Uncategorized

Get Our #1 Embedded Systems Bestseller on Amazon!

✅ Master Embedded Systems – Decode datasheets & build peripheral drivers from scratch.

✅ Hands-On Firmware Development – Work with GPIO, UART, SPI, I2C, ADC, DMA, and more.

✅ No More Blind Copying – Understand every line of code for real expertise.

✅ Advance Your Career – Gain confidence & independence in firmware development.

Join the EmbeddedExpertIO School

EmbeddedExpertIO School
Modern Bare-Metal Embedded C++ Programming from Ground Up™

Modern Bare-Metal Embedded C++ Programming from Ground Up™

No Libraries used, Embedded C++, ADC,UART,TIMERS, GPIO,SPI,I2C, Template Programming etc.

$69.99

Embedded Systems Bare-Metal Ethernet Programming

Embedded Systems Bare-Metal Ethernet Programming

Build Embedded Ethernet Firmware : UDP, TCP, HTTP, SSI, CGI etc

$79.99
Mastering the CAN Bus from Ground Up™

Mastering the CAN Bus from Ground Up™

Navigating the Intricacies of the Controller Area Network(CAN)

$79.78
Multicore Firmware Development from Ground Up™

Multicore Firmware Development from Ground Up™

Comprehensive Guide to Embedded Multicore Programming

$67
4G LTE IoT: Bare-Metal to HTTP, MQTT, SMS

4G LTE IoT: Bare-Metal to HTTP, MQTT, SMS

Mastering IoT from Ground Up: Build, Innovate, and Monetize with 4G LTE

$50.04
Master Firmware Updates with In-Application Programming(IAP)

Master Firmware Updates with In-Application Programming(IAP)

Keys to Implemementing Firmware Updates : IAP Host Application, Advanced Bootloader

$50.25
Recent Comments
  • Husamuldeen on Working with STM32 and Acceleration Sensor: ADXL345 in SPI mode Part 2
  • Ngo Van Duoc on Working with STM32 and Acceleration Sensor: ADXL345 in SPI mode Part 2
  • Husamuldeen on STM32 Timers Applications: Input capture Using DMA Measure Frequency and Duty Cycle
  • Karol on STM32 Timers Applications: Input capture Using DMA Measure Frequency and Duty Cycle
  • Husamuldeen on Getting Started with STM32F103: Timer in PWM Mode
Archives
Modern Embedded GUI with TouchGFX

Modern Embedded GUI with TouchGFX

Craft Next-Gen Embedded User Experiences with TouchGFX

$70.03
Advanced Audio Processing: Mastering I2S, Codecs, Audio Input, and Output

Advanced Audio Processing: Mastering I2S, Codecs, Audio Input, and Output

Develop Expert Skills in STM32-Based Audio Systems and Driver Integration

$99.78
Wireless Firmware Update: Mastering FOTA with STM32 and ESP8266

Wireless Firmware Update: Mastering FOTA with STM32 and ESP8266

Firmware Over-the-Air (FOTA) Update from Ground Up™

$129.78

 All Rights Reserved

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Learn more here
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT