freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機的遙控多用寬頻轉(zhuǎn)速計-免費閱讀

2025-10-01 17:34 上一頁面

下一頁面
  

【正文】 Vision Project...,接著會彈出一個保存的菜單,選擇要保存的文件位置,將命名欄寫上“程序調(diào)試 .c”然后點擊保存。另外重要的一點,只要看一下 編譯后生成的匯編代碼,就能體會到 Keil C51 生成的目標代碼效率非常之高,多數(shù)語句生成的匯編代碼很緊湊,容易理解。 //計滿 1秒鐘標志位置 1 count=0。 //定時器 T1啟動 TH1=0。 //定時器 T0的低 8位設(shè)置初值,每 50ms產(chǎn)生一次中斷 EA=1。 點擊測速程序流程圖 void main(void) { pwm=0。 while(*p!=39。i++) //寫入 0000 { lcd12864sid=0。0x80)。i++) //0000 { lcd12864sid=0。0x80)。 lcd12864sid=0。 delayus()。i5。 } uchar lcd12864_busy_test() { uchar temp。i4。i++) { lcd12864sid=(bit)(cmdamp。i4。i++) { lcd12864sid=(bit)(cmdamp。i3。 for(i=0。 lcd12864sclk=0。 lcd12864sclk=0。 delayus()。 21 lcd12864sclk=1。 //0x06指定在數(shù)據(jù)的讀取和寫入時,設(shè)定游標的移動方向及指定顯示的移位。 //將個位數(shù)字的字符常量寫入 LCD void lcd12864_init() { delayms(50)。 //取千位 j=(x%1000)/100。 LCD12864 程序的流程圖 19 LCD12864 部分程序 void display_sym(void) { lcd12864_write_data(39。 //開中斷 TR0=1。 if(i==33) { irok=1。 //用于計數(shù) 2個下降沿之間的時間 } /* 開始 置堆棧寄存器處置 設(shè)定時器 T0為定時方式 2 設(shè)定初值 設(shè)外部中斷 INT0 為下降沿觸發(fā) 清接收引導(dǎo)碼標志 清定時計數(shù)器 關(guān)定時器 T0 開 TNT0中斷,開總中斷 處理其他工作 17 外部中斷 0中斷處理 */ void EX0_ISR (void) interrupt 0 //外部中斷 0服務(wù)函數(shù) { static unsigned char i。每當 INT0 外管腳信號下降沿到來時,外部中斷 INT0 發(fā)生中斷,啟動定時器 T0,定時器每次中斷一定時間并累加到計數(shù)器中,在下一次外部中斷 INT0 發(fā)生中斷時讀取定時計數(shù)器中的時間,通過對兩個脈沖之間的分析來對遙控器功能進行解碼。掉電檢測( Browout 缺省為產(chǎn)生復(fù)位,也可設(shè)置為產(chǎn)生中斷) ( 20)降低 EMI 模式(通過 AUXR SFR 不允許 ALE 輸出時鐘) ( 21)四個 8 位 I/O 口( 32 根輸入輸出線) ( 22)雙 DPTR 指針(查表,尋址更方便) ( 23) SPI 串行接口 ( 24)兼容 TTL 和 CMOS 15 第 6 章 軟件設(shè)計 軟件的設(shè)計主要是通過對單片機的控制,完成對電機速度的測量。 指令 7:字符發(fā)生器 RAM 地址設(shè)置。 1602 液晶模塊內(nèi)部的控制器共有 11條控制指令,如表所示: 序號 指令 RS R/W D7 D6 D5 D4 D3 D2 D1 D0 1 清顯示 0 0 0 0 0 0 0 0 0 1 2 光標返回 0 0 0 0 0 0 0 0 1 * 3 置輸入模式 0 0 0 0 0 0 0 1 I/D S 4 顯示開 /關(guān)控制 0 0 0 0 0 0 1 D C B 5 光標 或字符移位 0 0 0 0 0 1 S/C R/L * * 6 置功能 0 0 0 0 1 DL N F * * 11 7 置字符發(fā)生存貯器地址 0 0 0 1 字符發(fā)生存貯器地址 8 置數(shù)據(jù)存貯器地址 0 0 1 顯示數(shù)據(jù)存貯器地址 9 讀忙標志或地址 0 1 BF 計數(shù)器地址 10 寫數(shù)到 CGRAM或 DDRAM) 1 0 要寫的數(shù)據(jù)內(nèi)容 11 從 CGRAM或 DDRAM讀數(shù) 1 1 讀出的數(shù)據(jù)內(nèi)容 表 的 控制命令表 1602 液晶模塊的讀寫操作、屏幕和光標的操作都是通過指令編程來實現(xiàn)的(說 明: 1為高電平、 0 為低電平) 指令 1:清顯示,指令碼 01H,光標復(fù)位到地址 00H位置。 第 3 腳: VL為 液晶顯示器對比度調(diào)整端,接正電源時對比度最弱,接地時對比度最高,對比度過高時會產(chǎn)生 “ 鬼影 ” ,使用時可以通過一個 10K 的電位器調(diào)整對比度。S 輸出下降時間 tf 181。因此我們可以把電子運動速度表示為 v=181。 由上式可見,霍爾電壓的大小決定于載流體中電子的運動速度,它隨載流體 7 材料的不同而不同。 霍爾效應(yīng)及原理 在置于磁場的導(dǎo)體或半導(dǎo)體時通入電流,若電流與磁場垂直,則在與磁場和電流都垂直的方向上會出現(xiàn) 一個電熱差,這就叫做霍爾效應(yīng)。 脈沖位置編碼 (PPM 碼 ) 脈沖位置編碼方式采用相同的脈沖串寬度,但脈沖串之間的間距不同,所以周期也不相同,也可以看作脈沖串的位置不同。接收系統(tǒng)包括光電轉(zhuǎn)換放大器、解調(diào)和解碼等電路。 經(jīng)過對軟件程序的設(shè)計和調(diào)試以后,將調(diào)試好的程序燒制到 STC89C52單片機中測試電機的轉(zhuǎn)速,測出的結(jié)果與 5V直流電機額定轉(zhuǎn)速基本相同,滿足了對本論文設(shè)計精度的要求。 在測速中間,傳感器的應(yīng)用是必不可少的。 關(guān)鍵詞: 紅外線發(fā)射器、接收模塊、直流電機、霍爾傳感器 OH44E、 SCT89C52單片機、 LCD12864顯示 屏。 隨著科技的飛速發(fā)展,計算機應(yīng)用計數(shù)日益滲透到社會的生產(chǎn)生活的各個領(lǐng)域,而單片機的應(yīng)用作用則起到了舉足輕重的作用。 簽名: 年 月 日 授權(quán)聲明 本人完全了解許昌學(xué)院有關(guān)保留、使用本科生畢業(yè) 論文(設(shè)計) 的規(guī)定,即:有權(quán)保留并向國家有關(guān)部門或機構(gòu)送交畢業(yè) 論文(設(shè)計) 的復(fù)印件和磁盤,允許畢業(yè) 論文(設(shè)計) 被查閱和借閱。本人授權(quán)許昌學(xué)院可以將畢業(yè) 論文(設(shè)計) 的全部或部分內(nèi)容編入有關(guān)數(shù)據(jù)庫進行檢索,可以采用影印、縮印或掃描等復(fù)制手段保存、匯編 論文(設(shè)計) 。在數(shù)字系統(tǒng)測量 以前, 模擬量的采集和模擬處理一直是轉(zhuǎn)速測量的主要方法,這種測量方法已不能適應(yīng)現(xiàn)代科技發(fā)展的要求,在測量范圍和測量精度上,已不能滿足大多數(shù)系統(tǒng)的使用。 Based on single chip microputer remote control dc motor speed traps set ABSTRACT This paper introduces a design of infrared remote control system on its own, it USES decimal count \ pulse distributor MN4017 chip, infrared sensor, ir emitter make remote control switch, speed control of a dc motor can switch control, makes the doppler velocimeter can work normally, of a dc motor speed, and the results show that out speed. The test of a dc motor speed, there are several ways, this paper mainly introduces the application of dc motor hall yuanyuan pieces for speed. Starting in the 1880 s hall element, has now been widely applied in all kinds of motor speed. It was born make the motor speed bees more convenient, and greatly reduce the production cost, and soon became popular in the world, the future development is very light. First the graduation design with the single chip processor as the core to control, the hall element and remote control precise control. Rely on the basic principle of the hall element of dc motor precise speed measurement, and the results show that in the LED display. Single chip microputer as a control the core, in design, the design of the single chip microputer to have a prehensive understanding, understanding the function of single chip. The SCM way of working and data transmission instructions addressing way, instructions, counter, analogtodigital conversion, and the outer circuit connected to fully understand. The remote control as control tool, and requirements of singlechip processor is precise control, LED display also requires precise precision. Second, this thesis for hardware and software design waking the detailed explanation, including the remote control chip internal circuit diagram of the position, single chip and pin function of introduction, LED display system, data storage structure of the research, the buffer circuit connected, the simulation of the whole programming ideas and rendering method, etc. The design of the graduation thesis abroad to conform to the trend of the development of dc motor speed traps, made full use of the single chip microputer post and telemunications, make general have improved. Keywords: Infrared transmitters, receiving module, dc motors, hallOH44E, SCT89C52 microcontroller, original LCD12864display scr
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1