Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modbus Plugin
#5
Thanks for your great input. I was quickly reading through your sample Arduino codes. They look very advanced :-) I think you did very similar things that I am planning to do.

Up to now I used the Raspberry controlling a 4 channel SainSmart Relay directly (via transistors) through GPIO pins and a simple time based shell script. But as I need to increase the number of valves and want to include sensors, GPIO does not scale as I need too many cables and the garden is big. I was looking for a robust 2 wire bus. While for a short time thinking about 1-wire, I finally ended up with RS485 and modbus. The last weeks I spent sorting out the proper library for both the Arduino and Raspberry. There are many different ones. But I like the minimal approach of MinimalModbus and SimpleModbusSlave.

I am actually just starting playing around with SIP. I am planning to use the current GIT version of the python port: https://github.com/Dan-in-CA/SIP

I am using SainSmart relays to control the valves. As I read they can be connected directly to the Arduino (200mA).

The signaling capability to the plugin sounds interesting. Is the number of valves limited by the number of GPIO pins by default? But I guess as a starting point that should be fine.
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: 1 Guest(s)