First of all, I've been googling all around to find a good solution but it either requires lots of electronics knowledge (which I don't have) or other hardware.
Now, my question is how to connect moisture sensor (that operates on 5V) to A0 on NodeMCU with Arduino core (which is suitable for input ranging 0-1V)?
I've been looking into this ADC but can't seem to grasp how that would work or if it even would. To me, this seems like a good idea because digital pins operate on 3.3V.
Also I've read that moisture sensor like this requires high impedance and therefore its source needs to be from Arduino. Because of this, I wonder is it even possible to power this sensor from a universal power supply AC-DC adapter for it to work properly for a long time? I've tried this and it gives me max 3.7V out when sensor is fully covered in water.
As you can see, my electronics knowledge is seriously lacking so some tips where to start would be nice. Also, can you please give me some advice on how to connect it or tell me what I'm not understanding properly?