【正文】
or, transmitter is a gas infrared light emitting diode and the receiver is a high sensitivity silicon photoelectric triode flat. When the light emitting diode reflected back, triode conduction and output low level obstacle avoidance module designObstacle avoidance module mainly posed by infrared reflection sensor. Infrared reflection sensor by one infrared tubes and photoelectric diode constitute, infrared tubes out to meet the infrared object reflective sex strong after be turned back, by photoelectric diode receiving, cause photoelectric diode current increases, light born this change into voltage signal, it could be processor receives and processing. remote control module designThis module will launch end USES high sensitive HL5000 type universal television remote control, the receiver using receive frequency for 38kH receiving head 1838, this module and the single chip puter interface is very convenient. In addition, for the red outside meet after harvest of plait code letter number the department tasseled set when shipped with project of AT89C52 single chip microputer external interruption. In order to recognize a plete key signal, must for each coding pulse width were measured with discriminate receives the pulse is o still 1. the microcontroller timer/counter to measuring pulse width. Timer/counter except points than can be set, from except 2 to except 2048, measurable pulse width can reach 500m/s. This paper set except point for 12, namely than 12 points frequency, because the external clock is about 12MH, clock cycle for 1s, so the timer/counter for 1 per timing once s. alarm module design Alarm module core chip 110 IC, can choose application in automobile, motorcycle, alarms, personal riot device, door magnetic alarm device and etc.3. System software designThis system software modular structure, he main program, initial antifuzzy procedures, interrupt subroutines, delay subroutines, buttons pronunciation subroutines, buttons scanning subroutines constitutes. tracing subroutines designTracing module is designed by the left right photoelectric sensor output terminal receiving monolithic respectively, p22 and p23 tube feet, then through the microcontroller programming, produce PWM control signal. Through L 298 control motor speed, let the car to move forward, left turn, turn right and stop driving purpose. avoid barrier of programmingObstacle avoidance module is designed by the infrared reflection sensor module around the output terminal receiving MCU respectively p20 and p21 tube feet, then through the microcontroller programming, produce PWM control signal, through L298 control motor speed, let the car to move forward, left turn, turn right and stop driving purpose. remote subroutines designRemote control module is designed by the infrared sensor 1838 an output terminal of the receiving MZUp32 tube feet, then use allpurpose remot