STM32 Modbus RTU Full Course (HAL + RS485) | Master & Slave Complete Tutorial
May 6, 2026
Build a complete Modbus RTU communication system using STM32 and HAL in this full course.
In this 1 hour 45 minute tutorial, you’ll learn how to implement both Modbus Master and Slave using RS485, starting from basic UART communication to handling all major function codes like reading/writing registers and coils.
00:00 Introduction & RS485 Interface with STM32
11:37 Modbus Master: Read Holding & Input Registers
33:48 Modbus Master: Read Coils & Inputs
44:37 Modbus Master: Write Coils & Holding Registers
57:48 Modbus Slave: Read Holding & Input Registers
1:15:38 Modbus Slave: Read Coils & Inputs
1:26:16 Modbus Slave: Write Holding Registers
1:34:13 Modbus Slave: Write Coils
📁 Download project files & article:
📁 STM32 Modbus RTU Tutorials ☞ https://controllerstech.com/stm32-hal/modbus/rtu-tutorials/
📁 ControllersTech Home ☞ https://controllerstech.com/
▶︎ STM32 Modbus RTU Playlist: https://www.youtube.com/playlist?list=PLfIJKC1ud8ggRvaEsMjSEDazoBAnY4MUv
▶︎ Related Videos:
Show More Show Less #Science

