In order to meet in the industrial application range, robots obstacle-avoiding and daily application such as: preventing myopia, this topic in order to make up the deficiency of other ranging, therefore, this topic to design a system based on single chip infrared distance, effective range-finding distance 10 to 80 cm, within this design, based on singlechip, design a kind of STC89C52RC chip based on infrared distance measuring system.
First, in the introduction, it shows how this topic's realistic meaning and research status, and introduced the infrared and infrared sensor classification and application, microcontroller definition, characteristics, development present situation, the application field, development trend and the advantage. Main parts of the introduction, especially for STC89C52RC microcontroller was illustrated.
Secondly, through the plan demonst choice to the device used to determine the circuit design and final design.
Again, this paper expounds the infrared distance the basic structure and working principle of infrared distance, introduces the hardware design and software design.
In the hardware design, this paper introduces the idea of infrared distance realization are infrared distance hardware circuit principle diagram, and illustrates that the infrared sensors, A/D converter, alarm circuit and other extended interface, the LED display circuit principle and STC89C52RC MCU tube feet allocation.
In software design, and explains the whole program flow and each subroutine process and error analysis.
Finally, the design of the whole conclusion, illustrates the feasibility of infrared distance.
Keywords: Single Chip Microcomputer; Infrared sensor; A/D converter;Display;Alarm
目 录