Development and Empirical Study of an Intelligent Car's Line-Following and Obstacle-Avoiding Control System Based on the STC89C52 Microcontroller
DOI:
https://doi.org/10.54097/cf774x31Keywords:
Intelligent Vehicle, STC89C52, Infrared Tracking, Infrared Obstacle Avoidance.Abstract
With the development of the electronics industry, intelligent small vehicles not only have been widely used in industrial intelligence, but also the products used in smart homes are increasingly favored by people. This group's design is an intelligent small vehicle based on STC89C52. It uses an infrared sensor module for tracking and an ultrasonic sensor module for obstacle avoidance, and transmits the measured data to the embedded microcontroller. The single-chip microcontroller processes the data and gives responses to control the operation of the motor to achieve the functions of tracking and obstacle avoidance. This automatic tracking and obstacle avoidance intelligent small vehicle uses the STC89C52 single-chip microcontroller as the microprocessor, adopts the TCRT5000 infrared sensor module for infrared tracking, adopts the HC-SR04 ultrasonic sensor module for ultrasonic obstacle avoidance, uses the L298N motor driver board and two DC speed motors to form the motor drive module, and uses four South Power batteries to form the power circu. This automatic tracking and obstacle avoidance intelligent small vehicle uses the STC89C52 single-chip microcontroller as the microprocessor, adopts the TCRT5000 infrared sensor module for infrared tracking, adopts the HC-SR04 ultrasonic sensor module for ultrasonic obstacle avoidance, uses the L298N motor driver board and two DC speed motors to form the motor drive module, and uses four South Power batteries to form the power circuit. Through experiments, the intelligent car can successfully follow black lines and avoid obstacles within a 20cm range, achieving the expected design goals.
References
[1] Xu H, Mai Y. Applied Research on AI Technology Empowerment in Single-Chip Microcomputer Course Teaching[J]. Journal of Electronic Research and Application, 2025, 9(6): 72-77.
[2] Liu S. Design and Implementation of Intelligent Temperature-Regulating Fan System Based on STC89C52[J]. Journal of Engineering Research and Reports, 2025, 27(12): 251-259.
[3] Zhao J, Wu S, Cao H, et al. Online Teaching Practice of Applied Undergraduate Microcontroller Principle Experiment[J]. International Journal of Social Science and Education Research, 2025, 8(10): 365-370.
[4] Yu Bo, Zhang Qiang, Li Jiancheng, Chen Xianrui. Microcontroller-Based Intelligent Vehicle System [J]. Chemical Industry Automation and Instrumentation, 2022, 49(03): 345-350+361
[5] Su Xiaofeng, Wang Haitao, Cheng Yiping, Yang Yuyuan, Xiao Youwen, Huang Minxuan. Design of an Intelligent Firefighting Vehicle with Automatic Line-Following and Obstacle-Avoidance Capabilities [J]. Industrial Control Computer, 2021, 34(04): 134-135+143.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Gang Qin, Yan Pan

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







