Design and Implementation of Intelligent Toy Car Control Software Based on Single Chip Microcomputer
This paper mainly explores the software design and function realization of intelligent toy car control system based on STC89C51 single chip microcomputer.The software part of the control system in-cludes main control program,protection program,motor driver program and so on.The single chip microcom-puter receives and processes the position,speed and other information provided by the body sensor,and can accurately identify whether there are obstacles on the car's forward track.After detecting the obstacle,the MCU sends out instructions to change the speed and torque of the motor,and controls the car to pass left,right,forward and backward,so as to realize automatic obstacle avoidance.At the same time,the LCD screen is used to visually display the car's current mileage and speed,which is convenient for the operator to under-stand the car's condition in real time.
MCUsmart toy cardrive motorautomatic obstacle avoidance