1 Introduction
With the gradual strengthening of health consciousness, outdoor sports and more attention.
However, insufficient exercise too strong or are unable to achieve the purpose of the exercise, even against the body. Here is a multifunctional real-time physiological parameters monitoring instrument design methods, the monitor has a low-cost, practical, portable, and voice broadcast measurement values and the audio alarm and many other features.2 the overall structure and working principle
The monitor to 16-bit MCU SPCE061A Sunplus as control core, through temperature sensor, mercury switches, Piezoelectric ceramic plate for human body temperature, runner's steps and pulse beating, real-time computation by CPU measurements and the results are sent to the LCD display, with the voice.
The system is equipped with a keyboard, artificial reset and auto power-on reset and Hardware watchdog circuit. SPCE061A internal with a hardware multiplier feature, you can easily achieve measurement data logging, calculations, and voice capabilities. System architecture diagram shown in Figure 1.3 hardware circuit design
3.1 temperature measuring module
Temperature sensor with DALLAS, the devices of DS18820 without the need for external components, through cable power supply to provide maximum 12-bit temperature reading, the device temperature information via a single interface to give DS18820 or sent from DS18820, from the CPU to DS18820 only need to connect 1 line.
Read, write, and complete the required temperature transformation by the power supply cable itself, measuring range of-55 ° c ~ + 125 ° c, the incremental value of 0.062 5 (to 12-bit values in the read temperature), in 1 s (typical values) for the transformation of temperature with digital user definable non-volatile temperature alarm setting. Output temperature scale from SCM IOA15 port reading, as shown in Figure 2.Via a single interface to access the Protocol DS18820 as follows:
(1) Initializes a single bus all processing will start from the initialization sequence.
Initialization sequence includes: Bus host sends a reset pulse, then slave devices out there pulse, a list of initialization procedure DS18820 subroutine intInit_1820 (void).(2) ROM the operation once the bus master slave devices detected will be issued, the ROM operations command, ROM operation command is 8 bits long, program see reading DS18820 subroutine unsigned int Read_1820_Byte (void) and write DS18820 subroutine void Write_1820_Byte (unsigned int Data).
(3) storage operations command program list see reading DS18820 subroutine un-signed int Read_1820_Byte (void) and write DS18820 subroutine voidWrite_1 820_Byte (unsigned int Data).
(4) processing data program list see temperature conversion subroutines void Read_Temp (unsigned int * Data).
Temperature measurement procedures are as follows:
No comments:
Post a Comment