Project Vahini is an autonomous electric vehicle (EV) designed to irrigate large farms by carrying and dispensing 1-1.5 tons of water. It uses sensors, a Raspberry Pi processing unit, and machine learning to detect trees, measure soil conditions, and efficiently water crops. The vehicle can self-navigate, detect obstacles, and autonomously recharge, optimizing agricultural irrigation with minimal human intervention.
- Autonomous Navigation: Self-driving through farms using a pre-programmed map.
- Obstacle Detection & Avoidance: Ultrasonic sensors detect and avoid obstacles in real-time.
- Object Detection: Uses an enhanced YOLO (xYOLO) model to identify trees and humans.
- Soil Condition Analysis: Measures soil moisture to deliver the precise amount of water.
- Remote Control: Flask-based web interface for manual control and monitoring.
- Battery Management: Monitors battery status and autonomously returns to the docking station when needed.
- Processing Unit: Raspberry Pi 3.0
- Sensors:
- Ultrasonic sensors (for obstacle detection)
- Pi Camera (for object detection)
- Motors:
- L298 Dual H-Bridge Motor Driver
- BH86 Stepper Motor
- Brushless DC Motor (BLDC) with Kelly Controller
- Power Supply: 48V 30Ah Lithium-Ion Battery
- Program the EV dynamically with a tree map for accurate navigation.
- Ensure the EV carries 1-1.5 tons of water from a loading point.
- Detect trees, analyze soil moisture, and dispense the right amount of water.
- Implement obstacle detection and collision avoidance.
- Monitor battery status and return to the charging station when low.
git clone https://github.com/yourusername/project-vahini.git
cd project-vahini
python app.py
Open your browser and visit:
http://<raspberry-pi-ip>:5000
- Forward/Reverse: Control the vehicle's movement.
- Left/Right: Adjust the vehicle's steering.
- Stop: Halt vehicle movement immediately.
- Speed Control: Adjust the vehicle's speed.
- Live Feed: View a real-time video stream from the Pi Camera.
The EV uses Pulse Width Modulation (PWM) for motor control. Key hardware includes:
- L298 Dual H-Bridge Motor Driver: Controls movement direction.
- BH86 Stepper Motor: Enables precision steering.
- BLDC Motor: Controls speed and movement.
+-------------------+ | Raspberry Pi 3.0 | +-------------------+ | | | | | +--> Ultrasonic Sensors (Obstacle Detection) | +--------> Pi Camera (Object Detection) +-------------> Motor Driver (PWM Control)
Object detection is performed using the xYOLO model, trained on:
- Trees (for irrigation targeting)
- Humans (for obstacle detection)
The model is optimized for the Raspberry Pi to ensure real-time performance.
- Prototype Development (Completed)
- Obstacle Detection & Avoidance (Completed)
- Object Detection Integration (Completed)
- BLDC Motor Control (Completed)
- Battery Monitoring & Docking (In Progress)
- A Search Algorithm*: Optimizes vehicle navigation using mapped terrain.
- xYOLO Object Detection: Identifies trees and humans in real-time.
- Enhanced Navigation: Improve path optimization using SLAM (Simultaneous Localization and Mapping).
- Battery Efficiency: Optimize power consumption during extended operations.
- Expanded Object Detection: Train the model to recognize additional farm-related objects.
- xYOLO: A Model For Real-Time Object Detection On Low-End Hardware
- A* Search Algorithm - Wikipedia
This project is licensed under the MIT License. See the LICENSE
file for details.