VH400 soil moisture sensor - thilo-hub/Lua-RTOS-ESP32 GitHub Wiki
Specification
What | Comments | |
---|---|---|
Identifier | VH400 | |
Interface | ADC | |
Provides | vwc | volumetric water content |
Properties | none | |
Datasheet |
Code
-- Attach sensor using internal ADC / channel 6
s1 = sensor.attach("VH400", adc.ADC1, 6)
s1:read("vwc")