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

正文內容

基于at89c51單片機的醫(yī)院輸液監(jiān)控系統(tǒng)畢業(yè)設計(參考版)

2024-12-03 11:08本頁面
  

【正文】 ory that use 8bit addresses (MOVX RI), Port 2 emits the contents of the P2 Special Function Register. Port 2 also receives the highorder address bits and some control signals during Flash programming and verification. Port 3 Port 3 is an 8bit bidirectional I/O port with internal pullups. The Port 3 output buffers can sink/source four TTL inputs. When 1s are written to Port 3 pins they are pulled high by the internal pullups and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current (IIL) because of the pullups. Port 3 also serves the functions of various special features of the AT89C51 as listed below: Port Pin Alternate Functions RXD (serial input port) 蘭州理工大學畢業(yè)設計說明書 TXD (serial output port) INT0 (external interrupt 0) INT1 (external interrupt 1) T0 (timer 0 external input) T1 (timer 1 external input) WR (external data memory write strobe) RD (external data memory read strobe) Port 3 also receives some control signals for Flash pro172。 2 系統(tǒng)改進 蘭州理工大學畢業(yè)設計說明書 參考文獻 [1 ] 蔣力培 1 單片微機實用教程 北京 : 機械工業(yè)出版社 [2 ] 林伸茂 18051 單片機徹底研究實習篇 北京 : 人民郵電出版社 [3 ] 求是科技 1 單片機通信技術與工程實踐 北京 : 人民郵電出版社 [4 ] 李寶連 , 王劍鋼 1 基于 RS485 接口的醫(yī)院輸液監(jiān)控系統(tǒng) 山西電子技術 [5 ] 高海生 , 楊文煥 , 周承高 1 單片機應用技術大全 西安 : 西南交通大學出版社 [6 ] Myke Predko1PC 接口技術內幕 北京 : 中國電力出 版社 [7 ] 陳平 ,陳彥 . 實時監(jiān)護系統(tǒng)的設計與實現(xiàn) 計算機工程與應用 [8 ] 李軍玲 ,郭明春 ,王麗萍 . 醫(yī)用點滴監(jiān)視器的設計與實現(xiàn) 大連大學學報 [9 ] 范建偉 . BP01 型壓力傳感器及其在便攜式電子血壓計中的應用 國外電子元器件 [10] 范紅剛 ,馮成 ,胡建國等 . 數(shù)字人體心率檢測儀的設計 電子工程師 [11] 繆家鼎 ,徐文娟 ,牟同升 . 光電技術 浙江大學出版社 [12] 王功利 ,劉 景 ,蔣建華 . 紅外對管及其在測量滴流速度方面的應用 電子技術應用 [13 ]徐君毅 ,張友德 ,王小勇 . MCS 51 單片微機原理與應用 復旦大學出版社 蘭州理工大學畢業(yè)設計說明書 外文 原文與翻譯 英文: AT89c5l Features? Compatible with MCS51? Bytes of InSystem Reprogrammable Flash : 1,000 Write/Erase Static Operation: 0 Hz to 24 Program Memory x 8bit Internal Programmable I/O 16bit Timer/ Interrupt Serial Idle and Powerdown Modes. Description The AT89C51 is a lowpower, highperformance CMOS 8bit microputer with 4K bytes of Flash programmable and erasable read only memory (PEROM).The deviceis manufactured using Atmel’s highdensity nonvolatile memory technology and is patible with the industrystandard MCS51 instruction set and pinout. The onchip Flash allows the program memory to be reprogrammed insystem or by a conventional nonvolatile memory programmer. By bining a versatile 8bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microputer which provides a highlyflexible and costeffective solution to many embedded control applications. The AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16bit timer/counters, a five vector twolevel interrupt architecture,a full duplex serial port, onchip oscillator and clock addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters,serial port and interrupt system to continue functioning. The Powerdown Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the nexthardware reset. Pin Description VCC: Supply voltage. GND: Ground. Port 0 Port 0 is an 8bit opendrain bidirectional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as 蘭州理工大學畢業(yè)設計說明書 highimpedance inputs. Port 0 may also be configured to be the multiplexed loworder address/data bus during accesses to external program and data memory. In this mode P0 has internal pullups. Port 0 also receives the code bytes during Flash program172??梢岳冕t(yī)院已有的報警裝置 , 不需要醫(yī)院重新布線 , 從而合理利用已有資源。該裝置將多門學科有機地結合起來 , 并成功的應用到實際的問題中去了。當液位低于設定值或按下緊急呼叫鍵(接在 )時會啟動報警程序,直到按下接在 的停止報警鍵,報警停止。當 輸出低電平“ 0”時,二極管正向偏置而發(fā)光;當 輸出高電平“ 1”時,二極管反向偏置而不發(fā)光。 顯示 子 程序流程圖如圖 57: 蘭州理工大學畢業(yè)設計說明書 圖 47 顯示 子 程序流程圖 顯示子程序代碼 DISPLAY: MOV A , 21H;取 5s計數(shù)值 MOV B , 10; 16 進制轉換為 10 進制 DIV AB; A/B 的商存入 A,余數(shù)存入 B MOV R1 , A; R1 存放十位數(shù) MOV R2 , B; R2 存放個位數(shù) ADD B , R2;相當于 B*2 MOV R2 , B ADD B , R2;相當于 B*4 MOV R2 , B ADD B , R2;相當于 B*8 ADD B , R2;相當于 B*12 ADDC A , R1;相當于 A*2 MOV R1 , A ADDC A , R1;相當于 A*4 MOV R1 , A 開始 取 5S 計數(shù)值 16 進制轉換為 10 進制 將 10進制計數(shù)值乘以 12 將每分滴速值放入顯示緩沖區(qū) 兩位動態(tài)顯示 返回 蘭州理工大學畢業(yè)設計說明書 ADDC A , R1;相當于 A*8 ADDC A , R1;相當于 A*12 MOV R1 , A;此時 R1 存放以分為單位的十位數(shù) MOV R2 , B;此時 R2 存放以分為單位的個位數(shù) MOV R3 , 50;設導通頻率為 50 LOOP1:MOV A , R2;取個位數(shù) ACALL CHANG;調用顯示 CLR ;開個位顯示 ACALL DLY10ms;調用延時 10ms 程序 SETB ;開關個位顯示 MOV A , R1;取十位數(shù) ACALL CHANG;調用顯示 CLR ;開十位顯示 ACALL DLY10ms;調用延時 10ms 程序 SETB ;開關十位顯示 RET CHANG:MOVC A , A+DPTR;取表子程序 MOV P0 , A RET DLY10ms: MOV R6 , 20 D1: MOV R7 , 248 DJNZ R7 , $ DJNZ R6 , D1 RET;延時返回 TABLE:DB 0C0H,0F9H,0A4H,0B0H DB 99H,92H,82H,0F8H DB 80H,90H,88H,83H DB 0C6H,0A1H,86H,8EH 蘭州理工大學畢業(yè)設計說明書 RET 液位檢測 子 程序設計 液位檢測子程序流程圖 圖 48 液位檢測 子 程序流程圖 液位檢測子程序代碼 YY: JNB , LA;檢測輸入信號 LA: ACALL DELLY1;延時消抖 JNB , ALARM;再次檢測,若有輸入轉入報警子程序 AJMP LP DELAY1:MOV R1 , 0AAH LD2: MOV R2 , 0BBH LD1: NOP DJNZ R2 , LD1 開始 檢測液位信號 延時消抖 再次檢測 本次值 =上次值? 報警 Y 返回 N 蘭州理工大學畢業(yè)設計說明書 DJNZ R1 , LD2 RET 聲光報警子程序設計 蜂鳴器 通過三極管電阻 接在了 AT89C51 的 口上, 接三極管的基極輸入端 ,當 輸出高電平“ 1”時,三極管導通,蜂鳴器通電而發(fā)音;當 輸出低電平“ 0” 時,三極管截止,蜂鳴器停止發(fā)音。 系統(tǒng)設計要求 滴液速度 為 1/3~ 1/5 滴 每 秒 ,輸液滴速慢, 以頻率的標準方式顯示顯然會影響精度,程序設計數(shù)碼管以滴 /分的標度進行顯示,可以減小滴速顯示誤差。也就是說,當 輸出為 0 時,三極管導通,與其相連的共陽極數(shù)碼管顯示器開始工作; 輸出為 1時,三極管截止,與其相連的共陽極數(shù)碼管顯示器停止工作。 兩位位選端不是與 P2 口直接連接,而是通過三極管連接,這樣是為了增加驅動能力。 為了增加測量精度,先測出 5s 內的液滴數(shù),然后將
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1