Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

STM32 Modbus RTU Full Course (HAL + RS485) | Master & Slave Complete Tutorial

7.2K views on YouTube

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:
1️⃣ STM32 Full Course for Beginners → https://youtu.be/LIJ_G-LU_Qg
2️⃣ STM32 UART Complete Course → https://youtu.be/7cJkGWRDDWQ
3️⃣ STM32 ADC Complete Course → https://youtu.be/d0aO6HF2Eu0

🔔 Subscribe for more STM32 tutorials! 👍 Like & share to help others.

#STM32 #ModbusRTU #EmbeddedSystems #STM32HAL #RS485
________________________________________________________________________________________
******* SUPPORT US *******
🎁 Support My Work on Patreon: https://www.patreon.com/controllerstech/join
or Donate on Ko-fi: https://ko-fi.com/controllerstech

🌐 Connect:
Facebook: https://www.facebook.com/controllerstech
Telegram: https://t.me/controllerstechdiscuss
Instagram: https://www.instagram.com/controllerstech/
Visit: https://controllerstech.com