Professional Documents
Culture Documents
9 Car
9 Car
self-propelled car
National Taiwan University of
Science and Technology
Mechanical Engineering
working principle
• The infrared emitter emits an infrared signal to the ground track, and
the infrared light is induced by the photoelectric crystal to reflect the
intensity of the light and is converted into a voltage value.
• The microcontroller controls and corrects the direction of the self-
propelled car so that the vehicle can automatically run on the track.
2
Components
3
Infrared tracking module
TCRT5000
5
Motor drive circuit
Motor drive module L298N
6
Motor control
Control motor uses L298N motor drive board to switch motor steering
There are 4 input pins on the L298N motor drive board for control.
IN1, IN2 are a group, IN3 and IN4 are one set, which can control
two motors respectively.
Taking IN1 and IN2 as examples, the motor control logic is as
follows
紅外線L 2 紅外線L 1 紅外線C 紅外線R 1 紅外線R 2 控制
1 0 1 前進
0 1 1 快速左轉
1 1 0 快速右轉
0 0 1 慢速左轉
1 0 0 慢速右轉
1 1 1 停止
0 0 0 停止
7
Motor parts
Miniature metal deceleration DC motor, motor base, wheels
• Small volume
• Large torque
• Low power consumption
• Metal gears are not easy to abrasion
• No-load speed could be 200 rpm/min At 6V
• motor base
8
Battery and battery case
10
萬向輪
常見的三種自走車萬向輪
12
Breadboard
或叫免焊萬用電路板 solderless breadboard
15
Final results acceptance
• Make the infrared tracking self-propelled car automatically run
on the pre-drawn black track
• Example as follow
16
17
THANK YOU
For Listening
18