首页|基于单片机的智能玩具小车控制软件的设计与实现

基于单片机的智能玩具小车控制软件的设计与实现

扫码查看
本文主要探究了基于STC89C51单片机的智能玩具小车控制系统的软件设计与功能实现.控制系统的软件部分包括主控程序、保护程序、电机驱动程序等.单片机接收并处理车身传感器提供的位置、速度等信息,可以准确识别小车前进轨迹上是否有障碍.在检测到障碍后单片机发出指令改变电机的转速和扭矩,控制小车左转、右传、前进、后退,从而实现自动避障.同时,利用液晶屏直观显示小车当前的行驶里程和行驶速度,方便操控人员实时了解小车状况.
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

王孝平、张建兵

展开 >

南京航空航天大学金城学院 机电工程与自动化学院,江苏 南京

单片机 智能玩具小车 驱动电机 自动避障

2024

科学技术创新
黑龙江省科普事业中心

科学技术创新

影响因子:0.842
ISSN:1673-1328
年,卷(期):2024.(14)
  • 4