Skip to content

ATchibo/IoT-Proiect-Individual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT individual project

Overview

I have created a system that has the capability of measuring the soil moisture of a plant and also water it if necessary. It is a useful tool for people who want to monitor the status of their apartment plants and would like to see in real time how much water they are pouring.

Schema

schema_1_bb

  • built with Fritzng
  • the motor is a replacement for my water pump
  • the moisture sensor I used is not the same model as the one pictured here but it works the same
  • the screen is not the real screen; in reality, my touchscreen connects to the Raspberry Pi via a 5V pin, a ground and a DSI cable.

Components

Setup and Build Plan

  1. We use two male-female cables to link a 5V pin and a ground pin from the Raspberry to the breadboard
  2. We take the ADC and place it on the breadboard like in the schema above
  3. We use the appropiate cables (4 male-male, 4 male-female) to connect the Raspberry to the ADC
  4. We take the moisture sensor and connect its pins to 5V, ground and the pin of the ADC corresponding to channel 1 (the second one on the left)
  5. We link the ground pin of the Mosfet to the ground of the Raspberry and we link the Signal pin to the corresponding GPIO pin from the Raspberry
  6. We connect the water pump and the battery to the Mosfet, then attach the hoses to the pump
  7. In the end, to complete the hardware setup, we also connect the touchscreen to the Raspberry
  8. We need to put Raspberry Pi OS on our MicroSD card, which will be inserted in our Raspberry Pi
  9. After we boot in Raspberry Pi OS, we need to clone this repository on our Raspberry Pi (make sure you have Python3, git setup is not mandatory but recommended)
  10. We enter the project folder and run "python3 main.py", then the app should launch shortly
  11. Place one tube in a water tank and in the flower pot put the other tube and the moisture sensor
  12. Enjoy!

Using the app

In the home screen we see a bottom navigation bar. If we go to the last section (Watering options) you have the option to press a button to chech the current moisture, as well as to press a button to trigger the on/off operation of the pump.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published