Allright, so it's being about 5 months since I got the parts and I was finally able to put it together this past weekend. If I continue this way I might die before I can complete some other project in life
Anyway, I am using the code provided by ShVerni which really helped to put this together.
A couple of issues I am experiencing so far already:
1.- The pump waters the plants in a matter for 2 seconds, it has tons of flow that I may need to either regulate its flow by installing some sort of nozzle to the hose for every plant, so it restricts the flow of water or turn on the pump for 1/2 second and then wait a minute for the water to settle down and the do a measure, if still dry, the water more and so on, at this point I don't know what's best.
2.- The Sparkfun Soil Moisture Sensor SEN-13322 (https://www.sparkfun...roducts/13322) that I am using reads about 379 to 387 when the soil is really humid, probably more that I wanted for these plants. It also reads between 372 and 378 when the soil is just a little humid. Additionally, if I removed the sensor from the soil, the reading is between 7 and 9, so with these 3 samples, it is hard for me to put in the code when to water or not, any clues what could be wrong?
I am using this pump from SparkFun: