You are reading a single comment by @furuskog and its replies. Click here to read the full conversation.
  • Well in this case @furuskog probably owns some kind of clone of this moisture sensor, it should work fine with a simple analogRead(PIN). If not working, possible issues could be

    1. the sensor is not correctly wired up
    2. the PIN is not the one which is connected to the sensor
    3. the soil humidity is way too low and the sensor is continuously reading the minimal value
    4. the transistor on the moisture sensor is dead
  • Well, can you try to call analogRead(A0) with the sensor unplugged? The pin should pick-up random values and you'll be able to see them change in the console


Avatar for furuskog @furuskog started