In this tutorial we will create two alarms.
A first one dedicated to irrigation, and a second one for nutrients replenishment.
We already saw in the last tutorial all the elements of this menu.
So in this tutorial will be a little bit more fast.
It's important that you pay attention to every detail, because even if you don't
have all the elements or modules that we show, for sure you can use the same functionalities for other purposes.
We start by defining an Irrigation Alarm. We name it "Water Zone 1".
We'll use as trigger the moisture sensor of SoilBot in our first grow,
we give it an ideal value of 40% humidity, with an hysteresis of 10%.
Now it's important to switch the condition from higher to lower, since we are interested in
activate the irrigation when the moisture gets below 30%.
Let's jump to the next configuration step.
We leave the option "UNTIL" so the minimum value of hysteresis triggers the irrigation.
Do not forget to activate the persistence so the second electro valve of the other grow
does not interfere with this Irrigation Alarm.
Now we click on the box "Select Device" or the next button and we select the electro valve from grow 1.
Remember that in the previous tutorials we dedicated this electro valve to the Grow 1 irrigation,
inthat way, when you activate this electro valve, the water pump will automatically turn on also.
And we have our first alarm configured.
We have now three Irrigation Alarms.
And we just created the alarm that triggers the electro valve of Grow 1
When the humidity is below 30%.
The same alarm will turn off the electro valve when a value of 50% of moisture is reached.
The first two alarms will take care of turning the water pump on and off
when the new irrigation alarm is active or inactive.
Now we should implement the same process for the second moisture sensor on Grow 2
with the respective electro valve.
Now let's create an alarm
to introduce the nutrient solution in our water tank with a peristaltic pump.
Again, we select an Irrigation Alarm, and we call it "Fertilizer".
We select the EC sensor and we give it the value of 1 milisiemens.
This value will depend on the fertilizer you are using, and the plant you are growing.
For this example we'll set an hysteresis of 0.1 milisiemens.
Again we reverse the condition simbol to lower, in this way, when the nutrient solution reaches
a value below 0.9 milisiemens the peristaltic pump will be triggered.
For this case we'll use the condition "FOR", since this option will allow us to control with precision
the amount of fertilizer we add to the solution.
The first time field is the hours/minutes/seconds that the peristaltic pump will be turned on.
Let's assign it a value of 5 seconds.
The next time field is really important.
It allows you to create a waiting time before it runs the 5 seconds again.
This gives enough time for the fertilizer, or PH regulator
to mix in the water solution and the sensor detects the new correct value.
Let's give it a waiting time of 1 minute.
Don't be afraid to use values between 1-5 minutes, since we have quimical reactions in the solution
that change the value of the PH and the EC.
Once the waiting time as passed, if the sensor still does not detect
a value inside the optimal range defined, it will turn the peristaltic pump again for another 5 seconds.
This process will repeat until your probe detects the correct value.
We advise you to use a system to mix the fertilizer to speed up the process.
You can create an additional alarm that turns on a air pump for one minute whenever the peristaltic pump is turned on.
Finally we select our peristaltic pump.
And done.
Check the next tutorial to know how to create Security Alarms.