湖北师范学院2009届教育信息与技术学院学士学位论文(设计)基于单片机的医院病床呼叫系统设计摘要:本文主要应用单总线技术和单片机间串行通信技术,研究了基于单片机的一种可靠医院病床呼叫系统,并且运用Proteus和Keil软件仿真效果理想,实现了病床呼叫的功能。它不但能够有效传送呼叫信息,而且能通过数码显示求助病床号和通过蜂鸣器声音求助医护人员,还可以存储呼叫信息、以备查询,同时可以扩展到与计算机联机管理。该系统具有电路结构简单、成本低、可靠性高、布线施工方便易于维护等特点。特别是当病床数目较多时,更具有优越性。关键词:病床呼叫系统串行通信记忆存储单总线技术中图分类号:TP36MCUBasedCallSystemDesignforHospitalAbstract:Thisarticlemainlyintroducedtheapplicationofthesingle-bustechnologyandinter-MCUserialcommunicationtechnical,StudiedareliablecallsystemforhospitalbasedonMCU,andsimulatedthecircuitwithProteusandKeil,theresultsaresatisfactory.Thesystemachievedthefunctionofbedscalling,isabletosendthecallinformationeffectivelyanddisplaythenumberofbedsthroughitsdigitaldisplay,askdoctorsandnursesforhelpthroughSoundbuzzer.Besidesthesystemcanstorecallinformationforquery,andextendedthelinkwithcomputerformanagement.Thesystemhasasimplecircuitstructureandlowcost,highreliabilityandeasywiringconstructionfeatures.Themorethenumberofhospitalbedsis,themoreadvantagesitwouldhas.Keywords:Callsystem;Communication;Memorystorage;Single-bustechnology目录1.前言...................................................................................................................12.系统功能分析及设计要求...............................................................................13.系统总体设计方案...........................................................................................24.主要应用器件及技术原理...............................................................................34.1微处理器介绍...................................................................................................34.2单片机双机串行通信原理...............................................................................54.2.1单片机串行口结构....................................................................................54.2.2单片机双机通信连接................................................................................64.3单片机与PC机通信原理................................................................................74.3.1串行通信总线标准及其接口连接............................................................74.3.2单片机与PC机通信与电平转换..............................................................74.4单总线技术原理...............................................................................................85.系统硬件电路设计...........................................................................................95.1晶振及系统复位电路.....................................................................................105.2呼叫器和查询电路.........................................................................................115.3数码显示电路.................................................................................................115.4报警电路.........................................................................................................126.系统软件设计.................................................................................................136.1系统主、从机软件流程图..............................