资 源 简 介
用单片机控制红外编码探测障碍物。本文提出解决干扰的方案是:由单片机控制发射有一定意义的红外编码脉冲串,同时,单片机接收该脉冲串。如果接收到的信号和发射的信号基本一致,才判断为有障碍物的存在。-MCU control infrared obstacle detection coding. In this paper, to resolve the interference of the program are: the launch by the single-chip control has a certain sense the infrared encoder pulse train at the same time, single-chip microcomputer to receive the pulse train. If the received signal and the signals are basically the same as the launch only to have to judge the existence of obstacles.