close-circle
Close
0%
0%

Sensor Array and Automated Sprinkler

With the esp8266, an array of sensor data it collected. And using MQTT, this data is stored and used to turn a sprinkler on or off.

Similar projects worth following
close
163 views
0 comments
1 followers
likes
An esp8266 collects environmental data, and using MQTT, publishes this information.

A raspberry pi acts as the MQTT broker, but also hosts a python client, and a webpage to display the data with nice graphs.

The python client subscribes to all of the topics with the environmental data and stores this data in a MySQL database.

The python client also uses the soil moisture data over the previous 12 minutes to determine if the sprinkler needs to be turned on.

To switch the sprinkler, the python code publishes a command to a switch topic, and another esp8266 reacts accordingly, turning a valve on or off, and in turn controlling the sprinkler.

As a side project, I wanted to measure the capacitance of a leaf, and possibly use this, alongside the soil moisture, to better inform the use of the sprinkler. This idea is dependent on a change in the moisture content of the leaf, creating a change in the dielectric constant and thus capacitance of a leaf based capacitor.
  • 2 × ESP-12E Potentiometers, Trimmers, Variable Resistors / Potentiometers
  • 1 × bmp280 module
  • 1 × DHT22
  • 1 × ads1115 module
  • 1 × Arduino Nano

View all 11 components

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates