摘要本次试验主要分析了基于 STM32F103 微处理器的智能小车控制系统的系统设计过程
此智能系统的组成主要包括 STM32F103 控制器、电机驱动电路、红外探测电路、超声波避障电路
本次试验采纳 STM32F103 微处理器为核心芯片,利用 PWM 技术对速度以及舵机转向进行控制,循迹模块进行黑白检测,避障模块进行障碍物检测并避障功能,其他外围扩展电路实现系统整体功能
小车在运动时,避障程序优先于循迹程序,用超声波避障电路进行测距并避障,在超声波模块下我们使用舵机来控制超声波的发射方向,用红外探测电路实现小车循迹功能
在硬件设计的基础上提出了实现电机控制功能、智能小车简单循迹和避障功能的软件设计方案,并在 STM32 集成开发环境 Keil 下编写了相应的控制程序,并使用 mcuisp 软件进行程序下载
关键词:stm32;红外探测;超声波避障;PWM;电机控制AbstractThis experiment mainly analyzes the control system of smart car based on microprocessor STM32F103 system design process
The composition of the intelligent system mainly including STM32F103 controller , motor drive circuit , infrared detection circuit , circuit of ultrasonic obstacle avoidance
This experiment adopts STM32F103 microprocessor as the core chip , using PWM technique to control speed an