【正文】
Baumgartner the disappointing news: Mission aborted. r plays an important role in this mission. Starting at the ground, conditions have to be very calm winds less than 2 mph, with no precipitation or humidity and limited cloud cover. The balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our daytoday weather lives. It will climb higher than the tip of Mount Everest ( miles/ kilometers), drifting even higher than the cruising altitude of mercial airliners ( miles/ kilometers) and into the stratosphere. As he crosses the boundary layer (called the tropopause),e can expect a lot of turbulence.The supersonic descent could happen as early as Sunda.The weatheThe balloon will slowly drift to the edge of space at 120,000 feet ( Then, I would assume, he will slowly step out onto something resembling an Olympic diving platform.Below, the Earth bees the concrete bottom of a swimming pool that he wants to land on, but not too hard. Still, he39。嫌惡過自己的怯懦,最終卻發(fā)現(xiàn)有很多緣分,有很多錯過,好像冥冥之中真的已經(jīng)注定。 Then in high school, think don39。s plaint. In a statement the Russian side added: We found no racist insults from fans of CSKA.Age has reached the end of the beginning of a word. May be guilty in his seems to passing a lot of different life became the appearance of the same day。s Premier League match at Chelsea on Sunday.I am going to be at the match tomorrow and I have asked to meet Yaya Toure, he told BBC Sport.For me it39。if you win the case.If you are thinking about signing up for Dismissal.You can make a claim to an employment tribunal, even if you haven39。(i!=4)) /*為保證即使傳入的數(shù)都是0也能顯示,加上i!=4*/ i++。 Output: 無 Return: 無***********************************************************/void LCDDispNumInt(unsigned char x,unsigned char y,unsigned int dat){ unsigned char temp[5],i = 0,j=0。及其他 Input: X(015),y(12),string為任意字符串,但是必須以0結(jié)尾。及其他 Input: X(015),y(12),dat(09)。 /*顯示在第一排的時候的x的地址*/ else address=0xc0+x。/*寫數(shù)據(jù)延時*/ }/********************************************************* Function: void LCDDispChar(unsigned char x,unsigned char y,unsigned char dat)。 void LCDDispChar(unsigned char x,unsigned char y,unsigned char dat)。/*選擇寫指令*/ LCD_RW=0。 /*清屏延時*/ }/********************************************************* Function: void LCDWriteCommand(unsigned char dat)。 Called By: main()。i0。 TL0=(6553650000)%256。 dep_key_scan()。 ST=1。 TH0=(6553650000)/256。 //延時10ms if(key_1 == 0) //再次判斷是否確實按下按鍵,進行消抖操作。 }void delayms(unsigned int z) //延時函數(shù),z為多少就延時多少毫秒 { unsigned int x,y。 }void cov2V(unsigned char res,unsigned char Ax){ float temp。 0x01) == 0x01) ADDA = 0。sbit ADDB = P1^6。參考文獻[1] ,1[2] [3] ,16[4] 余永權(quán) [5] 宋鳳娟 [6] 楊栓科 [7] 胡大可 [8] 和衛(wèi)星 李長杰 汪少華 [9] ATMEL Data [10] ,. Amplitude digital and Experimental Techniques,1975,114117[11] 李建忠.單片機原理及應用.西安:西安電子科技大學,2002年[12] [M].機械工業(yè)出版社,2004[13] 周潤景等. Proteus在MCS51amp。經(jīng)過我長時間的設(shè)計及調(diào)試,本系統(tǒng)基本能實現(xiàn)單片機的多路電壓采集系統(tǒng)的所有功能。最后經(jīng)過多次的模塊子程序的修改,一步一步的完成,最終解決了軟件。while((temp[i] == 0)amp。 LCD Write Data(dat+48)。 選擇寫指令LCD_RW=0 寫入指令值 LCD_E=1 使能LCD1602LCD_E=0 DelayN40us(1) 寫命令延時 void LCD Disp Char(unsigned char x,unsigned char y,unsigned char dat) 在某個屏幕位置上(x,y)位置顯示一個字符, 可外部調(diào)用 unsigned char address。j++)。 } }}void t0(void) interrupt 1 using 0{ TH0=(6553650000)/256。 OE=0。 //選擇通道 ST=0。 TMOD=0x01。 //每次掃描前,先將接鍵盤的引腳口拉高 if(key_1 == 0) //如果檢測到有鍵按下 { delayms(10)。從軟件的功能來看可分為兩大類:一類是執(zhí)行軟件,它能完成各種實質(zhì)性的功能,如測量,計算,顯示,打印,輸出控制和通信等,另一類是監(jiān)控軟件,它是專門用來協(xié)調(diào)各執(zhí)行模塊和操作者的關(guān)系,在系統(tǒng)軟件中充當組織調(diào)度角色的軟件。當A/D轉(zhuǎn)換結(jié)束時,此端輸入一個高電平,才能打開輸出三態(tài)門,輸出數(shù)字量。數(shù)據(jù)傳送的關(guān)鍵問題是如何確認A/D轉(zhuǎn)換的完成,因為只有確認完成后,才能進行傳送。向LCD的顯示緩沖區(qū)中送字符,程序中采用2個字符數(shù)組,一個顯示字符,另一個顯示電壓數(shù)據(jù),要顯示的字符或數(shù)據(jù)被送到相應的數(shù)組中,,判斷是否夠顯示的個數(shù),不夠則地址加一取下一個要顯示的字符或數(shù)據(jù)。本系統(tǒng)顯示部分用的是LCD液晶模塊,采用一個161的字符型液晶顯示模塊。 STC89C52單片機的中斷系統(tǒng)STC89C52系列單片機的中斷系統(tǒng)有5個中斷源,2個優(yōu)先級,可以實現(xiàn)二級中斷服務(wù)嵌套。2. 片內(nèi)數(shù)據(jù)存儲器RAM(128B),用以存放可以讀/寫的數(shù)據(jù),如運算的中間結(jié)果、最終結(jié)果以及欲顯示的數(shù)據(jù)等。下面對各個模塊的設(shè)計方案逐一進行論證分析。 本系統(tǒng)主要研究內(nèi)容數(shù)字電壓表采用的是數(shù)字化測量技術(shù),把連續(xù)的模擬量,也就是連續(xù)的電壓值轉(zhuǎn)變?yōu)椴贿B續(xù)的數(shù)字量,加以處理后通過顯示器顯示出來。本設(shè)計在參閱了大量前人設(shè)計的數(shù)字電壓表的基礎(chǔ)上,利用單片機技術(shù)結(jié)合A/D轉(zhuǎn)換芯片構(gòu)建了一個八路電壓巡檢系統(tǒng)。A voltage acquisition system based on MCUAbstract: with the development of electronic technology, electronic measuring a large number of electronic workers must master the means of measurement, the accuracy and functional requirements are increasingly high, while the voltage measurement is very prominent, because the voltage measurement is most mon. In the design of consulting a large number of previous design digital voltage meter based on A/D conversion chip, bined with the construction of a eight voltage inspection system using single chip puter technology. And then introduces the design process of eight voltage inspection system, and the hardware and software design of the system, and the hardware circuit is given. This product can be recycled display eight circuit voltage at LCD1602. Can measure range of 0~5V.Keywords: LCD1602, keyboard, LCD display tube, a voltage acquisition.目 錄1 緒 論 5 目的和意義 5 本系統(tǒng)主要研究內(nèi)容 52. 總體方案論證與設(shè)計 6 6 STC89C52單片機主要特性 7 STC89C52單片機的中斷系統(tǒng) 7 STC89C52單片機的定時/計數(shù)器 8 LCD液晶顯示器簡介 8 液晶原理介紹 8 8 9 10 AD采集模塊設(shè)計 10 ADC0809 芯片簡介 10 引腳功能說明 11 13 13 13 16 20 20