【正文】
The introduction In today39。s society, along with the development of science and technology changes with each passing day, especially the development of puter technology by leaps and bounds, the puter technology with scientific research and production of many major leap forward, at the same time, the puter is being more and more widely applied to every aspect of people39。s life and work areas. Single chip microputer with its small size, strong function, high speed, low price advantages, in the data processing and realtime control application has inparable superiority, can be widely embedded in such as toys, household appliances, instrumentation, automotive electronics, robot systems, industrial control unit, office automation equipment, financial electronic systems, ships, personal information and munications terminal products. With (micro control technology in the high performance control technology of software and hardware)39。s growing and development, MCU application will cause a great change of the traditional control technology. The application of single chip microputer breadth and depth, has bee a national science and technology is an important sign of level. In order to further deepen the understanding of single chip microputer and its interface, master the design method of hardware and software, to consolidate the university four years of learning, also give yourself a chance to practice, a few months, we devote this graduation design basic health monitor the human body. This system is applied to realtime monitor the body39。s basic vital signs: heart rate, body temperature, blood pressure. Traditional measurement methods, especially the blood pressure measurement, which USES the measurement of blood pressure, plicated operation process needs to be done there are professionals, can39。t pletely meet the basic to the human body health and dynamic one to understand the requirements. Basic health monitor sets and human body measure heart rate, body temperature, blood pressure, as a whole, and handled by single chip microputer control, the general population can be easy to use, without the need for a professional medical knowledge, believe that certain destinations for the masses. Is found that the problem of thinking, problem solving, we basically pleted the graduation design task. But due to time and limited experience bined with the lack of actual inspection, our design must have many shortings, hope the teacher can give correct and further help. In the design and Zhang Xiyang my classmates a group, to plete the task, he is mainly responsible for hardware design, I mainly responsible for the preparation of the software part. So this paper introduces the hardware part focuses on the software part will be the basis of writing. The total scheme 1. project demonstration and the working principle of the system This system by setting up three works: keyboard heartbeats, body temperature, blood pressure testing. Heartbeat detection using sensor will heartbeat signals into a single chip microputer can accept, once every beat produces a pulse, make SCM generate an interrupt, every time, in addition to interrupt a count, every minute of the day on a heart rate sampling and statistics. Body temperature detection of the digital temperature sensor chip DS18B20 temperature measurement. Measurement data decoding, through CD4511 input digital tube display. Measurement data if the transfinite alarm. Blood pressure detection BP01 type pressure sensor is used to change the pressure signal into electrical signal through the opamp by ADC0809 is converted into digital quantity into single chip. If blood pressure transfinite alarm. The scheme can effectively, realtime monitoring parameters measurement of heart rate, body temperature, blood pressure these requirements, can achieve the indicators of system design, the design scheme is feasible. overall scheme 2 the hardware design master control chip MCS 51 The main function MCS 51 single chip microputer is the von neumann proposed by the classic puter architecture framework, that is, a puter is by arithmetic unit, controller, memory, input devices and output devices, a total of five basic parts. MCS 51 single chip microputer in a chip used CPU, RAM, ROM, timer/counter and multifunction I/O port, etc. MCS 51 single chip microputer system structure diagram is shown in figure 1. Figure MCS 51 single chip microputer system structure diagram By the graph, you can see that single chip microputer internal mainly includes the following several parts: (1) 8bit CPU (2) an onchip oscillators, oscillation frequency range of ~ 12 MHZ f, can have the clock output (3) 128 bytes of data in memory (4) 4 k bytes of memory on chip program (5) program memory address in the range of 64 k bytes 6 pieces of external data memory addressing in the range of 64 k bytes All landowners four 8bit parallel I/O interface: P0, P1, P2, P3 Today two 16 bit timer/counter Petname ruby interrupt system with five interrupt source The MCS 51 single chip microputer internal structure MCS 51 single chip microputer chip internal structure diagram as shown in figure 2. Figure 2 MCS 51 single chip microputer chip internal structure (1) the CPU The central processing unit (CPU) is the core ponent of the single chip microputer, is the width of 8 bits of data processor, can deal with 8 bit binary data or code, the CPU is responsible for the control, mand and scheduling of the entire unit system coordination work, to plete the operation and control of input and output functions such as operations. CPU is the core ponent of single chip microputer, is posed of unit and the controller circuit. Ari