论文部分内容阅读
本次设计的智能循迹小车是以Kinetis K60单片机为主控制器,主要运用一片TI公司LDC1314电感数字转换器来进行路径检测,完成小车自动沿赛道运行和硬币检测。小车在运行过程中能够实时显示运行距离,同时使用单片机内部时钟记录运行时间。单片机产生PWM波,基于L298N来控制小车的行进速度,并实时对采集的数据进行处理,在检测到硬币时进行报警。另外,在小车上还扩展OLED作为交互界面,用于显示采集的数据以便于实时了解小车监测传感器的状态,同时显示行驶的距离以及运行时间。小车主要基于四通道LDC1314的实时监测和算法的紧密配合,最后保证了小车顺利的完成了任务。
The design of the intelligent tracking car Kinetis K60 microcontroller based controller, the main use of a TI LDC1314 inductance digital converter for path detection, the completion of the car along the track automatically run and coin detection. The car can display the running distance in real time during operation, and record the running time by using the internal clock of the microcontroller. Single-chip PWM wave generated, based on L298N to control the car’s speed, and real-time data collected for processing, the detection of coins when the alarm. In addition, the car also extended OLED as an interactive interface for displaying the collected data in order to real-time understanding of the state of the car monitoring sensor, while showing the distance traveled and running time. Car is mainly based on four-channel LDC1314 real-time monitoring and algorithm closely, and finally to ensure the car successfully completed the task.