摘要
该自动循迹小车以STC89C52RC单片机为控制核心,通过2个LDC1000电感传感器近距离探测铁丝系数,设定左右LDC1000的探测值,判断小车前进方向,检测硬币,通过SM100K测速传感器以码盘测得小车前进距离,通过单片机内部定时器产生时间,最后通过LCD1602来显示小车左右LDC1000实时探测值、时间、距离。在keil环境下用C51语言编程来实现硬软件的连接。经过测试该循迹小车沿铁丝轨道一圈用时基本是60秒左右,能够准确识别硬币并发出蜂鸣,能够显示时间和距离。
The auto-tracking car takes STC89 C52 RC MCU as the control core to detect closely the wire coefficient by two LDC1000 inductance sensors. The detection value of left and right LDC1000 is set to judge the direction of the trolley and detects the coins. The SM100 K speed sensor is used to measure the forward distance of the trolley with the code plate,and determines the time by the MCU. Lastly,LCD1602 is used to display the real-time detection value,time and distance of the LDC1000. In keil environment,C51 language programming is used to realize the connection of hardware and software. After testing,the trailer takes about 60 seconds to circle along the wire track,and can accurately identify the coins and emit buzzes,then show time and distance.
引文
[1]杨维祎,郭颖,王雪峰,等.基于TI杯电子竞赛的金属探测系统设计[J].研究与开发,2015,34(2):54-58.
[2]薛小铃,刘志群,贾俊荣. 51单片机开发实战精讲:从模块到项目[M].北京:清华大学出版社,2015.
[3]黄健,董三锋,王利平.基于LDC1000自动循迹智能小车设计[J].微特电机设计与分析2017,45(6):62-66.
[4]张泽华,王晓蕾,张雷雷.基于LDC1000电感数字传感器的墙体电线位置测量仪设计[J].电子设计工程,2015,23(21):79-82.
[5]吴炜,严利平,鲍志业.电感传感器金属探测定位系统设计[J].单片机与嵌入式系统应用,2015(5):54-57.
[6]王剑锋.基于LDC1000电感到数字转换器的金属探测器[J].电子设计工程,2018,23(18):167-171.