This project shows how to use 1-Wire Soil Moisture Sensor, Especially on Arduino/ESP32 and Raspberry Pi, using ONLY ONE I/O pin. For more detail on 1-Wire Soil Moisture Sensor, please refer to link below:
1-Wire Soil Moisture Sensor with Temperature and EC (Conductivity) Measurement.
1. Brief on 1-Wire Soil Moisture SensorMT05S is 1-Wire soil moisture sensor, measuring soil moisture content, temperature and EC(Conductivity) according to the order information. It sealed with resin packaged plastic body with sensing rods which can be insert directly into the soil with long time stability. Sensor with relatively small size and can be used for pot culture and Seedling tray. The sensor is applicable for science research, irrigation, greenhouse, smart agriculture etc.
■ Integrated with Soil Moisture, temperature or with EC (Conductivity) measurement
■ 1-Wire bus interface, Operation compatible with DS18B20
■ Directly connect with MCU, Arduino, Raspberry PI or other modules by only one I/O pin, No other signal conversion board required, Software library for DS18B20 can be reused to read/write the sensor
■ ROMCODE can be set by extension function command for easily addressing
■ Power Supply 2.7-12V DC, Low Quiescent current Max. 30uA
■ Low salinity sensitivity and Minimal soil disturbance
■ Water proof to IP68 ratings and can be directly buried into soil
■ High accuracy with excellent stability
■ Reverse power protection and Built-in TVS/ESD protection
2. Connect Sensor to Arduino/ESP32/Raspberry Pi- Install OneWire support library inMenu>Tools>Manage Libaries, search OneWire library and then install.
- Download Source Code HERE and then Run Demo
Comments
Please log in or sign up to comment.