【正文】
red receiverdiodes and one close Infrared receiverdiode to measure the source of fire,which pare other measurements with high precision, simple structure, reliable performance characteristics. Obstacle avoidance uses the E18 D50NK models of photoelectric sensor, the sensor has a long detection distance, small interference by visible light, the price is cheap, easy to assemble and convenient use, design is based on digital integrated circuit technology and singlechip microputer technology as the core, according to the sensor signal to microcontroller processing all kinds of instructions. Add liquid crystal display, making the system in extinguishing View extinguishing the number of userfriendly features. The experimental results show that the design of low cost, high reliability, fire fast, easy installation features, very suitable for large fire risk coefficient, has a good application prospect. Ke y words: STC89C52 microcontroller, photosensitive transistor, infrared photoelectric switch, 1602 LCD module, L298N III 目錄 摘要 ............................................................................................................................................. I 目錄 ........................................................................................................................................... III 1 引 言 ..................................................................................................................................... 1 課題的 開發(fā)背景 ............................................................................................................... 1 課題的研究現(xiàn)狀 .................................................................................................................. 1 課題的研究意義 ............................................................................................................... 1 課題任務 ........................................................................................................................... 2 2 系統(tǒng) 基本原理 與總體 方案設計 ............................................................................................. 3 滅火機器人的基本原理 ...................................................................................................... 3 滅火機器人的整體設計 ...................................................................................................... 3 滅火機器人模型的測量方案 .............................................................................................. 4 避障模塊 ........................................................................................................................... 4 火焰檢測方案 .................................................................................................................. 5 3 系統(tǒng)硬件電路設計 ................................................................................................................. 7 控制電路 .............................................................................................................................. 7 電機控制電路 ................................................................................................................... 7 滅火驅動電路 ................................................................................................................... 8 火焰測量電路 ...................................................................................................................... 9 避障模塊 .............................................................................................................................11 液晶顯示模塊 .................................................................................................................... 13 直流電源設計 ................................................................................................................... 15 單片機系統(tǒng) ........................................................................................................................ 15 單片機選型 ..................................................................................................................... 15 單片機晶振電路和復位電路 ......................................................................................... 18 4 軟件設計 .............................................................................................................................. 18 系統(tǒng)主程序設計 ................................................................................................................ 19 尋火模塊的設計 ................................................................................................................ 20 避障模塊設計 ................................................................................................................... 21 顯示模塊的設計 ................................................................................................................ 21 5 系統(tǒng)的調試 .......................................................................................................................... 23 硬件的調試 ....................................................................................................................... 23 軟件調試 ............................................................................................................................ 23 避障的 實現(xiàn) ........................................................................................................................ 23 尋找火源的 實現(xiàn) ............................................................................................................... 24 遇到的問題 ........................................................................................................................ 25 實驗現(xiàn)象與結果分析 ........................................................................................................ 26 6 實物展示 ............................................................................................................................... 27 IV 7 結束語 ..........................................