Skip to content

Soil Humidity

Mark Sherstan edited this page Dec 25, 2019 · 3 revisions

Soil Humidity Classifier

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.

Usage

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.

Specs and Data Sheets

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

Case

The top of the case was modified from this model on Thingiverse. CAD files can be found in the /resources/case directory.

Wiring schematic

Photo

Home

MATLAB Functions

Mint Automation

Misc Arduino Sensors

openCV

PoGo

PWM

Python Sleep

Serial Port

Soil Humidity

Stocks

Clone this wiki locally