摘要:针对智能车的控制系统, 选用STC89C52作为整个系统的主控芯片, 并进行硬件电路设计;以NREF24L01作为无线接收模块, 选取E18-D80NK-N红外光电传感器作为避障模块的核心器件;并用Proteus软件进行电路的模拟和仿真, 结果表明可行。以STM32103C8为核心, 设计了智能小车的实时监控系统, 并制定了系统软件的设计方案;在系统软件方案的基础上提出基于NRF24L01的SPI通信、串口通信和电机的PWM调速方案。最终与基于VB的遥控器进行联合调试, 通过示波器、LED指示灯简易监控观察智能车的运行状态。结果表明:系统能很好地执行小车的前进、后退、转向、避障等功能, 达到预期设想, 有良好的使用效果和广阔的市场前景。
关键词:智能车; NRF24L01; SPI通信; PWM;
Abstract:Aiming at the intelligent vehicle control system, STC89 C52 was used as the main control chip of the whole system, and the hardware circuit was designed. NREF24 L01 was used as the wireless receiving module, E18-D80 NK-N was selected as the core device of infrared photoelectric sensor obstacle avoidance module, and the circuit simulation was carried out with Proteus software, the results show it is feasible. With STM32103 C8 as the core, this paper designed a real-time monitoring system of intelligent vehicle, and the scheme of system software was designed. The PWM control scheme of NRF24 L01 SPI communication, serial communication and motor was based on software solution. With remote control based on VB joint debugging, running state was monitored through the oscilloscope, LED lights, simple observation of intelligent vehicle monitoring. the results show that the system can perform well moving forward and backward, steering, obstacle avoidance and other functions, meeting expectations and having good effect and broad market prospect.
Keyword:intellige