Repository navigation
Soil Humidity
Program and hardware setup for determining the soil humidity levels in various house hold plants. Also used as a project to test the basic functionality of PlatformIO instead of the Arduino IDE.
Build and upload with PlatformIO or copy and paste \src\main.cpp excluding the #include <Arduino.h> header into Arduino IDE and compile as normal. Hardware setup can be viewed at the bottom of this page.
The 7 segment display values correspond to the relative humidity. For example 1 indicates 0-10% relative humidity, 2 indicates 10-20% relative humidity, etc... For greater than 90% relative humidity the decimal point will flash.
Sensor purchased from Banggood with the following information:
- Supply voltage: 3.3V or 5V
- Operating current: less than 20mA
- Output voltage: 0-2.3V (2.3V is completely immersed in water)
- Sensor type: Analog Output
The top of the case was modified from this model on Thingiverse. CAD files can be found in the /resources/case directory.