freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機(jī)的萬(wàn)年歷的設(shè)計(jì)與制作畢業(yè)論文-wenkub

2023-03-09 10:24:11 本頁(yè)面
 

【正文】 過(guò)程中 RSTS 置為低電平,則會(huì)終止此次數(shù)據(jù)傳送, I/O 引腳變?yōu)楦咦钁B(tài)。 X1和 X2是振蕩源,外接 晶振。在主電源關(guān)閉的情況下,也能保持時(shí)鐘的連續(xù)運(yùn)行。采用三線接口與 CPU 進(jìn)行同步通信,并可采用突發(fā)方式一次傳送多個(gè)字節(jié)的 時(shí)鐘信號(hào) 或 RAM 數(shù)據(jù)。 LCD1602 液晶顯示屏 LCD1602 液晶顯示屏簡(jiǎn)介 字符型液晶顯示模塊是一種專門用于顯示字母、數(shù)字、符號(hào)等點(diǎn)陣式 LCD,目前常用 16*1, 16*2, 20*2和 40*2行等的模塊。 ④ XTAL1 和 XTAL2( 18, 19 腳): XTAL1 腳為片內(nèi)振蕩電路的輸入端, XTAL2 腳為片內(nèi)振蕩電路的輸出端。 ② ALE/ PROG( 30 腳):地址鎖存允許 /編程引腳。 P3口為 8 位準(zhǔn)雙向 I/O接口 ,它是雙功能復(fù)用口,作為通用 I/O 接口 時(shí),功能與 P1 口相同,常使用第二功能。 P1 口為 8 位準(zhǔn)雙向 I/O接口 。 ① P0口 32~ 39 腳為 ~ 輸入 /輸出引腳。 ② Vcc( 40 腳):正電源引腳。 除此之外,單片機(jī)還具有集成度高、體積小、性價(jià)比高、應(yīng)用廣泛、易于產(chǎn)品化 。 ( 3) 控制功能強(qiáng) 具有豐富的控制指令,可以對(duì)邏輯功能比較復(fù)雜的系統(tǒng)進(jìn)行控制。 單片機(jī)的主要特點(diǎn)如下。 電路設(shè)計(jì)與最終方案 綜上各方案所述 ,對(duì)該萬(wàn)年歷設(shè)計(jì)方案的最終選定 : 采用 AT89S52 作為主 控制系統(tǒng); DS1302 提供時(shí)鐘 。 C語(yǔ)言提供了很多函數(shù),并支持浮點(diǎn)運(yùn)算,開(kāi)發(fā)效率高,故可縮短開(kāi)發(fā)時(shí)間,增加程序可讀性和可維護(hù)性。 所以選用 DS18B20 作為溫度采集部分的傳感器。 溫度傳感器的選擇方案和論證 方案一: 使用熱敏電阻作為傳感器,用熱敏電阻與一個(gè)相應(yīng)阻值電阻相串聯(lián)分壓,利用熱敏電阻阻值隨溫度變化而變化的特性,采集這兩個(gè)電阻變化的分壓值,并進(jìn)行 A/D 轉(zhuǎn)換。所以不采用此方案。并且可以同時(shí)顯示大量信息 ,所以在此設(shè)計(jì)中采用 LCD 液晶顯示屏 。 系統(tǒng)基本方案選擇及論證 單片機(jī)芯片的選擇方案和論證 方案一 : 采用 89C51 芯片作為硬件核心,采用 Flash ROM,內(nèi)部具有 4KB ROM 存儲(chǔ)空間 ,能于 3V 的超低壓工作 ,而且與 MCS51 系列單片機(jī)完全兼容 ,但是運(yùn)用于電路設(shè)計(jì)中時(shí)由于不具備 ISP 在線編程技術(shù) , 當(dāng)在對(duì)電路進(jìn)行調(diào)試時(shí),由于程序的錯(cuò)誤修改或?qū)Τ绦虻男略龉δ苄枰獰氤绦驎r(shí),對(duì)芯片的多次拔插會(huì)對(duì)芯片造成一定的損壞。電子萬(wàn)年歷的出現(xiàn)給人們的生活帶來(lái)諸多方 便。 關(guān)鍵詞: 時(shí)鐘電鐘; DS1302;動(dòng)態(tài)掃描; 51 單片機(jī) Abstract SCM application technology develop rapidly, looking around us now in all spheres of life, from missiles, navigation equipment, to the various instruments on the aircraft control from a puter work munications and data transmission, industrial automation to realtime process control and data processing, and our lives extensive use of the smart card, electronic pets, which is inseparable from the microcontroller. Monolithic singlechip is the set of CPU, RAM, ROM, the timing, number and variety of interface integrated microcontrollers. Its small size, low cost, high performance, which are widely used in smart industries, and industrial automation. Ecalendar day time is a very wide range of tools, increasingly popular in modern society. It can be year, month, day, Sunday, hours, minutes, seconds for time, but also has a leap year pensation to a variety of functions, and the DS130239。 軟件方面主要包括日歷程序、時(shí)間調(diào)整程序,顯示程序等。 萬(wàn)年歷的設(shè)計(jì)過(guò)程在硬件與軟件方面進(jìn)行同步設(shè)計(jì)。 本設(shè)計(jì)是基于 51 系列的單片機(jī)進(jìn)行的電子萬(wàn)年歷設(shè)計(jì),可以顯示年月日時(shí)分秒及周信息,具有可調(diào)整日期和時(shí)間功能。 電子萬(wàn)年歷是一種非常廣泛日常計(jì)時(shí)工具,對(duì)現(xiàn)代社會(huì)越來(lái)越流行。基于單片機(jī)的萬(wàn)年歷的設(shè)計(jì)與制作 摘要 : 單片機(jī)應(yīng)用技術(shù)飛速發(fā)展,縱觀我們現(xiàn)在生活的各個(gè)領(lǐng)域,從導(dǎo)彈的導(dǎo)航裝置,到飛機(jī)上各種儀表的控制,從計(jì)算機(jī)的網(wǎng)絡(luò)通訊與數(shù)據(jù)傳輸,到工業(yè)自動(dòng)化過(guò)程的實(shí)時(shí)控制和數(shù)據(jù)處理,以及我們生活中廣泛使用的各種智能 IC 卡、電子寵物等,這些都離不開(kāi)單片機(jī)。它可以對(duì)年、月、日、周日、時(shí)、分、秒進(jìn)行計(jì) 時(shí),還具有閏年補(bǔ)償?shù)榷喾N功能,而且 DS1302 的使用壽命長(zhǎng),誤差小。在設(shè)計(jì)的同時(shí)對(duì)單片機(jī)的理論基礎(chǔ)和外圍擴(kuò)展知識(shí)進(jìn)行了比較全面準(zhǔn)備。硬件部分主要由AT89S52 單片機(jī), LCD1602 顯示電路,以及調(diào)時(shí)按鍵電路等組成。程序采用C 語(yǔ)言編寫(xiě),以 便更簡(jiǎn)單地實(shí)現(xiàn)調(diào)整時(shí)間功能。s long life, small error. For the digital electronic calendar using an intuitive digital display can simultaneously display year, month, day, Sunday, hours, minutes, seconds, and temperature and other information, but also a timecalibration and other functions. The circuit uses AT89S52 microcontroller as the core, power consumption, lowvoltage work in 3V, the voltage can choose 3 ~ 5V voltage supply. The design is based on 51 series of microcontrollers to the design of electronic calendar, you can display date information on when the minutes and seconds, and weeks, with adjustable date and time functions. At the same time in the design of the theoretical basis of the MCU and peripheral expansion of knowledge of the more prehensive preparation. The hardware and software design, there is no good basic knowledge and practical experience will be greatly limited, each feature is required to achieve the kind of hardware, procedures, how to write, how to implement such algorithms, there is no certain foundation can not be good implementation. Found during the preparation process to the existing knowledge to plete the preparation of the task alone difficult,In the help of teachers and students to plete the program part of the preparation. Calendar of the design process in hardware and software to synchronize the design. Hardware mainly by the AT89S52 microcontroller, LCD1602 display circuit, and the tune posed of the circuit when the button. In the SCM choice I used the AT89S52 microcontroller, which is suitable for many of the more plex control applications. Monitor the use of software includes calendar program, time to adjust procedures, display programs. Programs written in assembly language used in order to more easily adjust the time and the realization of the lunar calendar display. All programming is plete, the Keil software debugging, make sure that no problems, in the Proteus software within a microcontroller embedded in the simulation. The final overall the teacher to help students, as well as their own efforts to plete the design of the electronic calendar. Keywords: Clock electric clock:DS1302。 電子鐘是一種利用數(shù)字電路來(lái)顯示秒、分、時(shí)的計(jì)時(shí)裝置,與傳統(tǒng)的機(jī)械鐘相比,它具有計(jì)時(shí)準(zhǔn)確、顯示直觀等優(yōu)點(diǎn),因而得到廣泛應(yīng)用。 方案二 : 采用 AT89S52,片內(nèi) ROM 全都采用 Flash ROM;能以 3V 的超底壓工作;同時(shí)也與 MCS51 系列單片機(jī)完全該芯片內(nèi)部存儲(chǔ)器為 8KB ROM 存儲(chǔ)空間,同樣具有89C51 的功能,且具有在線編程可擦除技術(shù),當(dāng)在對(duì)電路進(jìn)行調(diào)試時(shí),由于程序的錯(cuò)誤修改或?qū)Τ绦虻男略龉δ苄枰?燒入程序時(shí),不需要對(duì)芯片多次拔插,所以不會(huì)對(duì)芯片造成損壞。 所以采用了 LCD液晶顯示屏 作為顯示。 方案二 : 采用 并行接口時(shí)鐘芯片 DS12887,采用單片機(jī)應(yīng)用系統(tǒng)并行總線 (三總線 )擴(kuò)展的接口電路 ,采用這種接口電路具有操作速度快 ,編程方便的優(yōu)點(diǎn)。此設(shè)計(jì)方案需用 A/D 轉(zhuǎn)換電路,增加硬件成本而且熱敏電阻的感溫特性曲線并不是嚴(yán)格線性的,會(huì)產(chǎn)生較大的測(cè)量誤差。 編程語(yǔ)言的選擇方案和論證 方案一: 使用匯編語(yǔ)言, 匯編語(yǔ)言是一種面向機(jī)器的計(jì)算機(jī)低級(jí)編程語(yǔ)言,通常是為特定的計(jì)算機(jī)或系列計(jì)算機(jī)專門設(shè)計(jì)的。而且 C語(yǔ)言可以嵌入?yún)R編語(yǔ)言來(lái)解決高時(shí)效性的代碼編寫(xiě)問(wèn)題。 DS18B20 作為數(shù)字式溫度傳感器; LCD1602 液晶屏作為顯示 ;以 C 語(yǔ) 言作為編程語(yǔ)言 。 ( 1) 可靠性高 單片機(jī)的系統(tǒng)軟件都固化在 ROM 中,不易受病毒破壞。 ( 4) 低電壓、低功耗 低電壓、低功耗對(duì)便攜式產(chǎn)品和家用消費(fèi)類產(chǎn)品是非常重要的。 MCS51 單片機(jī)外部引腳 AT89S52 單片機(jī)為 40個(gè)引腳的雙列直插式( DIP)封裝,共分為電源線、端口線和控制線三類。正常工作時(shí),接 +5V 電源。 P0 口為雙向 8 位三態(tài)I/O 接口。 ③ P2口 21~ 28腳為 ~ 輸入 /輸出引腳 。作為第二功能使用時(shí), 各位的作用見(jiàn)表 1。 該引腳的第二功能是對(duì) EPROM 型芯片進(jìn)行編程和校驗(yàn)時(shí),此引腳傳送 52ms 寬的負(fù)脈沖選通信號(hào),程序計(jì)數(shù)器 PC 的 16 位地址數(shù)據(jù)將出現(xiàn)在 P0和 P2 口上,外部程序存儲(chǔ)器則把指令碼放在 P0口上,由 CPU寫(xiě)入 并執(zhí)行。 ⑤ PSEN (29 腳 ):片外 ROM 選通線。一般 1602字符型液晶顯示器實(shí)物如圖 2所示。 DS1302 內(nèi)部有一個(gè) 318 的用于臨時(shí)性存放數(shù)據(jù)的 RAM寄存器。 DS1302 由 Vcc1或 V
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1