【正文】
1 智能小車 摘 要 系統(tǒng)主要由 紅外避障模塊 、 聲控 模塊、 光電尋跡 、 電機(jī)驅(qū)動 及語音播報 模塊組成。采用 P89V51 單片機(jī)作為智能 小車控制 核心。系統(tǒng)能實(shí)現(xiàn)對線路進(jìn)行尋跡,小車可以前進(jìn)或后退 ,遇到障礙物可以自行停止 并可以實(shí)現(xiàn)反向運(yùn)行,系統(tǒng)可以利用聲音控制小車的啟停 。整個系統(tǒng)小巧緊湊,控制準(zhǔn)確,性價比高,人機(jī)互動性好。 關(guān)鍵詞: P89V51 單片機(jī); 紅外避障 ; 線路尋跡;直流減速電機(jī) 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)設(shè)計(jì) .......................................................................................................................... 1 設(shè)計(jì)要求 ............................................................................................................. 1 基本要求 .................................................................................................... 1 擴(kuò)展部分 .................................................................................................... 1 總體設(shè)計(jì)方案 ..................................................................................................... 1 基本模塊設(shè)計(jì)方案論證與比較 ................................................................ 1 系統(tǒng)總體設(shè)計(jì)方案 .................................................................................... 5 2 單元硬件電路設(shè)計(jì) .......................................................................................................... 6 光電對管尋跡模塊 ............................................................................................... 6 電機(jī)驅(qū)動電路的設(shè)計(jì) ............................................................................................ 6 紅外避障模塊 ......................................................................................................... 7 單片機(jī) P89V51 核心模塊 ..................................................................................... 8 聲控電路 ............................................................................................................... 8 語音播報模塊 ....................................................................................................... 9 3 系統(tǒng)軟件設(shè)計(jì) .........................................