Will the software support via E2C an MCP23017 to increase the number of available GPIO pins for actuator valve controls? My project requires 22 valves controlled from one controller.
This is a bummer, and definitely a big huge call to add the feature to the SW. At least to add the Adafruit expansion board, because its dirt cheap and very versatile. https://www.adafruit.com/product/1551
I am thinking, I want to switch solid state relays, SSRs or even regular relays, so I build a separate box with the SSRs in it, connect each SSR to a little one wire expansion board. For example I have 50 SSRs or relays, than I would need 25 2-Channel Adafruit expansion boards. Next step connect the 25 input lines and the Supply lines of the adafruit board together. At the end I have to run exactly 3 wires from the pi to the Relay box, (the 5V supply line pos/neg and the data line) to control the 50 relays. What a need setup, and I have 220 Volts needly seperated from the Raspberry Pi and the sensors. I love it.
One Wire can run up to 100 Meters, what means, I can stetup my sensitive Raspberry Pi seperate from the greenhouse. To the greenhouse I have to run the data and 220 Volt Power supply. Thats it. The switching is done at the green house, the computing is done at a dryer more secure place. And I do not have sensitive electronics like esp32 or ESP8266 in te grow room. I admire you for the MQTT implementation, don't get me wrong, but it brings all kind of sensetive electronics and future problems into the grow room. That actually defies the purpose. Please forgive me my opinion. I want to grow tomatoes, not learn Note Red and MQTT. What made Hydrosys so attractive to me was the "concept of setup". And the One wire bus fits right into this concept: hook it up, do the hardware settings on the hardware page. Done.
Good question, I don,t know, but why not? Its a high low signal. I did get 2 of the one wire expansion boards from adafruit, yesterday. But did not get to try them yet. They should work without problems. When you hook them up to the one wire buss, (if this is the first One wire divice add the resistor to the bus), than under hardware settings you should get 2 new addresses. Each address stands for one of the new gpio,s. Select the appropriate controller cmd depending on your signal. That should do it. I assume with the relay board it will be the same. You get 8 addresses, for each relay one. The One Wire is kind of a newer development of the I2c Bus. It has a better reliability and can transport the signal further distances than the I2c can. One thing I found out a couple of days ago, when you make any changes to the one wire settings in hardware settings, all one wire devices stop to work until you reboot the PI.
Hi, on ebay you can buy 2 channel one wire to gpio bidirectional expansion boards for 5 Euro a pop. Also there is a 8 relay one wire relay board for 50 euros. You can add up to 100 single gpio/relays to the one wire bus on the pi.
Unfortunately SW does not support it
Will the software support these 8 channel relay boards?
Hi, on ebay you can buy 2 channel one wire to gpio bidirectional expansion boards for 5 Euro a pop. Also there is a 8 relay one wire relay board for 50 euros. You can add up to 100 single gpio/relays to the one wire bus on the pi.
Seems this can be useful in some cases. I'll study the implementation