Ok so here are my brief setup details:
xbee coordinator communicating with xbee remote router module both in API mode. I have a YL-69 moisture sensor connected to the YL-38 meter. On the YL-38 meter I have pin "D0" connected to remote xbee pin 20 (DIO0_AD0) configured as ADC. Vcc is connected to Vcc and GND to GND.
In code I basically get the adc value of IOLine DIO_AD0 and print it out every couple seconds.
Running the program:
When I dip the moisture sensor in water the program prints "1023"
When I remove the moisture sensor from the water the program prints "90". (sometimes 89 or 92 or 93, so far).
So what do these values mean / where are they coming from?