【正文】
1 智能小車 摘 要 系統(tǒng)主要由 紅外避障模塊 、 聲控 模塊、 光電尋跡 、 電機驅動 及語音播報 模塊組成。采用 P89V51 單片機作為智能 小車控制 核心。系統(tǒng)能實現(xiàn)對線路進行尋跡,小車可以前進或后退 ,遇到障礙物可以自行停止 并可以實現(xiàn)反向運行,系統(tǒng)可以利用聲音控制小車的啟停 。整個系統(tǒng)小巧緊湊,控制準確,性價比高,人機互動性好。 關鍵詞: P89V51 單片機; 紅外避障 ; 線路尋跡;直流減速電機 ABSTRACT System is mainly by infrared obstacle avoidance module, voice module, optoelectronics and motor drive tracing module. Used as a singlechip smart car P89V51 control core. System can realize the tracing lines, cars can go forward or backward, encountered obstacles can stop and reverse operation can be achieved, the system can use voice to control the start and stop car. Compact the entire system to control the accurate, costeffective, good humanputer interaction. KEYWORD: P89V51MCU。Infrared obstacle avoidance; Tracing; DC motor speed II 目 錄 1 系統(tǒng)設計 .......................................................................................................................... 1 設計要求 ............................................................................................................. 1 基本要求 .................................................................................................... 1 擴展部分 .................................................................................................... 1 總體設計方案 ..................................................................................................... 1 基本模塊設計方案論證與比較 ................................................................ 1 系統(tǒng)總體設計方案 .................................................................................... 5 2 單元硬件電路設計 .......................................................................................................... 6 光電對管尋跡模塊 ............................................................................................... 6 電機驅動電路的設計 ............................................................................................ 6 紅外避障模塊 ......................................................................................................... 7 單片機 P89V51 核心模塊 ..................................................................................... 8 聲控電路 ............................................................................................................... 8 語音播報模塊 ....................................................................................................... 9 3 系統(tǒng)軟件設計 .........................................