【正文】
TL)系列。 關(guān)鍵詞 :鍵盤(pán)顯示;串口通信;紅外通信 1 目 錄 1 設(shè)計(jì)原理概述 ................................................................................................................ 1 設(shè)計(jì)背景 ............................................................................................................. 1 設(shè)計(jì)原理框圖 ...................................................................................................... 1 2 硬件的設(shè)計(jì) ................................................................................................................... 2 最小系統(tǒng)的設(shè)計(jì) ................................................................................................... 2 最小系統(tǒng)的電路設(shè)計(jì) .................................................................................. 2 單片機(jī) AT89S51介紹 ................................................................................. 2 鍵盤(pán)的設(shè)計(jì) .......................................................................................................... 4 鍵盤(pán)的電路設(shè)計(jì) ......................................................................................... 4 芯片 MC74HC245AN 的介紹 ...................................................................... 4 顯示的設(shè)計(jì) .......................................................................................................... 5 顯示的電路設(shè)計(jì) ......................................................................................... 5 芯片 MC74HC273N的介紹 ......................................................................... 5 LC501111 LED/7 段及顯示介紹 .............................................................. 6 紅外的設(shè)計(jì) .......................................................................................................... 6 芯片 MC74HC273N的介紹及參數(shù) .............................................................. 6 3 軟件的設(shè)計(jì) ................................................................................................................... 8 程序的流程圖 ...................................................................................................... 8 單片機(jī)按鍵掃描及顯示程序概述和流程 ...................................................... 8 單片機(jī)串口數(shù)據(jù)通信及顯示程序概述和流程 ............................................... 9 單片機(jī)紅外數(shù)據(jù)通信及顯示程序概述和流程 ............................................... 9 掃描及顯示的程序設(shè)計(jì) ........................................................................................ 9 4 小結(jié) ............................................................................................................................ 16 5 參考文獻(xiàn) ..................................................................................................................... 17 6 附錄 ............................................................................................................................ 18 徐海學(xué)院 08 級(jí) 單片機(jī)系統(tǒng)設(shè)計(jì)報(bào)告 第 1 頁(yè) 1 設(shè)計(jì)原理 概述 設(shè)計(jì)背景 在許多基于單片機(jī)的應(yīng)用系統(tǒng)中,系統(tǒng)需要實(shí)現(xiàn)遙控功能,而紅外通信則是被采用較多的一種方法。 徐海學(xué)院 08 級(jí) 單片機(jī)系統(tǒng)設(shè)計(jì)報(bào)告 第 4 頁(yè) 鍵盤(pán)的設(shè)計(jì) 鍵盤(pán)的電路設(shè)計(jì) 芯片 MC74HC245AN 的介紹 總線驅(qū)動(dòng)器,典型的 TTL 型三態(tài)緩沖門(mén)電路。 reg_code=0xfe。 reg_code=0xfb。 reg_code=0x80。 //PCON=0000 0000B,波特率 9600 TH1=0xfd。 //dat 中數(shù)據(jù)為接收(發(fā)送)寄存器( SBUF)中數(shù)據(jù) return dat。 //***************************************/ include sbit P11=P1^7。n i++。s governing body, has also ordered an immediate investigation into the referee39。想要的,不想要的,界限明確,好像沒(méi)有什么可以撼動(dòng)自己。 Baumgartner the disappointing news: Mission aborted. r plays an important role in this mission. Starting at the ground, conditions have to be very calm winds less than 2 mph, with no precipitation or humidity and limited cloud cover. The balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our daytoday weather lives. It will climb higher than the tip of Mount Everest ( miles/ kilometers), drifting even higher than the cruising altitude of mercial airliners ( miles/ kilometers) and into the stratosphere. As he crosses the boundary layer