This application report discusses the design of non-invasive optical plethysmography
also called as pulsoximeter using the MSP430FG437 Microcontroller (MCU). The
pulsoximeter consists of a peripheral probe combined with the MCU displaying the
oxygen saturation and pulse rate on a LCD glass. The same sensor is used for both
heart-rate detection and pulsoximetering in this application. The probe is placed on a
peripheral point of the body such as a finger tip, ear lobe or the nose. The probe
includes two light emitting diodes (LEDs), one in the visible red spectrum (660nm) and
the other in the infrared spectrum (940nm). The percentage of oxygen in the body is
worked by measuring the intensity from each frequency of light after it transmits
through the body and then calculating the ratio between these two intensities.
In number theory, the Euclidean algorithm (also called Euclid s algorithm) is an algorithm to determine the greatest common divisor (GCD) of two elements of any Euclidean domain (for example, the integers). Its major significance is that it does not require factoring the two integers, and it is also significant in that it is one of the oldest algorithms known, dating back to the ancient Greeks.
This sample program generates two sine waves called X and Y.
It will then calculate the normalized magnitude and phase of
the two waveforms using the following formulas:
Mag = sqrt(X^2 + Y^2)/sqrt(GainX^2 + GainY^2)
Phase = (long) (atan2PU(X,Y) * 360)
The program will prompt the user to change the gain and
frequency of the X and Y waveforms.
MBUS協議
The bus communication system of EN1434-3 is commonly called M-Bus. Its application layer describes
a standard especially for meter readout. It can be used with various physical layers and with link layers
and network layers which support the transmission of variable length binary transparent telegrams.
a carrier sense multiple access
with collision avoidance (CSMA/CA) based
MAC protocol, called nanoMAC, suitable for
low bit-rate, low-power wireless devices with
high efficiency
These codes require an ASCII input file called input.dat of the following form:
Lower Limit on x Upper Limit on x Final Time
Pressure for x<0 when t=0 Density for x<0 when t=0 Speed for x<0 when t=0
Pressure for x>0 when t=0 Density for x>0 when t=0 Speed for x>0 when t=0
These codes produce 8 ASCII output files:
density.out. Density vs. x
entropy.out. Entropy vs. x
mach.out. Mach number vs. x
massflux.out. Mass flux vs. x
pressure.out. Pressure vs. x
sound.out. Speed-of-sound vs. x
velocity.out. Velocity vs. x
waves.out. A description of the solution in terms of the three waves defined in the book (+,-,0).