Welcome to the Smart Rover Project! Our friend Rover is a helper bot designed to follow black lines in a warehouse.
The Problem: Rover can follow lines but doesn’t see obstacles. Sometimes it crashes into boxes.
Our Goal: Upgrade Rover’s code so it can see obstacles, stop, and navigate safely.
Tasks for contributors (details in the Issues Tab):
- Teach Rover to stop when something is in front.
- Help Rover return to the line after avoiding obstacles.
- Add a beeping alert when an obstacle is detected.
- Adjust sensors for better line-following.
- Create a wiring diagram for others to build Rover.
| Component | Quantity | Description |
|---|---|---|
| Arduino Uno/Nano | 1 | Microcontroller |
| L298N Motor Driver | 1 | Dual H-Bridge |
| DC Motors | 2 | Geared motors |
| Wheels | 2 | Compatible with DC motors |
| Caster Wheel | 1 | Support wheel |
| IR Sensors | 2 | Line detection |
| HC-SR04 | 1 | Ultrasonic sensor |
| 9V Battery | 1 | Power supply |
| Jumper Wires | - | Connections |
| Chassis | 1 | Robot base |
Motor Driver (L298N):
- Left Motor: IN1 → Pin 5, IN2 → Pin 6
- Right Motor: IN3 → Pin 9, IN4 → Pin 10
- Power: 12V → Battery +, GND → Battery - & Arduino GND
Sensors:
- Left IR Sensor: VCC → 5V, GND → GND, OUT → A0
- Right IR Sensor: VCC → 5V, GND → GND, OUT → A1
- Ultrasonic HC-SR04: VCC → 5V, GND → GND, TRIG → Pin 3, ECHO → Pin 4
- Mount motors and wheels on chassis.
- Attach caster wheel for support.
- Mount Arduino board.
- Connect motor driver to motors.
- Install IR sensors at front bottom.
- Mount ultrasonic sensor at the front.
- Make all connections as per circuit above.
- Install Arduino IDE
- Clone the repository:
git clone https://github.com/Osita16/Ware-to-Follow.git