Today is...
Sunday, August 18, 2019
Welcome to Control.com, the global online
community of automation professionals.
Featured Video...
Featured Video
A demonstration of EtherCAT control of linear motors using the CTC EtherCAT master.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
Implementation of Modbus RTU Protocol in AVR
Implementing Modbus RTU protocol in atmega32
By Rudrendu Mahindar on 8 April, 2019 - 9:50 am
1 out of 1 members thought this post was helpful...

I want to know how to implement Modbus RTU protocol in atmega32. I will be grateful if someone can share any reference to a sample code in Atmel studio used for AVR.

Hi,

I'm looking for the same thing. Please, if you found any reference or code, don't hesitate to share that with me. I'll be grateful.

By anonymous on 8 June, 2019 - 10:57 pm

Hi,

Try these two sample below :

https://github.com/kopytkoProg/avr-mega328-modbus/blob/master/modbus/rtu/mbrtu.c

https://github.com/t0mw/Modbus_RTU_lib

Hope this help
Aan