Skip to content

gdubin/gardensensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garden Sensor

This repository contains the implementation details and code for a garden sensor. Depending on the enclosure you use, it could be used inside or out. The current implementation is strictly for soil moisture readings but, in the future, this will hopefully support temperature, humidity, light levels and perhaps some automated watering functionality.

The project currently leverages a Metro M4 Airlift Lite for WiFi support. The corresponding code will start a webserver on port 80 and allow you to query for sensor readings. The readings are returned in a JSON format.

Example Exchanges TBD

Hardware

Parts

Diagram

wiring diagram

Software

If you're new to Arduino development, please start here.

The following libraries are required:

  • WiFiNINA
  • ArduinoJson
  • ThingSpeak

The repository consists of two files:

File Description
gardensensor.ino This is the main source code that will need to be uploaded to your Arduino.
arduino_secrets.h This file will contain your local WiFi networks SSID and password. Any changes to this file should not be persisted back into this repository.

Acknowledgements

Credit where credit is due:

The code responsible for getting readings from the LH400 was lifted from this repository and it saved me lots of trial and error on how to interact with this particular sensor. Thank you Michael Ewald.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published