WateringUnit
Watering is a capacitive soil moisture detection and adjustment unit. The product integrates water pump and measuring plates for soil moisture detection and pump water control. It can be used for intelligent plant breeding scenarios and can easily achieve humidity detection and Irrigation control. The measurement electrode plate uses the capacitive design, which can effectively avoid the corrosion problem of the electrode plate in actual use compared with the resistive electrode plate.
Support the following products:
Micropython Example:
import os, sys, io
import M5
from M5 import *
import time
from unit import WateringUnit
water = WateringUnit((33,32)) # for core2
water.on()
time.sleep(1)
water.off()
print(water.get_voltage())
print(water.get_raw())
