Reading MODBUS RTU slave device Registers via RS485 and Atmega32

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello all

i want read a register from many slave in rs485 bus that are in Modbus rtu protocol

and i want do it with atmega32

can any one help me????

my slaves are ascon m5 thermostat 

thanks

please help me

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

BASCOM has a master Modbus project.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

but i work with atmel studio

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There's Arduino modbus master/slave library at https://code.google.com/p/simple.... It  should work on any microcontroller and compiler provided that you support the library with your own hardware serial library, as they say.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is a good Modbus library at http://www.freemodbus.org/. Its advantage is that it may be used with many different processors.