Hey everyone, I'm setting up a backyard vegetables garden and I would like to be automated.
About me
While I know various programming languages, my electronic skills suck - just to know what can you expect from me.
The project
I have a Genuino MKR1000 and I would like to use it as follows:
Attach a soil humidity sensor to it. Once an hour will read the soil humidity. If the humidity goes below a certain threshold, it will open the solenoid valve from a water container, basically starting the irrigation.
Now and then I will check visually (with an IP camera) the water level in the container and if the water reaches a certain level, I will click on an app to start the water pump and fill the container.
The problems
The solenoid valve should be powered with 24V and 0.34A.
I don't know how to control this with the help of MKR1000.
Second, I need to control the water pump, which is connected to a regular 220V outlet. I don't know how to do this with the help of MKR1000.
My ideas
The solenoid valve doesn't have power supply, except for the wires, so I'd buy a power supply.
I wonder if is possible to use a solid state relay to start/stop the solenoid valve.
I've seen that there are solid state relays with two entries - for two devices.
Is this feasible? This is the solid state relay I found appropriate.
The technical details are on the bottom of that page, in English.
So, the question is: am I heading in the right direction?
If not, what should I do?
george_i:
I've seen that there are solid state relays with two entries - for two devices.
Is this feasible? This is the solid state relay I found appropriate.
The technical details are on the bottom of that page, in English.
Most solid state relays are for AC (they don't turn off with DC).
And did you see the minimum operating voltage (75volt AC) of that module?
Just use a logic level mosfet to switch that solenoid (assuming a 24volt DC supply).
Use one that is specified tor 3.3volt logic.
Use the first diagram on this page.
Leo..