0% found this document useful (0 votes)
79 views8 pages

OSOYOO V2.1 Robot Car Kit Lesson 4 - Tracking Line Robot Car

This document provides instructions for adding a line tracking sensor module to an OSOYOO V2.1 robot car kit to enable it to follow a black line on a white surface. It describes the additional parts needed, how to install the sensor module and connect it to the control board, downloading and uploading the line tracking code to the board, and adjusting the sensor sensitivity. Instructions are given for testing the line tracking functionality by having the car follow a prepared black track on a white ground.

Uploaded by

geloandima1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views8 pages

OSOYOO V2.1 Robot Car Kit Lesson 4 - Tracking Line Robot Car

This document provides instructions for adding a line tracking sensor module to an OSOYOO V2.1 robot car kit to enable it to follow a black line on a white surface. It describes the additional parts needed, how to install the sensor module and connect it to the control board, downloading and uploading the line tracking code to the board, and adjusting the sensor sensitivity. Instructions are given for testing the line tracking functionality by having the car follow a prepared black track on a white ground.

Uploaded by

geloandima1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.

com
Login
Home All Category Contact us Clearance DEAL! Join us

Location: Home » OSOYOO Robot Car Kit A series » V2.1 Robot car kit » OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car

OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car
Post Time: 2020-05-12 18:05:30 Category: V2.1 Robot car kit

NOTE: ALL OSOYOO PRODUCTS FOR ARDUINO ARE THIRD PARTY BOARD WHICH IS FULLY COMPATITA
WITH ARDUINO

OSOYOO V2.1 Robot Car for Arduino Lesson 4 : Line tracking

Authorized Online Retailers


Where to buy the set with 18650 batteriese and USB charger

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from J

Where to buy the set with 9V and 18650 battery cases

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from J

Objective
Parts and Devices
Hardware Installation
Software Installation:

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 1/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

Testing

Objective:

In this lesson, we will add 5 channel black/white tracking sensor module to the framework built in Lesson 1. If you have not
completed installation in Lesson 1, please review Lesson 1

The software in this lesson will read data from these 5 channel black/white tracking sensor module and automatically guide th
car to move along the black track line in the white ground.

Parts and Devices:

No. Picture Device Qty. Accessories Link


1 Tracking sensor 1 M3 Plastic Screw x 2 Click here to buy
module M3 Plastic Nut x2
M3 Plastic Pillar x 2

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 2/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

7pin 25cm Female to


2 1 Click here to buy
Female Cable

3 Philips screwdriver 1 Click here to buy

4 Hex Screwdriver 1 Click here to buy

5 M3 plastic screw 2

6 M3 plastic pillar 2

7 M3 plastic nut 2

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 3/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

Hardware Installation:
Step 1: Motor driver(Model-X )pin installation.
Start the installation from previous status of Smart Car Lesson 1 . If you have installed Lesson 2 or 3, you must remove the w
which you connected in lesson2 and lesson3.

Step 2: Install tracking sensor modules under lower car chassis with 2pcs M3 plasctic screws, M3 plastic pillars and M3 plas

Step 3: Connect GND-VCC pin of tracking sensor module to GND-5V of OSOYOO Uart WiFi shield V1.3; connect IR1, IR2,
IR4, IR5 pins to A0, A1, A2, A3, A4 with 7pin 25cm female to female cable as the following photo shows (Remember : DO NO
remove any existing wires installed in Lesson 1 ):

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 4/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

Software Installation:

Open-source Arduino Download IDE here:


Software(IDE) https://www.arduino.cc/en/Main/Software?setlang=en

7 zip is a free zip Download 7zip here for free


utility that un-zips zip files https://www.7-zip.org/

Step 1: Install latest IDE (If you have IDE version after 1.1.16, please skip this step). Download IDE from
https://www.arduino.cc/en/Main/Software?setlang=en , then install the software.

Step 2: Download Lesson 4 tracking smart car sample code from v2smartcar-lesson4 , unzip the download zip file smartcar-
lesson4.zip, you will see a folder called smartcar-lesson4B .

Step 3: Connect OSOYOO basic board to PC with USB cable, Open IDE -> click file -> click Open -> choose code “smartca
lesson4.ino” in smartcar-lesson4 folder, load the code into your board.

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 5/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

Step 4: Choose corresponding board/port for your project,upload the sketch to the board.

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 6/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

Step 5: Adjust the sensitivity of tracking sensor modules. Turn on and hold the car and adjust the potentiometer on the track
sensor with Philips screwdriver until you get the best sensitivity status: the signal indicate LED light will turn on when sensor
black track, and the signal LED will turn off when the sensor is above white ground

Testing:

Prepare a black track (the width of the black track is more than 20mm and less than 30mm) in white ground. Please note, the
angle of track can’t be larger than 90 degree. If the angle is too large, the car will move out of the track.

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 7/8
24/11/22, 20:05 OSOYOO V2.1 Robot car kit Lesson 4: Tracking Line Robot Car « osoyoo.com

Turn on the car and put the middle of tracking sensor module facing over black track, and then the car will move along the bla
track.

DownLoad Url : osoyoo.com

Leave a Reply

You must be logged in to post a comment.

Privacy Policy © 2009-2017 Osoyoo.com

https://osoyoo.com/2020/05/12/osoyoo-v2-1-robot-car-kit-lesson-4-tracking-line-robot-car/ 8/8

You might also like