Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modbus Plugin
#3
Yes, I am using minimalmodbus at the Raspi and SimpleModbusSlave at the Arduino.
The plugin actually only need to use the function calls instrument.write_register() instead of setting the GPIO pins.
For reading input values like the moisture sensor, it would need to use the function call instrument.read_register().

To be honest, I am not sure where to start. My python knowledge is more at beginners level. There are a lot of function calls in the OpenSprincler code at which the GPIO is referred.

My goal would be to use the minimalmodbus python functions instead of GPIO pins to enable/disable the valves.
In addition I also would like to add moisture sensors via minimalmodbus, but I guess up to now only rain sensors are supported so it would need a second plugin I guess, right?
Reply


Messages In This Thread
Modbus Plugin - by cyberthom - 2017 Mar 07, 03:54 PM
RE: Modbus Plugin - by dan - 2017 Mar 07, 10:54 PM
RE: Modbus Plugin - by cyberthom - 2017 Mar 08, 10:30 AM
RE: Modbus Plugin - by dan - 2017 Mar 08, 04:41 PM
RE: Modbus Plugin - by cyberthom - 2017 Mar 09, 07:11 PM
RE: Modbus Plugin - by dan - 2017 Mar 10, 03:00 AM
RE: Modbus Plugin - by cyberthom - 2017 Mar 23, 09:50 PM
RE: Modbus Plugin - by dan - 2017 Mar 24, 04:38 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)