【正文】
n order to realize the given performance index. Full analysis of our system, the key is to achieve the automatic control cars, but at this point, singlechip microputer control will show its advantage is simple, convenient and fast. 40 feet DIP package makes it has 32 pletely IO (GPIO general input/output port, signal input circuit, through these ports will transmit the signals to single chip microputer analysis of each sensor to control L293D motor drive and control the car. The use of infrared for detecting tube black line, through infrared tracking module for tube whether find level signal produced by the black thread returns to the SCM infrared tube to realize tracking function. SCM according to the requirement of the program design make the corresponding judgment for motor driver module. Let the car to achieve forward, turn left, turn right, the basic function such as parking. Integrated infrared sensor photoelectric switch for obstacle avoidance. The circuit of the whole system structure is simple, reliable performance is high. According to the function of car parts, analyze the hardware circuit, and debug the circuit. Debugging success of each module individually merged into a whole, and then software programming and debugging, until pletion. KEY WORDS: STC89C52 dc motor infrared sensors the pipe tracing cars L293D motor drive 目錄 第一章 緒論 ......................................................................................................................... 1 第二章 方案設計與論證 ..................................................................................................... 2 第一節(jié) 主控系統(tǒng) .............................................................................................................. 2 第二節(jié) 電機驅動模塊 ...................................................................................................... 3 第三節(jié) 循跡模塊 .............................................................................................................. 5 第四節(jié) 避障模塊 .............................................................................................................. 6 第五節(jié) 機械系統(tǒng)和電源模塊 .......................................................................................... 6 第六節(jié) 電源模塊 .............................................................................................................. 6 第三章 硬件設計 ................................................................................................................. 8 第一節(jié) 總體設計 ..............................................................................................................