【正文】
s such rotational speed table operating principles, structure and rotational speed switching circuit design. The design is a decoder MC14499, which is integrated high degree LED Motorola panies that drive, a dynamic scanning driven four LED digital display control. It sets Suocun, decoding, driving, scanning, the clock on integration. This design can realtime the speed display which measured, simultaneously can also accumulate demonstrates the total course number. This speed odometer can input the sensor to monolithic integrated circuit39。s timeliness, system39。s resources. 。s speed and the course value use 8 demonstrations, and contains two decimal places. This article introduced one kind based on the monolithic integrated circuit AT89C2051 speed odometer39。s arithmetic operation function the cycle transforms the speed, simultaneously each second carries on a course to accumulate, thus calculates the total course. Finally will obtain the speed, the course value save in E2PROM, and demonstrates the speed or the course according to two pressed key39。s output by every year 27% speed increase, to had reached 3,000,000,000 pieces at the beginning of the century, but our country39。s development speed let the mon people exclaim in surprise sufficiently that took one kind of brandnew productive forces take the puter as the leading information technology, to society39。s each mand system and each kind of development debugging aids, design highly effective, reliable, the low power loss, the volume smaller monolithic integrated circuit application system, manifested monolithic integrated circuit39。s precision is high, the linearity is good。s use enhanced system39。s automobile. This kind of exquisite instrument has pared to the other similar products obvious merit: 1st, the circuit design is exquisite, strict. Has used the high performance integrated circuit and the electronic ponent, the guarantee circuit has the high quality。s electronic formula rotational speed odometer to be able the rapidly expand. Present39。s function has two。 綜上所述,本文介紹了一種基于單片機 AT89C2051 的速度里程表的設計方法。本設計用測量脈沖頻率來計算速度,因而具有較高的測速精度。單片機利用定時器 T0 的控制功能測出輸入信號的周期后,再利用單片機的算術(shù)運算功能將周期轉(zhuǎn)換成速度,同時每秒鐘進行一次里程累計,從而計算出總里程。 該設計能實時地將所測的速度顯示出來,同時也能夠累計顯示總里程數(shù)。它具有功能多 ,功耗小、直觀準確 ,可顯示時間、限速報警系統(tǒng)、打印、瞬間轉(zhuǎn)速等優(yōu)點。 關(guān)于轉(zhuǎn)速表的設計已經(jīng)有很多可供參考 ,但大部分都是由機械式或模擬數(shù)字電路來實現(xiàn)的。 就目前而言,單片機的發(fā)展勢頭依然不減,各種型號和功能更強的單片機和超級接口芯片不斷出現(xiàn),進一步向高層次發(fā)展的重要標志就是構(gòu)成多機系統(tǒng)和分布式網(wǎng)絡。 機電一體化是當今制造技術(shù)和產(chǎn)品發(fā)展的主要傾向,也是我國機電工業(yè)發(fā)展的必由之路。 單片機課程是已們實踐性很強的專業(yè)技術(shù)課程,初學者只有通過大量的編程、實驗、調(diào)試、設計制作等一系列的實踐環(huán)節(jié)的訓練,才能真正理解單片機軟件及硬件設計和調(diào)試技巧,才能靈活的運用單片機的各條指令系統(tǒng)和各種開發(fā)調(diào)試工具,設計出高效、可靠、低功耗、體積更小的單片機應用系統(tǒng),充分體現(xiàn)單片機的嵌入式應用特色。再利用霍爾傳感器傳輸信號。 霍爾傳感器具有許多優(yōu)點,它們的結(jié)構(gòu)牢固,體積小,重量輕,壽命長,安裝方便,功耗小,頻率高(可達 1MHZ),耐震動,不怕灰塵、油污、水汽及鹽霧等的污染或腐蝕。K 1 為小計里程清零鍵,R4用于調(diào)節(jié)液晶顯示器的視角對比度。你可以把速度調(diào)整到最高,也可以調(diào)整到一個固定值,比如 300 邁 . 依據(jù)車型不同,速度有所不同,可以通過調(diào)整儀器上速度旋鈕改變速度。 操作簡單,使用方便。 這種小巧的儀器有著比其它同類產(chǎn)品明顯的優(yōu)點: 電路設計精湛,嚴密。凡此種種,使得基于非接觸式轉(zhuǎn)速傳感器的電子式轉(zhuǎn)速里程表得以迅 速發(fā)展?,F(xiàn)代汽車正向高速化方向發(fā)展,隨著車速的提高,用軟軸驅(qū)動的傳統(tǒng)車速里程表受到很大的挑戰(zhàn),這是因為軟軸在高速旋轉(zhuǎn)時,由于受鋼絲承受能力極限的限制而容易斷裂,同時,軟軸布置過長會出現(xiàn)形變過大或運動遲緩等現(xiàn)象,而且,對于不同的車型,轉(zhuǎn)速里程表的安裝位置也會受到軟軸長度及彎曲度的限制。這種跑表器使用中規(guī)模集成電路設計而成,體積小巧,運行穩(wěn)定,適用于各種電子傳感器的汽車上使用。為了提高電路工作的可靠性,不但元件經(jīng)過精心篩選,而且經(jīng)過 2400 個小時的烤機試驗,它的外殼小巧,可以方便地裝在口袋中,隨時可以拿出來使用。即使接反,也不會損壞儀器,更不會損壞車上任何東西 . 速度可以調(diào)整。該顯示共分兩行顯示,第一行 6 位顯示累計里程,第二行 4 位(1位小數(shù))用于顯示小計里程。為了保證累計里程單元的個位或小計單元的小數(shù)位可靠刷新,當這些單元接近極限使用周期時,可采取換頁的辦法來使這些數(shù)據(jù)移動到新單元以繼續(xù)計數(shù)。 本設計以單片機 AT89C2051 來實現(xiàn)里程累計、小計、清零及存儲,并以 LM1819集成電路驅(qū)動十字線圈表頭,從而實現(xiàn)了車速的指示。當然,這只是一種實現(xiàn)方案,也可以由單片機通過軟件來驅(qū)動十字線圈表頭,即由單片機分別控制表頭的正弦 線圈和余弦線圈而省去 LM1819 集成電路。 近年來,微型計算機的發(fā)展速度足