Hi there Antonio,
I'm also interested in your INDI driver for the roll off roof, using the Modbus protocol.

I have built, in my back yard, a roll off roof observatory, consisting of 2 rooms - the observatory room and a separated warmroom next to it.
The roof is driven by a TMT Automation Gate Opener and has 6 magnetic sensors to determine the position of the roof. Additionally, the observatory also has weather sensors (rain sensor, anemometer, thermometer, barometer and humidity sensor).
All the sensors and controls for the roof driver are wired in a control box in the warmroom. The observatory has wired ethernet network connections both in the warmroom and in the observatory room, all connected to the house LAN.

Presently, the roof driver and all the sensors are connected to an Arduino Mega microcontroller. The Arduino Mega is then connected to a Raspberry Pi via the Modbus protocol, using RS485 adapters (both Arduino and Raspberry are located in the control box in the warmroom).
I have written 2 INDI drivers (roof driver and weather driver) connected to the Raspberry Pi via ethernet. The Pi runs a small TCP server providing weather data, roof position information and takes roof open/close commands from the INDI drivers.

I am planning to change the configuration of the observatory by using 2 separate microcontrollers: one for roof control and one for weather data aquisition. I would like to connect the INDI drivers directly to the 2 microcontrollers via Modbus-ethernet, which I find rock-solid, thus bypassing the Raspberry Pi.
 

Read More...