SEN0114 sensor equivalent, moisture sensor.
# 0 ~300
dry soil
# 300~700
humid soil
# 700~950
in water
*/
void setup(){
Serial.begin(57600);
}
void loop(){
Serial.print("Moisture Sensor Value: ");
Serial.println(analogRead(A0));
delay(100);
}
Open the Arduino Serial Monitor, and c.
Image gallery
TAGS