Plant Project: verschil tussen versies

4 bytes verwijderd ,  26 feb 2019
geen bewerkingssamenvatting
kGeen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 9: Regel 9:
In the current form, the implementation of the software is as follows:
In the current form, the implementation of the software is as follows:
Checking whether the soil is dry every 1 s
Checking whether the soil is dry every 1 s
If the soil is dry, switch on the pump for a fixed time (now about 12sl, indication by different led blinking.
If the soil is dry, switch on the pump for a fixed time (now ~12 s, indication by different led blinking). After the pump is switched off, wait for ~10 s before checking again whether the soil is dry, and in that period, keep the LED blinking but with a different pattern (3 s on, 200 ms off) to indicate “sleep mode”.  
After the pump is switched off, wait for ~10 s before checking again whether the soil is dry, and in that period, keep the LED blinking but with a different pattern (3 s on, 200 ms off) to indicate “sleep mode”.  
The timing is not optimised at the moment, just some prototype idea that needs to be tested and adjusted to fit the reality.
The timing is not optimised at the moment, just some prototype idea that needs to be tested and adjusted to fit the reality.


5

bewerkingen