Object Following Robot
This robot tracks and follows an object withing a linear proximity of 50 cm and 120° spherical proximity of about 5cm to 10cm.
Components and supplies
Proximity Sensor
SG90 Micro-servo motor
Jumper wires (generic)
Dual H-Bridge motor drivers L298
SparkFun Breadboard Power Supply 5V/3.3V
Arduino UNO
Ultrasonic Sensor - HC-SR04 (Generic)
DC motor (generic)
Tools and machines
Hot glue gun (generic)
Soldering iron (generic)
Apps and platforms
Arduino IDE
Project description
Code
Arduino Code
arduino
The procedures (functions) left(), right(), forwards() and backwards() can be changed according to your connections and components. You can also swap in1, in2, in3 and in4 pins.
Arduino Code
arduino
The procedures (functions) left(), right(), forwards() and backwards() can be changed according to your connections and components. You can also swap in1, in2, in3 and in4 pins.
Downloadable files
Connection Diagram
Connection Diagram

Connection Diagram
Connection Diagram

Connection Diagram Fritzing File
Connection Diagram Fritzing File
Comments
Only logged in users can leave comments