This is a project where instead of using n number of sensors to detect the health of a plant, we use a single sensor to detect the moisture level of the plant. We will use a camera to detect the health and species of the plant as well. After processing the data, we will upload the data to blynk. Using the data we will calculate the water required for the plant and provide water accordingly.
- Features
- Hardware Requirements
- Software Requirements
- Setup
- Configuration
- Usage
- Circuit Diagrams
- Troubleshooting
- Preprogrammed Path (using a csv file)
- Blynk integration
- Camera integration
- => Plant health monitoring
- => Plant species detection
- Moisture sensor integration
- Watering system integration
- Raspberry Pi
- Moisture sensor
- ADC (ADS1115)
- Camera
- Motors for the robot
- Motor for sensor movement
- Motor drivers
- Water pump
- Power supply
- Breadboard
- Jumper wires
- Python 3.x and required libraries
- Clone the repository:
git clone https://github.com/your-username/PlantPulse.git
- Install the required libraries:
pip install -r requirements.txt
- Configure the path - movements.csv
- Configure the Blynk
- Configure the Openwheathermap API
- Configure the camera
- Connect the components as per the circuit diagram
- Connect the motors and motor driver
- Connect the ADC and moisture sensor
- Connect the water pump and power supply
- Connect the camera and power supply
- Configure motor and motor drivers
- Run the script:
python PlantPulse.py
Before running the code:
- Update the
movements.csv
file with the desired movement commands. - Update the
.env
file with your Blynk token and OpenWeatherMap API key. - Update the pin numbers for the motors and motor driver.
- Update the pin numbers for the ADC and moisture sensor.
- Update the pin numbers for the water pump and power supply.
- Update the port number for the camera.
- Run the code:
python PlantPulse.py
- The code will start the robot and the sensor.
- The robot will move according to the commands in the
movements.csv
file. - The robot will stop when the robot reaches the destination.
- The sensor will measure the moisture level and send the data to the Blynk app.
- The camera will detect the species and health of the plant and send the data to the Blynk app.
- The water pump will water the plant according to the moisture level.
If the code doesn't work, check the following:
- Make sure the motors and motor driver are connected correctly.
- Make sure the ADC and moisture sensor are connected correctly.
- Make sure the water pump and power supply are connected correctly.
- Make sure the camera and power supply are connected correctly (update the camera port).
- Make sure the Blynk token and OpenWeatherMap API key are correct.
- Make sure the
movements.csv
file is correct. - Verify motor direction if the robot moves in the wrong direction.