Line Following / Tracking Robot Car (Arduino and QTR-8 Sensor)

Maker 101
Maker 101
384.8 هزار بار بازدید - 8 سال پیش - In this tutorial, you will
In this tutorial, you will make arduino line following / tracking robot. This tutorial involves building a line follower robot with an QTR-8 Infrared Sensor.

Required Hardware:
1x Arduino UNO R3:
http://bit.ly/2xt9MVk
https://amzn.to/2LZr6t4
1x L293D Motor Drive Shield:
http://bit.ly/2H7vmy9
https://amzn.to/3qADuic
QTR 8 Infrared Sensor:
https://www.pololu.com/product/961
2x Wheel and Gear Motor:
https://bit.ly/2RXAWLS
https://amzn.to/2M2pChV
3 in 1 Jumper Wire:
http://bit.ly/2J6de9E
https://amzn.to/3doetmT
2WD Robot Car Chassis Kit:
http://bit.ly/2sqIHgy
https://amzn.to/3s1ptur

Recommended Items:                
Use Your Muscles in Project - https://amzn.to/3wdL45C
37 Sensor & Module Packages - https://amzn.to/3m66WeQ
Try this Robot Arm - https://amzn.to/3fq8DCl
Best Resin 3D Printer - https://amzn.to/39tY8KB
Arduino Compatible Kits - http://bit.ly/2J2AFF7

- Download AFMotor.h library: https://learn.adafruit.com/adafruit-m...
Uncompress the ZIP file onto your desktop
Place the AFMotor folder into your arduinosketchfolder/libraries folder
Rename the uncompressed folder AFMotor

- Download QTR-8 library: https://github.com/pololu/qtr-sensors...
Rename the folder “qtr-sensors-arduino-xxxx” to “QTRSensors”
Drag the “QTRSensors” folder into the “libraries” directory inside your Arduino sketchbook directory

Source Code: https://github.com/MertArduino/Arduin...

Connections :
- DC Motors connect to the Motor Shield
- Left Motors connect to M1
- Right Motors connect to M2
- The QTR-8 Sensor Connections
The Sensor VCC connect to the Arduino +5V
The Sensor GND connect to the Arduino Ground
The Sensor pin 2 connect to the Arduino Analog 0
The Sensor pin 3 connect to the Arduino Analog 1
The Sensor pin 4 connect to the Arduino Analog 2
The Sensor pin 5 connect to the Arduino Analog 3
The Sensor pin 6 connect to the Arduino Analog 4
- Battery and on / off button connection
The (+) from the battery is connect to a leg of the button
Connect a cable to the other legs of the button. This cable is for Motor Shield (+)
8 سال پیش در تاریخ 1395/09/21 منتشر شده است.
384,846 بـار بازدید شده
... بیشتر