【正文】
《 單片機(jī)技術(shù) 》 課程設(shè)計(jì)說明書 系 、 部: 電子信息工程 學(xué)生姓名: 馬天舒 指導(dǎo)教師: 王韌 職稱: 副教授 專 業(yè): 電子信息工程 班 級(jí): 電子 0901 完成時(shí)間: 2021 年 12 月 30 日星期五 摘 要 單片計(jì)算機(jī)即單片微型計(jì)算機(jī)( SingleChip Microputer ) ,是集定時(shí),計(jì) 數(shù) ,CPU,RAM,ROM 和多種接口于一體的微控制器。近年來隨著計(jì)算機(jī)在社會(huì)領(lǐng)域的滲透和大規(guī)模集成電路的發(fā)展,單片機(jī)的應(yīng)用正在不斷地走向深入而 51 單片機(jī)是各單片機(jī)中最為典型和最有代表性的一種。由于它具有功能強(qiáng),體積小,功耗低,價(jià)格便宜,工作可靠,使用方便等特點(diǎn),因此特別適合于與控制有關(guān)的系統(tǒng),越來越廣泛地應(yīng)用于自動(dòng)控制,智能化儀器,儀表,數(shù)據(jù)采集,軍工產(chǎn)品以及家用電器等各個(gè)領(lǐng)域,單片機(jī)往往是作為一個(gè)核心部件來使用,在根據(jù)具體硬件結(jié)構(gòu),以及針對(duì)具體應(yīng)用對(duì)象特點(diǎn)的軟件結(jié)合,以作完善。這次畢業(yè)設(shè)計(jì)通過對(duì)它的學(xué)習(xí) ,應(yīng)用,從而達(dá)到學(xué)習(xí)、設(shè)計(jì)、開發(fā)軟、硬件的能力。隨著以計(jì)算機(jī)為軸心的各種各樣信息處理裝置的誕生,為適應(yīng)這種新形勢(shì),信息家電,網(wǎng)絡(luò)終端,廣播 通信等用途的 LCD 市場(chǎng)也將迅速擴(kuò)大,而且如今 LCD 發(fā)展方向不僅在于大屏幕,而且在中小屏幕方面,例如汽車導(dǎo)航系統(tǒng),攝像機(jī),數(shù)字式照相機(jī),便攜式電視, PDA(個(gè)人數(shù)字助理 ),娛樂 /游戲機(jī),攝影機(jī)等有著進(jìn)一步的發(fā)展。 液晶顯示器 (LCD)具有功耗低、體積小、重量輕、超薄等許多其他顯示器無法比擬的優(yōu)點(diǎn),近年來被廣泛用于單片機(jī)控制的智能儀器、儀表和低功耗電子產(chǎn)品中。LCD 可分為段 式 LCD、字符式 LCD 和點(diǎn)陣式 LCD。其中,段式 LCD 和字符式 LCD只能用于字符和數(shù)字的簡(jiǎn)單顯示,不能滿足圖形曲線和漢字顯示的要求;而點(diǎn)陣式 LCD 不僅可以顯示字符、數(shù)字,還可以顯示各種圖形、曲線以及漢字、動(dòng)畫,并且可以實(shí)現(xiàn)屏幕滾動(dòng)、反轉(zhuǎn)、閃爍等功能,用途十分廣泛。 本文介紹單片機(jī) AT89C52 設(shè)計(jì) 數(shù)字電子 時(shí)鐘實(shí)現(xiàn)的方案 。本系統(tǒng)將單片機(jī)AT89C52 內(nèi)部時(shí)鐘讀出并通過四位一體七段數(shù)碼管 (LED)顯示出來 ,通過按鍵設(shè)定的時(shí)間來改變系統(tǒng)的時(shí)間,從而實(shí)現(xiàn)了系統(tǒng)的智能化。該系統(tǒng)是具有 計(jì) 時(shí)和控制功能的產(chǎn)品,可根據(jù)不同需 要用于各種場(chǎng)合。 關(guān)鍵詞 : 單片機(jī) 89C52; 電子時(shí)鐘 ; 緩沖器和總線驅(qū)動(dòng)器 74LS244; 液晶顯示器 LED ABSTRACT Singlechip microputer puterchip is a CPU, RAM, ROM, timing, counting and multiple interfaces in one microcontroller. In recent years, with the field of puter peration in the munity and the development of largescale integrated circuits, singlechip applications is steadily moving toward depth and 51 singlechip singlechip is the most typical and most representative one. Because of its strong functions, small size, low power consumption, cheap, reliable and easy to use and so on, it is particularly suited to control systems and, more widely used in automatic control, intelligent instruments, meters, data acquisition, military products, as well as household appliances and other fields, often singlechip microputer as a core ponent to use, in accordance with the specific hardware architecture, as well as applicationspecific features of the software object to be perfect. The graduation project through its study and application to achieve the study, design, development hardware and software capabilities. With a variety of puteraxis of the birth of information processing devices, in order to adapt to this new situation, information appliances, work terminals, radio munications, such as the use of LCD market will expand rapidly, and now not only the development direction of LCD to the big screen, but also in small and mediumsized screen, such as car navigation systems, video cameras, digital cameras, portable TV, PDA (Personal Digital Assistant), entertainment / video game consoles, cameras, etc. have further development. Liquid Crystal Display (LCD) with low power consumption, small size, light weight, ultrathin displays and many other advantages unmatched in recent years been widely used in singlechip smart control devices, instrumentation and lowpower electronic products. LCD can be divided into Segment LCD, charactertype LCD and dot matrix LCD. Among them, the piece character LCD and LCDstyle characters and figures can only be used for simple display, can not satisfy the graphics curve and show that the requirements of Chinese characters。 and dotmatrix LCD can display characters, numbers, can also display a variety of graphics, curve as well as Chinese characters, animation, and can scroll the screen, reverse,