Skip to content

A smart device connected to a plant, which measures the soil moisture level, the ambient temperature and humidity and based on the data collected it waters the plant to meet its needs. The data is published online and a web interface allows direct interaction with the gardening station.

License

Notifications You must be signed in to change notification settings

antoine3000/iot-gardening-station

Repository files navigation

Gardening Station

A smart device connected to a plant, which measures the soil moisture level, the ambient temperature and humidity and based on the data collected it waters the plant to meet its needs. The data is published online and a web interface allows direct interaction with the gardening station.

Hardware

Components

  • Seeed Studio XIAO ESP32C3
  • Grove Shield for Seeed Studio XIAO
  • Watering Unit with Mositure Sensor and Pump
  • AHT20 Temperature and Humidity Sensor
  • 3D-printed cap

Assembly instructions

  1. Break the XIAO ESP32 at the divider to reduce its size
  2. Attach the XIAO ESP32 to the top of the watering unit with a plastic collar
  3. Connect the antenna to the XIAO ESP32 and stick it on the side of the water unit
  4. Connect the sensor to the board with a Grove cable to pin 4 and 5
  5. Connect the water unit to the board with a Grove cable to pin 1 and 2
  6. Tape the sensor to the base of the watering unit using double-sided tape
  7. 3D print the cap and place it on the unit to cover everything

Software

Arduino

Arduino allows us to program our board so that it acts as desired. Create a new arduino project and paste the code from iot-gardening-station-arduino.ino into it. It will most likely be necessary to install the few libraries used.

Install librairies

  • WiFi.h
  • PubSubClient.h
  • Wire.h
  • AHT20.h

Node-red

An instance of Node-red allows us to connect our devices to a dashboard. The easiest way is to have Node-red installed on a Raspberry Pi. Or on another computer that can stay on. Import the code from iot-gardening-station-node-red.json into the Node-red dashboard to configure the dashboard and its connections as desired.

Nodes: http://127.0.0.1:1880/ Interface: http://127.0.0.1:1880/ui

Links and references

License

The code is under the MIT LICENSE, the assets are BY-NC-SA 4.0.

About

A smart device connected to a plant, which measures the soil moisture level, the ambient temperature and humidity and based on the data collected it waters the plant to meet its needs. The data is published online and a web interface allows direct interaction with the gardening station.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published