電子可調(diào)萬年歷
(作者未知) 2010/10/23
目錄
1.引言及設(shè)計(jì)方案…………………………………………………………………3
1.1引言…………………………………………………………………………….4
1.2功能要求………………………………………………………………………..4
1.3設(shè)計(jì)方案………………………………………………………………………..5
2.系統(tǒng)硬件電路設(shè)計(jì)………………………………………………………………9
2.1電路設(shè)計(jì)……………………………………………………………………….10
2.2系統(tǒng)硬件設(shè)計(jì)………………………………………………………………….10
2.3時(shí)鐘電路……………………………………………………………………….11
2.4LCD1602顯示模塊……………………………………………………………12
2.5溫度傳感器DS18B20…………………………………………………………13
3.軟件設(shè)計(jì)…………………………………………………………………………14
3.1系統(tǒng)程序………………………………………………………………………15
3.2流程圖…………………………………………………………………………16
4.參考文獻(xiàn)…………………………………………………………………………16
摘要
隨著社會、科技的發(fā)展,人類得知時(shí)間,從觀太陽、擺鐘到現(xiàn)在電子鐘,不斷研究、創(chuàng)新。為了在觀測時(shí)間的同時(shí),能夠了解其它與人類密切相關(guān)的信息,比如溫度、星期、日期等,電子萬年歷誕生了,它集時(shí)間、日期、星期和溫度功能于一身,具有讀取方便、顯示直觀、功能多樣、電路簡潔等諸多優(yōu)點(diǎn),符合電
子儀器儀表的發(fā)展趨勢,具有廣闊的市場前景。該電子萬年歷主要采用AT89C52單片機(jī)作為主控核心,由DS1302時(shí)鐘芯片提供時(shí)鐘、LCD1602動態(tài)掃描顯示屏顯示。AT89C51單片機(jī)是由Atmel公司推出的,功耗小,電壓可選用4~6V電壓供電;DS1302時(shí)鐘芯片是美國DALLAS公司推出的具有涓細(xì)電流充電功能的低功耗實(shí)時(shí)時(shí)鐘芯片,它可以對年、月、日、星期、時(shí)、分、秒進(jìn)行計(jì)時(shí),還具有閏年補(bǔ)償?shù)榷喾N功能,而且DS1302的使用壽命長,誤差小;數(shù)字顯示是采用的LCD液晶顯示屏來顯示,可以同時(shí)顯示年、月、日、星期、時(shí)、分、秒和溫度等信息。此外,該電子萬年歷還具有時(shí)間校準(zhǔn)等功能!
關(guān)鍵詞:時(shí)鐘電路; 時(shí)鐘芯片DS1302;LCD動態(tài)掃描; 單片機(jī)AT89C52;
溫度傳感器DS18B20;
Abstract
With the society, science and technology, mankind learned that time, from the view of the sun, to the present electronic clock pendulum clock, continuous research and innovation. Observation time in e same time, be able to understand other human beings is closely related to information, such as temperature, week, date and so on, the birth of the electronic calendar, and it set the time, date, week and temperature-in-one, with easy to read, intuitive display functional diversity, and many other advantages of simple circuit with the electronic instrumentation of the development trend of the. market prospects are broad
The main use of the electronic calendar AT89C51 single-chip microcomputer as the main core, provided by the DS1302 clock chip clock, DS18B20 the temperature chip acquisition transition temperature, L CD displa(未完,下一頁)
附件下載:點(diǎn)擊論文吧下載閱讀全文
|