mkoterski / koteshi-san

Koteshi-san is a collection of tools that I found helpful in building my automatic plant watering system using a raspberry pi 4 which I had lying around.
GNU General Public License v3.0
1 stars 0 forks source link

Convert analog signals from soil moisture sensor to digital ones #1

Open mkoterski opened 3 years ago

mkoterski commented 3 years ago

Currently the soil moisture levels cannot be read as the sensors provide analog signals while the Raspberry Pi itself can only read digital ones yet.

mkoterski commented 3 years ago

Used a YL26 sensor with an analog to digital converter. However this limits the functionality tremendously as currently we could only work with two states. "Wet" and "Dry" depending on a threshold which can be modified by a screw on the converter.

image

New solution with better AD conversion necessary. MCP3008 might be the way to go. However, this will require a LOT of GPIO pins per soil moisture sensor, limited the number of total plants to be monitored significantly.

To be continued...