基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)_第1頁
基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)_第2頁
基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)_第3頁
基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)_第4頁
基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)_第5頁
已閱讀5頁,還剩154頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)(可以直接使用,可編輯優(yōu)秀版資料,歡迎下載)

基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)(完整資料)(可以直接使用,可編輯優(yōu)秀版資料,歡迎下載)沈陽理工大學(xué)應(yīng)用技術(shù)學(xué)院畢業(yè)設(shè)計(論文)題目:基于單片機(jī)的數(shù)字電子秒表的設(shè)計與實現(xiàn)系別:信息工程系專業(yè):自動化學(xué)生姓名:胡培指導(dǎo)教師:唐朝仁年月日摘要近年來隨著科技的飛速發(fā)展,單片機(jī)的應(yīng)用正在不斷的走向深入.本文闡述了基于單片機(jī)的數(shù)字電子秒表設(shè)計.本設(shè)計主要特點是計時精度達(dá)到0.001s,解決了傳統(tǒng)的由于計時精度不夠造成的誤差和不公平性,是各種體育競賽的必備設(shè)備之一。另外硬件部分設(shè)置了查看按鍵,可以對秒表上一次計時時間進(jìn)行保存,供使用者查詢。本設(shè)計的數(shù)字電子秒表系統(tǒng)采用AT89C52單片機(jī)為中心器件,利用其定時器/計數(shù)器定時和記數(shù)的原理,結(jié)合顯示電路、LED數(shù)碼管以及外部中斷電路來設(shè)計計時器。將軟、硬件有機(jī)地結(jié)合起來,使得系統(tǒng)能夠?qū)崿F(xiàn)五位LED顯示,顯示時間為0~99。999秒,計時精度為0.001秒,能正確地進(jìn)行計時,同時能記錄一次時間,并在下一次計時后對上一次計時時間進(jìn)行查詢。其中軟件系統(tǒng)采用匯編語言編寫程序,包括顯示程序,定時中斷服務(wù),外部中斷服務(wù)程序,延時程序等,并在WAVE中調(diào)試運行,硬件系統(tǒng)利用PROTEUS強(qiáng)大的功能來實現(xiàn),簡單切易于觀察,在仿真中就可以觀察到實際的工作狀態(tài)。關(guān)鍵字:單片機(jī);數(shù)字電子秒表;仿真AbstractWiththerapiddevelopmentofscienceandtechnologyinrecentyears,SCMapplicationsareconstant-depthmanner.Inthispaper,basedonsinglechipdesignofdigitalelectronicstopwatch.Themaincharacteristicsofthisdesigntimingaccuracyof0。001s,tosolvethetraditionalresultofalackaccuracyduetotimingerrorsandunfair,andisavarietyofsportscompetitions,oneoftheessentialequipment。InadditionthehardwarepartofthesetViewbuttononthestopwat(yī)chcanbethelasttimetosavetimeforuserqueries.Thedesignofthemulti—functionstopwatchsystemusesSTC89C52microcontrollerasthecentraldevice,anduseitstimer/countertimingandthecountprinciples,combinedwithdisplaycircuit,LEDdigitaltube,aswellastheexternalinterruptcircuittodesignatimer。Thesoftwareandhardwaretogetherorganically,allowingthesystemtoachievetwoL(fēng)EDdisplayshowsthetimefrom0to99.999seconds,Timingaccuracyof0.001seconds,Beabletocorrectlytimeatthesametimetorecordatime,andthenexttimeafterthelasttimethetimetosearch.automaticallyaddedasecondinwhichsoftwaresystemsusingassemblylanguageprogramming,includingthedisplayprogram,timing,interruptservice,externalinterruptserviceroutine,delayprocedures,keyconsumershakingprocedures,andWAVEinthecommissioning,operation,hardwaresystemusestoachievePROTEUSpowerful,simpleandeasytoobservethecutinthesimulat(yī)ioncanbeobservedontheactualworkingcondition.Keyword:LEDdisplay;High—precisionstopwatch;STC89C52目錄TOC\o”1-3”\h\z\u緒論PAGEREF_Toc250389675\h11硬件設(shè)計PAGEREF_Toc250389676\h41.1總體方案的設(shè)計PAGEREF_Toc250389677\h41.2單片機(jī)的選擇PAGEREF_Toc250389678\h51。3顯示電路的選擇與設(shè)計PAGEREF_Toc250389679\h8HYPERLINK\l"_Toc250389680"1.4按鍵電路的選擇與設(shè)計PAGEREF_Toc250389680\h111。5時鐘電路的選擇與設(shè)計PAGEREF_Toc250389681\h12HYPERLINKtransitiontoalow”energystate”,itwillreleaseanelectromagneticwave。Thischaracteristicfrequencyelectromagneticwavesisnotcontinuous,whichiswhatpeoplesaidresonancefrequency.Thesameatomicresonancefrequencyisacertaindegreeof—forexample,theresonancefrequencyofcesium-133persecond9,192,631,770weeks.Therefore,cesiumatomswillbeusedasametronometokeephighlyaccuratetime。30years,therabbiandhisstudentsatColumbiaUniversity’slaborat(yī)orystudiesthefundamentalcharacteristicsofat(yī)omsandnuclei.Thatis,inhere,theyarerelyingonthisatomicclockinthetimertocreat(yī)eavaluablefirststeptaken。Initsstudyprocess,therabbisinventedatechnologycalledmagneticresonance。Relyonthetechnology,hewillbeabletomeasuretheatom’snaturalresonancefrequency。Tothisend,healsowonthe1944NobelPrize.Inthesameyear,healsofirstproposed,”todiscusstodiscusssuchanidea"(sosayshisstudents),whichistheaccuracyoftheseresonantfrequenciesaresohigh,canbeusedtoproducehigh-precisionclock.Inparticular,heproposedtomakeuseoftheso-calledatomic"super-finetransition”frequency。Thisreferstothehyperfinetransitionwiththedifferencesbetweenatomicnucleiandelectronicchangesinthemagneticeffectcausedbytheenergydifferencebetweenthetwohasasubtletransitionbetweenthestate.Inthisclock,thebunchisinaspecific”super—finestate”oftheat(yī)omicbeampassesthroughanoscillatingelectromagneticfield.Whentheatomichyperfinetransitionfrequencyoftheoscillationfrequencyclosertothemagneticfield,atomsabsorbenergyfromthemagneticfieldthemore,resultingfromtheoriginalhyperfinestatetomakeastat(yī)eoftransition.Throughafeedbackloop,onecanadjustthefrequencyofoscillationfielduntilalltheatomstocompletethetransition。Atomicclockistheuseoffieldoscillationfrequencyoftheresonantfrequencyofatomsmaintainthesamefrequencyasthetimeofthepulsegeneratedmetronome.People'sdailylivesneedtoknowtheexacttime,production,scientificresearchespecially.Itusuallyusedinwat(yī)chesandclocks,andhighprecisionofabout1minuteperyearwillbetheerror,whichisnoimpactondailylife,butindemandingproduction,researchontheneedformoreaccuratetimingtool.Theworld'smostaccurateatomicclocktimingtoolis,itisthe20thcentury,50yearstoarise。Atomicclockistheuseofatomicabsorptionorreleaseofenergywhentheelectromagneticwavesemittedtotiming.Becauseofthiselectromagneticwaveisverystable,combinedwithusingaseriesofsophisticatedinstrumentstocontrol,atomicclocktimingcanbeveryaccurate.Nowusedinatomichydrogeninsidetheelement(Hactare),cesium(Seterium)),Rubidium(Russium)andsoon。Atomicclockaccuracycanbeachievedonlyevery100yearserrorof1second。Thisastronomy,navigation,Astronauticalprovidestrongprotection.Thediscoveryofthehumanhistoryofatomicclocks:Untilthiscentury,20years,themostaccurateclock,oraretherulesdependonthependulumswing.Replacethemwithmoreaccurateclocksarebasedonvibratingquartzcrystaltherearerulestomanufacture,thisclockerrorofnotmorethanone-thousandthofsecondsperday。Evensoprecise,butit

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論