<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Design of Wireless Intelligent Ward Calling System</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Maocai Yang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xin Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yuxin Wang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>He Bing</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Shenyang Ligong University</institution>
          ,
          <addr-line>Shenyang</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Tianjin Agricultural University</institution>
          ,
          <addr-line>Tianjin</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <fpage>43</fpage>
      <lpage>49</lpage>
      <abstract>
        <p>The ward calling system based on STC89C51 single chip microcomputer takes STC89C51 as the core. Through the integrated wireless module and video circuit, the system can transfer information between patients and medical personnel, and encode and make the signal content of wireless notification. Start with the button, and then the radio transmitting module receives the signal, decodes and synthesizes it with the microcomputer. Finally, LCD1602 displays the caller's bed number with an alarm tone. The system has the advantages of high cost performance, convenient operation and maintenance.</p>
      </abstract>
      <kwd-group>
        <kwd>1 STC89C51</kwd>
        <kwd>wireless transceiver</kwd>
        <kwd>LCD1602</kwd>
        <kwd>buzzer</kwd>
        <kwd>call system</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Overall Scheme Design of the System</title>
      <p>
        The whole system is divided into two parts: the transmitting terminal installed in the ward and the
receiving display terminal installed in the medical duty room.[
        <xref ref-type="bibr" rid="ref5 ref6 ref7 ref8">5-8</xref>
        ] The system is an effective call system
for patients and medical staff to establish and maintain.
      </p>
      <p>
        The ward call system uses the organic connection between wired module and wireless module, that
is, the whole call system is developed from wireless technology by wired circuit and wireless
communication module.[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] The call terminal is sent through four call buttons and connected to the
wireless module through wires. The alarm display terminal is connected to the wireless receiving
module, MCU, LCD, buzzer and re button initialization. The wireless receiving module receives signals,
and the single-chip microcomputer LCD control panel and alarm signals. The scheme is shown in Figure
1.
      </p>
      <p>The construction of this system is more in line with the needs of modern society and people. The
project not only uses wireless modules to simplify circuits, but also facilitates installation and
maintenance.</p>
      <p>A total of 4 patients were registered in the same ward, including 1, 2, 3 and 4 beds respectively. The
priority is determined according to the severity of the disease. The "critical patient" of the four beds
presses the call button, the radiation module sends the corresponding signal, the wireless receiving
module receives the signal, and displays the number of beds called by the patient on the monitor
controlled by the chip device. Or multiple patients press the call button at the same time, and the call
system displays the bed number according to their priority. If the priority is higher, the calling system
displays the bed number first. If the priority is lower, the priority is lower. The design of the system is
shown in Figure 2.</p>
    </sec>
    <sec id="sec-3">
      <title>3. System design</title>
    </sec>
    <sec id="sec-4">
      <title>3.1. Hardware system</title>
    </sec>
    <sec id="sec-5">
      <title>3.1.1. Design of transmitting terminal and receiving terminal</title>
      <p>The transmitter is installed in the ward and consists of coded PT2262 chip, transmitter head, help
button, button and 12 V dry battery. Press the call button and press this key to specify the light flashing.
After the coding information, the shipper sends a universal coding circuit with low energy and low price.
Its pin diagram shown in Figure 3.</p>
      <p>The receiving and display terminal is composed of STC8951 single chip microcomputer, wireless
receiving module, LCD1602 and buzzer. The wireless receiving module receives the wireless signal
from the call transmitting terminal, and the STC89C51 single chip microcomputer controls the alarm
display, that is, the LCD1602 displays the bed number of the calling hospital bed, accompanied by the
alarm sound of the buzzer.</p>
      <p>The wireless receiving module is composed of a receiver and a decoded PT2272 crystal. In addition
to the PT2262 and PT2272 address codes, the frequency fluctuation impedance must also be connected.
The decoder is usually 2.5-8 times larger, and the accepted distance is reduced. It is even impossible to
be compatible with the technological progress of the chip market, but in fact, it just needs a simple
resistance. When in use, the larger the external vibration resistance is, the slower the vibration frequency
is. The larger the code width, the longer the transmission time. The pin diagram of PT2272 is shown in
Figure 4.</p>
      <p>The receiver receives signal input PT2272 with 14 input keys (DIN). PT2272 decodes the received
signal and releases it after decoding.</p>
      <p>This is from the basic design. If you press this button, PT2262 will not light up and 17 pin is low.
