資源描述:
《基于gps的數(shù)字時(shí)鐘設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、Abstract編號(hào):本科畢業(yè)設(shè)計(jì)基于GPS的數(shù)字時(shí)鐘的設(shè)計(jì)與仿真系(院):信息工程學(xué)院姓名:學(xué)號(hào):專(zhuān)業(yè):通信工程年級(jí):指導(dǎo)教師:職稱(chēng):講師完成日期:2012年5月III摘要摘要伴隨著GPS技術(shù)的廣泛應(yīng)用,基于GPS技術(shù)的數(shù)字時(shí)鐘開(kāi)始在人們的生產(chǎn)生活中得到越來(lái)越廣泛的應(yīng)用。本文首先描述系統(tǒng)硬件工作原理,并附以系統(tǒng)結(jié)構(gòu)框圖加以說(shuō)明,著重介紹了本系統(tǒng)所應(yīng)用的各硬件接口技術(shù)和各個(gè)接口模塊的功能及工作過(guò)程,詳細(xì)闡述了程序的各個(gè)模塊和實(shí)現(xiàn)過(guò)程。本設(shè)計(jì)以數(shù)字集成電路技術(shù)為基礎(chǔ),單片機(jī)技術(shù)為核心。本文的主導(dǎo)思想是軟硬件相結(jié)合,使用C語(yǔ)言程序來(lái)實(shí)現(xiàn)對(duì)各功能模塊的控制。為
2、了增加了程序的可讀性和可移植性,本系統(tǒng)使用C語(yǔ)言進(jìn)行程序設(shè)計(jì)。為了便于擴(kuò)展和更改,軟件的設(shè)計(jì)采用模塊化結(jié)構(gòu),使程序設(shè)計(jì)的邏輯關(guān)系更加簡(jiǎn)潔明了。系統(tǒng)使用AT89C51單片機(jī)作為主控芯片,使用DS1302芯片作為主控時(shí)鐘芯片,使用GPS模塊實(shí)現(xiàn)對(duì)數(shù)字時(shí)鐘時(shí)間的校對(duì),并使用1602液晶顯示屏進(jìn)行顯示。本系統(tǒng)使用Proteus進(jìn)行仿真,并且達(dá)到了預(yù)期的效果。關(guān)鍵詞:AT89C51單片機(jī);數(shù)字時(shí)鐘;DS1302;GPS;1602液晶屏IIIAbstractIIIAbstractAbstractAlongwiththerapiddevelopmentofGPStec
3、hnology,theelectronicclockbasedonGPStechnologybegantoplaymoreandmoreimportantroleinourdailylife.Thispaperfirstlydescribesthesystemhardwareworkingprinciple,eachaccompaniedbyadiagramofthesystemstructureoftheelucidation,introducesthissystembytheapplicationofthehardwareinterfacetechn
4、ologyandthefunctionofeachinterfacemoduleandtheworkingprocess,andsecondly,expoundedtheprogrammodulesandrealizationprocess.Thisdesignwithdigitalintegratedcircuittechnologyasthefoundation,microcontrollertechnologyasthecore.Inthispaperthecompilingprincipleiscombiningsoftwarewithhardw
5、are,basedonthepreparationofthefunctionalmodules.ThesystemtakesmicrocontrollerClanguagesoftwaredesign,increasedthereadabilityofourprogramsandportability,tofacilitatetheexpansionandchange,thedesignofsoftwaremodularstructure,maketheprogramdesignoflogicalrelationshipmoreconcise.Syste
6、mthroughAT89C51formicrocontroller,soithasthehighspeed.ThesystemusesDS1302forgettingtime.ThroughusingGPS,sothesystemcanproofreadtime.Systemthrough1602LCDdisplaydataforcarrier,sohasthehumanizedoperateandbeautifulpageeffect.ThesystemhasbeentestedsuccessfullyinProteusplatform.Keyword
7、s:AT89C51microcontroller;digitalclock;DS1302;GPS;1602LCDIII目錄III目錄目錄1緒論11.1GPS數(shù)字時(shí)鐘出現(xiàn)的背景11.2GPS數(shù)字時(shí)鐘出現(xiàn)的意義11.3GPS數(shù)字時(shí)鐘的應(yīng)用22系統(tǒng)電路設(shè)計(jì)32.1系統(tǒng)總體設(shè)計(jì)思路32.2設(shè)計(jì)方案選擇32.3功能介紹42.4工作原理43系統(tǒng)單元電路設(shè)計(jì)53.1單片機(jī)電路設(shè)計(jì)53.1.1單片機(jī)綜述53.1.2AT89C51的引腳及功能63.1.3電源電路設(shè)計(jì)83.2實(shí)時(shí)時(shí)鐘電路設(shè)計(jì)93.2.1DS1302的簡(jiǎn)介93.2.2DS1302的工作原理103.2.3DS1
8、302的寄存器和控制命令103.3GPS硬件設(shè)計(jì)113.3.1GPS的簡(jiǎn)介113