【正文】
rs , which uses photoelectricity to detect liquid level change in the infusion tube, to determine the infusion is plete or not through discriminating the liquid surface changes of electrical signal. The timely alarm prompt of transfusion pletion transfers the alarm signal to the alarm terminal via the Bluetooth wireless by using the SCM, to achieve the dual alarm which from the machineinfusion test terminal and the host machinealarm terminal. The use of masterslave machine’s Bluetooth can make the whole infusion alarm system to achieve the centralized management which from one host machinealarm terminal to many slave machinesinfusion test terminal over the same time .Bluetooth wireless transmission can make the slave machineinfusion test side to move arbitrarily within the range that host Bluetooth effective signal coverage, so it can solve infusion management problems very well, reduce paramedics’ pressure and ease the lack of paramedic. Key Words: Photodetector, Bluetooth, wireless transmission, Transfusion alarm目 錄 III 目 錄 摘 要 .................................................................................................................................... I ABSTRACT .......................................................................................................................... II 第一章 緒論 ......................................................................................................................... 1 研究的意義 ................................................................................................................. 1 國(guó)內(nèi)外的研究狀況 ..................................................................................................... 1 主要研究?jī)?nèi)容 ............................................................................................................. 1 主要設(shè)計(jì)思路 ............................................................................................................. 1 第二章 系統(tǒng)硬件電路設(shè)計(jì) ................................................................................................. 2 系統(tǒng)總體框圖 ............................................................................................................. 2 從機(jī) 輸液檢測(cè)端 ................................................................................................. 2 主機(jī) 報(bào)警終端 ..................................................................................................... 2 單元電路設(shè)計(jì) ............................................................................................................. 3 電源電路 .............................................................................................................. 3 液面光電檢測(cè) ...................................................................................................... 3 報(bào)警信號(hào)甄別 ...................................................................................................... 5 藍(lán)牙系統(tǒng) ..................................................................................................................... 5 藍(lán)牙模塊外圍電路 .............................................................................................. 6 藍(lán)牙從機(jī)控制電路 .............................................................................................. 7 藍(lán)牙主機(jī)控制電路 .............................................................................................. 7 第三章 系統(tǒng)軟件設(shè)計(jì) ......................................................................................................... 8 輸液檢測(cè)端軟件系統(tǒng) ................................................................................................. 8 報(bào)警終端軟件系統(tǒng) ................................................................................................... 10 第四章 系統(tǒng)調(diào)試與測(cè)試 ................................................................................................... 13 ................................................................................................... 13 光電液面檢測(cè)調(diào)試 ............................................................................................ 13 報(bào)警信號(hào)甄別電路調(diào)試 .................................................................................... 13 藍(lán)牙控制調(diào)試 .................................................................................................... 13 系統(tǒng)軟件調(diào)試 ........................................................................................................... 14 目 錄 IV 從機(jī) 輸液檢測(cè)端單片機(jī)系統(tǒng)調(diào)試 ................................................................... 14 主機(jī) 報(bào)警終端單片機(jī)系統(tǒng)調(diào)試 ....................................................................... 15 單片機(jī)聯(lián)合調(diào)試 ................................................................................................ 16 系統(tǒng)測(cè)試 ................................................................................................................... 16 一對(duì)一系統(tǒng)測(cè)試 ................................................................................................ 16 一對(duì)多系統(tǒng) 測(cè)試 ................................................................................................ 16 第五章 總結(jié)與展望 ........................................................................................................... 18 總結(jié) ........................................................................................................................... 18 不足與展望 ............................................................................................................... 18 致 謝 ................................................................................................................................. 19 參考文獻(xiàn) ............................................................................................................................. 20 附 錄 ................................................................................................................................. 21 附錄一 程序源代碼 .......................................................................