A simple sketch to check what the values are that are recorded on the analog pins of one or more FC-28 Hygrometer(s), it might work with any other sensor that delivers analog output as well. In respect to the Hygrometer you might record the values it gives when dry and when soaked/wet. Then you can use those to calculate the trigger values for your own sketch. These units tend to corrode which does affect the values produced so this sketch can be used to recalculate them.
//Sketch to test for analog hygrometer values with FC28 Hygrometer
//for one or more FC28 units. Output is visible through serial monitor.
//This code is free to use.
//Author : Eugene Dullaard
//https://eugene.dullaard.nl/?p=690
//Setting variables
int analogStartPin = 0; //Analog Start Pin, usually 0 for A0.
int units = 3; //Amount of FC28 units to test,
//these units need to be connected on
//the analog ports following StartPin.
//temp variables
int x;
int y;
void setup (){
Serial.begin(9600);
Serial.println("Soil moisture sensor input");
}
void loop ()
{
Serial.println();
for (x = analogStartPin; x < analogStartPin + units; x++) {
y=analogRead(x);
Serial.print("Analog "); Serial.print(x); Serial.print(":");
Serial.println(y);
}
delay (1000);
}


brands and a the occasional search engine optimizer. The remainder I looked so every now end then if I add a post or do an update. Before implementing OTP (One time password) there was a simple captcha on the site which presented a simple math problem for you to solve and I’ve been using reCaptcha from Google for a long time on the homepage to obscure e-mail addresses so they do not get harvested for e-mail spam etc, there is a post about it from a couple of years ago. So, I went to have a look if there is a plugin available that uses reCaptcha on WordPress and found more than one. You have to register with Google to get a unique key for your domain and then enter that in the plugin and you are good to go. Unlike the previous captcha this one so far stopped more spam thus far and you can see it when you want to leave a comment or have a look at the ‘Contact Us’ page. You probably will need to keep a few keywords to deal with the few that still get in.