Therefore, if you press PT2262 to activate the 315MHz frequency transmission line, it will be invalid
and there will be a 17 pin link. Provide the set serial data signal. If 17 low-level pins are used, vibrate
the high-frequency channel 315 MHz and send the same high-frequency signal amplitude, the 315mh
high-frequency channel stops high-frequency vibration, ensure that the high-frequency transmission
phase receives and guides the digital signal output ric, and connect the amplitude from the PT2262
socket to the 100% modulated high-frequency circuit. The schematic diagram of connection mode is
shown in Figure 5.</p>
    </sec>
    <sec id="sec-6">
      <title>3.1.2. Display and alarm circuit</title>
      <p>Press the call button, the wireless transmission module sends relevant information, receives and
decodes the wireless reception module, and LCD1602 and buzzer are integrated. Use LCD1602 to
display mode alarms. LCD1602 can use 8-bit d0-d7 bus to display two 16 symbol lines, three Rs, r/w,
5V operating voltage and 2.0 Ma operating current modes. The module can also use d4-d7 as the four
digit double data of the University of Canterbury. Therefore, i/o port resources can be saved in the
following ways.</p>
      <p>The function of the alarm channel is that the alarm signal displays the patient on the LCD when the
patient presses the call button. LCD displays the number of beds of the caller, and starts the buzzer to
sound and alarm to remind the medical staff. The circuit diagram is shown in 3.9. When the patient
presses the call key, p3.4 is the low level. Connect PNP triplet through current limiting resistor, 2.2k
resistor and signal.</p>
    </sec>
    <sec id="sec-7">
      <title>3.1.3. Check and clear the circuit</title>
      <p>Checking the reset mode is the key to checking the reset circuit. When the patient calls, the bed
number appears on the screen. After receiving the call, press the reset button. When two or more patients
press the call button at the same time, the LCD displays the priority number of the bed. When you press
the reset button, the medical personnel will check that the number of priority position is removed, and
the following priority order will be displayed at the same time.</p>
    </sec>
    <sec id="sec-8">
      <title>3.2. Software system</title>
      <p>The main program flow of the calling system is shown in Figure 6.</p>
      <p>The reminder module is alarmed by buzzer and LCD of LCD1602 server. Run each message to
ensure that the LCM flag BF is 0 and the dabf is equal to 1.0. It is impossible to send data or instructions
before reading and writing data. The "busy flag" must be determined. The flow chart of alarm display
procedure is shown in Figure 7.</p>
    </sec>
    <sec id="sec-9">
      <title>3.3. Software debugging and analysis</title>
      <p>After the program is started and initialized, when a ward call is detected, the ward number will be
displayed and the alarm will ring; If it is detected that there are multiple wards calling at the same time,
judge the priority of the ward, select the ward number with the highest priority to display and ring the
alarm. After the nurse has handled the patient's condition, disconnect the call switch of the
corresponding ward, and the display will display the ward number with the next highest priority to
remind the nurse to go to the hospital for treatment. After the nurse has handled all the conditions, the
system will return to the initial state after resetting and wait for the ward to call again.</p>
      <p>In Figure 8, the ward call switch is k1-k4 from the upper row from left to right, then to the lower
row from right to left, and the corresponding call indicator is D1 ~ D4. Turn on the simulation start
switch, first turn off all ward switches, you can see that the call indicator is not lit, at the same time, the
nixie tube displays "happy every day", and the speaker does not sound an alarm. The circuit design
requires that when multiple wards send a call request at the same time, the digital display tube in the
nurse duty room displays the ward number with the highest priority according to the priority of the ward.
If we press the call switches of channels 3 and 4 at the same time, the ward call indicator lights D3 and
D4 will be on, and the loudspeaker will sound an alarm. Among them, the third channel has the highest
priority. The digital display shows the ward number "3", as shown in Figure 9 above. When the nurse
disconnects the K3 button after handling the patients in ward 3, the digital display will display the ward
number of the next high priority "4".
4号
0d 1d 2d d3 d4 d5 d6 d7</p>
    </sec>
    <sec id="sec-10">
      <title>4. Conclusion</title>
      <p>This paper presents a wired ward call system based on STC89C51 single chip microcomputer and
