Irrigation System Overview:
Irrigation System Code Structure:
Software Guide:
Raspberry Pi Module 4 B with Raspberry Pi OS (32-bit), Version 11 Bullseye Python-Version: 3.9.2
Python Modules needed:
Code Execution:
With time and changes to code, the names in the python scripts shown in the code structure diagram have changed slightly. To execute the system, run the script in following order via Raspberry Pi terminal (except when a path is specified):
Switch to the directory web and then execute the script with sudo: sudo python3 irrigation_web.py
Help with setting up the sensors used: Adafruit STEMMA Soil Sensor TSL2591 Light Sensor SHT40 Temperatur (and humidity) Sensor Waterpump (DC) with 5 Volt Relay and 12 Volt power supply