i just tested my seeed grove moisture sensor with success, and a few notes:
need to convert from the sensor document values (0 - 950) to the espruino analogRead range (0-1)
different values depending on battery power vs usb. not sure how much the values will change over the life of the battery. sensor in water from the battery was .47, and from usb was .55
in order to use the sensor from the grove shield, i had to put a jumper from the 3.3v to 5v pins, as the shield uses the 5v pin for power. the sensor works with 3.3v - 5v range, so this was acceptable
when i replace my full code i'll post in another thread
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
i just tested my seeed grove moisture sensor with success, and a few notes:
when i replace my full code i'll post in another thread