with priority selection function, and introduces the relevant technical points and design process of the
system from two aspects of hardware and software. The sound and light alarm, priority selection and
correct display of multi-channel call signals are realized. The design uses STC89C51 single chip
microcomputer as the core control unit, which simplifies the circuit structure, breaks through the
shortcomings of the traditional wired call system, such as complex circuit structure and difficult
maintenance, and has strong practicability.</p>
    </sec>
    <sec id="sec-11">
      <title>5. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Guo</given-names>
            <surname>Yunjun</surname>
          </string-name>
          , Zhang huanmei.
          <source>Design and implementation of wireless Sickbed Calling System Based on AT89C51 [J] Shanxi electronic technology</source>
          ,
          <year>2021</year>
          (
          <volume>05</volume>
          ):
          <fpage>27</fpage>
          -
          <lpage>28</lpage>
          +
          <fpage>31</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Li</given-names>
            <surname>Hongxia</surname>
          </string-name>
          .
          <source>Design of wireless Sickbed Calling System Based on STM32 [J] Electronic technology</source>
          ,
          <year>2020</year>
          ,
          <volume>49</volume>
          (
          <issue>04</issue>
          ):
          <fpage>20</fpage>
          -
          <lpage>21</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Hu</given-names>
            <surname>Linlin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Fu</given-names>
            <surname>Long</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Peng</given-names>
            <surname>Yiwei</surname>
          </string-name>
          .
          <article-title>Design of ward wireless calling system based on STC89C52 single chip microcomputer</article-title>
          [J]
          <string-name>
            <surname>Instrument</surname>
            <given-names>technology</given-names>
          </string-name>
          ,
          <year>2019</year>
          (
          <volume>12</volume>
          ):
          <fpage>43</fpage>
          -
          <lpage>45</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Chang</given-names>
            <surname>Luning</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Jin</given-names>
            <surname>Xin</surname>
          </string-name>
          .
          <article-title>Design of MCU wireless calling system [J] Computer products</article-title>
          and circulation,
          <source>2019</source>
          (
          <volume>07</volume>
          ):
          <fpage>165</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Zhang</given-names>
            <surname>Hanwen</surname>
          </string-name>
          , Wei Hao,
          <string-name>
            <given-names>Zheng</given-names>
            <surname>Lin</surname>
          </string-name>
          .
          <article-title>Design and implementation of wireless calling system based on STM32</article-title>
          [J]
          <string-name>
            <surname>Satellite</surname>
            <given-names>TV</given-names>
          </string-name>
          <source>and broadband multimedia</source>
          ,
          <year>2019</year>
          (
          <volume>05</volume>
          ):
          <fpage>5</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Peng</given-names>
            <surname>Xiaoyu</surname>
          </string-name>
          , Du Lulu,
          <string-name>
            <given-names>Xie</given-names>
            <surname>Yang</surname>
          </string-name>
          .
          <article-title>Design of wireless hospital ward calling system based on ZigBee technology</article-title>
          [J]
          <string-name>
            <surname>Jiangsu</surname>
            <given-names>communication</given-names>
          </string-name>
          ,
          <year>2021</year>
          ,
          <volume>37</volume>
          (
          <issue>04</issue>
          ):
          <fpage>69</fpage>
          -
          <lpage>71</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <article-title>[7] CaiQqianhong, zhouni Design and implementation of a simple simplex wireless calling system [</article-title>
          <source>J] Science and technology innovation guide</source>
          ,
          <year>2017</year>
          ,
          <volume>14</volume>
          (
          <issue>14</issue>
          ):
          <fpage>194</fpage>
          -
          <lpage>195</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <article-title>[8] Xuliancheng Simulation design and research of medical call system</article-title>
          [J] Electronic world,
          <year>2020</year>
          (
          <volume>15</volume>
          ):
          <fpage>94</fpage>
          -
          <lpage>95</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Xie</given-names>
            <surname>Jinjin</surname>
          </string-name>
          .
          <article-title>Discussion on the design of wireless medical call system [</article-title>
          <source>J] China new communications</source>
          ,
          <year>2019</year>
          ,
          <volume>21</volume>
          (
          <issue>24</issue>
          ):
          <fpage>40</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Chen</surname>
            <given-names>Xueying</given-names>
          </string-name>
          , Wang Jun,
          <string-name>
            <given-names>Xi</given-names>
            <surname>Youbao</surname>
          </string-name>
          .
          <article-title>Interdisciplinary comprehensive design case of wireless call system based on FPGA [J] Experimental science</article-title>
          and technology,
          <year>2019</year>
          ,
          <volume>17</volume>
          (
          <issue>01</issue>
          ):
          <fpage>41</fpage>
          -
          <lpage>45</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Lou</surname>
            <given-names>Fangke</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            <given-names>Huibin</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Luo</given-names>
            <surname>Deshuang</surname>
          </string-name>
          .
          <article-title>Design and application of replenishment call system in production line [</article-title>
          <source>J] Industry and Technology Forum</source>
          ,
          <year>2018</year>
          ,
          <volume>17</volume>
          (
          <issue>16</issue>
          ):
          <fpage>80</fpage>
          -
          <lpage>81</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>