[Done] Hygrometer library for Arduino (rain drop and soil moisture)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HygrometerSensor
LICENSE.md
README.md
device.png
schematics.png

README.md

Hygrometer Sensor Library for Arduino (Rain Drop and Soil Moisture)

What is it?

This library (with examples) is designed to be integrated in projects using any kind of Hygrometer sensors like rain drop or soil moisture sensors (analog or/and digital). It retrieves analog/digital value from the sensor and gives the humidity status.

How to install

  1. Download latest release

  2. On your Arduino IDE, click "Sketch" menu and then "Include Library > Add .ZIP Libraries"

  3. You can now use the library for your project or launch an example ("File > Examples")

How to connect Rain drop sensor or soil moisture sensor to your Arduino

Most hygrometer sensors have an analog and/or a digital output.

All rain drop sensors behave the same way:

Raindrop Sensor Arduino
VCC 5V
GND GND
A0 A1 (or any other analog pin)
D0 D2 (or any other digital pin)

(Source image)

Examples

Two examples are provided with this library:

Read digital value from sensor

Link to source code

Read analog value from sensor

Link to source code

License

This project is under MIT license. This means you can use it as you want (just don't delete the library header).

Contribute

If you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.