Skip to content

In this repository I will walk you through creation of an automated irrigation system on the farm, using an ESP8266 MCU. The system also integrates a ML model to help you adequately plan the growing calender.

Notifications You must be signed in to change notification settings

mbuguadouglas/Automated-Irrigation-System-Using-an-MCU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated irrigation project 🌿

In this project I will guide you through building an automated home irrigation system. For successful completion of the project on your own, you would need the following components and tools:

  • MCU - I reccomend an ESP8266 microcontroller as it is needed to communicate over wifi, but you can use an Arduino Uno for basic prototyping
  • Soil Moisture sensor - a capacitive soil moisture sensor is advisable as its probes do not corrode overtime. However, I used a resisitive soil moisture sensor as it was readily available.
  • Temperature sensor - I used a DHT11 temperature sensor, that is also able to measure humidity. In this case however, I used it only for the former function.
  • 12V submersible Pump - A 9V/5V pump would still do the same fnction effectively
  • Relay - to be able to controll the submersible pump using my MCU and avoid burning it out, i needed a relay that would act as the switch.
  • Basic programming skills - allow you to program the MCU in simplified C++ and also build the interface using flask, a python framework.

Here i list down all the code that I employ to run my system. it has been categorised into the following sections:

  1. Code to read temperature on DHT11 here
  2. Code to read soil moisture sensor readings here
  3. Code for the relay module here
  4. Finalized Arduino Code, with the Firebase database logic include here
  5. Understanding how to use the webapp here

About

In this repository I will walk you through creation of an automated irrigation system on the farm, using an ESP8266 MCU. The system also integrates a ML model to help you adequately plan the growing calender.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published