Hi Angelo,
Appologies for the earlier off-topic post.
I'm using spare parts to set up a system. RPi Zero W, 4 channel 5V Relay with opto isolators.
Picture below of hook up. I've edited Pin assignment in HardwareSetting table (pic below) for both GPIO # and board pin #, eg GPIO4 = Pin16. 5V power Pin2 and GND Pin4.
POST EDIT: The Pinout Chart below is INCORRECT. If you happen to stumble on this post looking for a pinout solution for your RPi, this one is not the droid you're looking for! (I'm leaving it here rather than delete the image so that people can see what they should NOT be going by.)
Attempting to operate IN1 with GPIO4/Pin16 without success. Recommendations appreciated. The screenshot above says Pin4, I've tried with both 4 and 16 in the field.
TIA
I've been doing a bit of research and it seems that there are some dev components missing in the debian and armbian images for opi, that are obviously included in raspbian.I'll have a look at it when I get some time, but right now the priority is to get the watering system working.
Will.
I also was thinking about MQTT to implement a couple of integration, like sensors and actuators.
I'll open a new post about it, Your comments will be wellcome
I thought that the OrangePI was compatible with Raspbian, if not, things get a lot more complicate.
Raspbian should be a branch of debian, but for sure there are a lot of differences.
I see a lot of work ahead, anywya I think the best way to proceed is to segment the Hydrosys4 install file and control for each step what was is the problem and try to address it.
For example Pillow is a program to manipulate images, it is strange that it is not installed properly.
Great!
if you succeed with the orangepi zero, let us know!
Small thing, the raspberry zero has two versions one without wifi and one with wifi which is called Zero W, be sure to choose the one with WiFi.
Cheers,
Angelo
Thanks for the feedback, very helpful. I'm going to try the zero (I have one on order) and then attempt to get the pinouts working on the orangepi zero, which is a similar spec but also has ethernet.
Regards,
Will.
I have two systems running in my house, one for the greenhouse using the Raspberry pi3 and one for irrigation only using the Raspberry pi Zero W.
In terms of user interaction, there is no noticeable difference between the two, both can load the web interface fast enough (latest SW release is more efficient on this point). Form functionalities, they have exactly the same GPIO Pins, so they can do the same stuff.
I can see three main point of difference:
1) The WiFi of the Zero seems a little weaker than the WiFi of the RPI3 (so it can't be too far from the router). Have to say that also the WiFi of the RPI3 is quite weak, but the RPI3 has the ethernet port.
2) RPI Zero consume less power, so it is more efficient on this aspect.
3) RPI3 has 4 cores, it can easily handle multiple interrupts. I mean the sensors which works on "fast" interrupt like the Flow sensor or wind sensors, which I have in the greenhouse. Slow interrupts as the user buttons or rain sensor can be managed by both.
Bottom line, If you do not make fancy things with your system, better to go with RPI Zero W, it is more efficient.
As you may understand I don't like to waste resources. But I bet that most of the recently made installation of my system are running on RPI4 ...
I invite also other people who have the system running on the RPI Zero to share their view.
How is hydrosys running on the pi zero? any limitations, is it powerful enough, does it have the same number of i/o? I'd be interested to try it myself,
Will.
OK, that did it! All 4 relays responsive now. Funny how having the correct pin-out makes a difference!
Thank you for your help.
What the hell! Working atm, will rewire and report back when I have some time. TIA. Rand
Hi There,
That's weird, but the pinout you posted is wrong!
The GPIO pinout of the raspberry Zero is same as the other raspberry types, below a couple of example: PIN position 16 is equivalent to GPIO23, so 23 this is the number you have to put on the "HardwareSetting" to make it work.
Anyway now that we know the issue, I strongly suggest to SW default PIN configuration.
I'd be interested to find out how to do this as well, I have an orangepi zero that could probably do the job, having a pi4 running this currently is overkill I think, then I could repurpose the pi4.
Edit: using 5V pwr pin 2, GND pin 6.