Giter Site home page Giter Site logo

cody-barker / soil-moisture-sensors Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 0.0 248 KB

A template for posting soil moisture readings, temp, and humidity to an InfluxDB database, so the readings can be graphed on Grafana, using an ESP32 microcontroller, capacitive moisture sensors, and DHT22 sensor.

C++ 100.00%
arduino cultivation houseplants sensors soil-moisture-sensor

soil-moisture-sensors's Introduction

Soil Moisture, Temp and Humidity Sensors

Send soil moisture, temp, and humidity readings to an InfluxDB database, so that you can visualize them with your own Grafana dashboard.

The inspiration and initial InfuxDB/WiFi configuration code is adapted from Michael Klements. I introduced the ability to handle a variable number of moisture sensors, made use of the ESP32's deep sleep feature to conserve power, added a sensor calibration file, along with numerous comments to assist users.

grafana-dashboard-preview

Check out this video from Michael Klements for help setting up the InfluxDB database, and configuring the Grafana dashboard.

The ino files are written in C++/arduino.

Calibrating Sensors

Use calibrate_sensors.ino to determine the DryValue and WetValue for your sensors. I have provided my default values in sensors.ino, but you should use calibrate_sensors.ino to test your own.

To determine your WetValue, submerge the sensor up to the exposed electronic components. You may choose to cover the exposed components in silicon to protect them from moisture.

To determine your DryValue, wipe the sensor with a dry towel to ensure it is as dry as possible.

Use these values when setting up sensors.ino.

Libraries

Use the Arduino IDE Library Manager to install all of the libraries listed in sensors.ino.

Hardware

- ESP32 WROOOM Development Board
- High-quality capacitive soil moisture sensors
- A DHT22 Digital Temp and Humidity Sensor
- a breadboard
- Jumper wires
-Micro USB cable and wall charger or rechargable battery pack

For Contributors

If you'd like to contribute to this project, email me at [email protected]

Project Status

Unlicensed

Authors

-Cody Barker
-Credit due to Michael Klements for much of the initial DB/WiFi configuration

soil-moisture-sensors's People

Contributors

cody-barker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.