Today in the modbus series we will see how to use the STM32 as the master, which will Force a single coil and Preset a Holding Register.
STM32 Projects & Tutorials
STM32 microcontrollers are widely used in embedded and industrial systems. This section offers practical tutorials and tested code for STM32F103, STM32F4, and Nucleo boards. Programming is done using STM32CubeIDE with both HAL and LL drivers. Topics include GPIO, UART, ADC, timers, and other core functions—ideal for learners and developers working on real hardware.
Modbus #2. STM32 Master Reads Coils and inputs
This is second tutorial in the Modbus series and today we will see how to use the STM32 as the master to read the coils and Discrete inputs.
Modbus #1. STM32 Master Reads Holding and Input Registers
How to use the STM32 as the master requesting the data from the holding registers and input registers from the slave device..
Modbus has become a standard communications protocol in industries, and is now the most commonly available means of connecting…
RS485 Communication with STM32 using MAX485 Module | Controllerstech
Learn how to interface the RS485 module (MAX485) with STM32 using UART. This tutorial covers UART communication, DE/RE pin control, and sending data between STM32 boards with clear code examples.
FDCAN in Normal Mode || STM32H7
This tutorial will cover how to implement the FDDCAN in Normal mode. I am going to use STM32H7 microcontroller..
This tutorial will cover how to configure the FDCAN peripheral in the loopback mode. We will also see how to configure the timings…
STM32 Ethernet #12 HTTP Server using AJAX PART2
In this tutorial, we will see how to reload a specific part of the webpage with AJAX using the XMLHTTPRequest..
STM32 Ethernet #11 HTTP Server using AJAX PART1
In this tutorial, we will see how to use the webserver with AJAX making the XMLHTTPRequest, and understanding it’s functions..