SlideShare a Scribd company logo
1 of 4
Download to read offline
International Journal of Science and Engineering Applications
Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online)
www.ijsea.com 94
Monitoring the Respiratory System using
Temperature Sensor
J.Sheela Arokia Mary
Dept of EEE
KCET, Anna University
Cuddalore, India
R.Divya
Dept of CSE
Mookambigai College of Engg
Trichy, India
Abstract:This paper proposes to monitor the breathing of the patients. The device calculates a patient's breathing rate by
detecting changes in temperature when the patient breathes through a mask. The device includes an alarm through a piezoelectric
speaker which goes off when the patient stops breathing and a low-battery indicator signal when the battery powering the device
reaches a threshold voltage.
Keywords:Thermistor, piezoelectric speaker, threshold voltage, Temperature sensor, breathing.
1. INTRODUCTION
Many biomedical devices, such as commercially available
respiratory monitors, are designed for the developed world
and require a stable power-supply to operate. We
implement a solution that is adaptable to different
environments. Our implementation also includes various
analog circuits for voltage regulation and signal
amplification. Developing a robust and accurate respiratory
monitor served to be a challenging, yet rewarding
experience.
2. METHODOLOGY
An analog-to-digital conversion is used to sample readings
from both the thermistor and the battery, pulse-width
modulation to generate a signal for the speaker, and timers
to switch between tasks.
3. BLOCK DIAGRAM
It requires four components
Thermistor, Power, Display & Speaker.
Figure 1. Block Diagram
3.1 Thermistor measurements
The resistance over the thermistor drops when it’s
surrounding temperature increases, and goes back down
when the temperature decreases. The voltage also,
accordingly drops when a person exhales and rises when a
person inhales. We use an operational amplifier to make the
changes in temperature more apparent. The output of the
amplifier is read into the microcontroller's ADC channel 0.
Since our device uses a 9V battery, a voltage divider is
used to drop the voltage
International Journal of Science and Engineering Applications
Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online)
www.ijsea.com 95
3.2 Power
Our device can be powered through either a standard AC
power supply or a single 9V battery.
3.3 Display
To conserve power, the user must hold down a button to
turn on the display to read the respiration rate. This
prevents the user fromleaving the display on by mistake
and draining the battery. Breathing rate is measured and
displayed in breaths/min on an LCD. This allows whoever
is monitoring the patient to see if the patient is breathing
too fast or too slowly.
3.4 Speaker
There are two different alarms for our device generated by
a piezoelectric speaker. The first is higher in pitch and
alarms if the patient is not breathing. The second is a signal
that the device is running on low battery. While the first
alarm is a continuous sound, the low-battery alert is a one
second long tone.
4. DESIGN METHOD
4.1 Microcontroller
When choosing a microcontroller for this project, we first
wanted to find the smallest microcontroller possible so that
it could be mounted right onto the device's mask, the
AtMega1284p microcontroller is used.
4.2 Thermistor
Thermistor of smaller size is used, because larger
thermistors could not detect a "breath" nor had a very slow
response time.
4.3 Display
LCD screen is used for display. In order to reduce power
usage, the LCD only receives power when the user presses
the display button, which reduces the load on the battery.
5 SOFTWARE DESIGN &
IMPLEMENTATION
The C programming language was used to program the
MCU using the AVR Studio version 4.15 and was
compiled using the WINAVR GCC C compiler. The
software for the respiratory monitor contains 5 different
tasks and 2 interrupt service routines (ISR). The first ISR is
the Timer0 Compare Match Vector. This ISR activates
every 16.4 ms and decrements three different timeout
counters whenever it activates. It also zeroes the variable
count (used to measure respiration rate) to prevent it from
overflowing. Since the clock of the MCU is 16 MHz, we
set the presale to 1024 and OCR0A to 255. Setting OCR0A
to 255 means the ISR will activate every 256 clk cycles.
The second ISR used was the AC ISR. This ISR activates
when the onboard AC outputs a 1. This ISR was used to
measure the respiration rate of the person.
5.1Thermistor sampling
Samples from the thermistor are taken through PINA0.
First, the ADMUX register is set to turn on the left adjust
result and external reference. The MCU then waits for a
conversion to occur, and then sets the variable sample old
to the current sample and the sample variable to the high
bits from the ADC. The absolute value of the difference
between sample old and sample is used to determine if the
patient has stopped breathing. If this difference is less than
or equal to 8, then this is considered a "no breath". If the
MCU detects 10 consecutive "no breaths", a PWM signal is
generated to produce a sound from the speaker. If the
difference is above the tolerance, then the "no breath"
counter variable c is reset to 0 and the PWM signal is set to
be turned off.
The tolerance for the difference between breaths was found
through experimentation. Looking at the ADC values on
the UART, the range of the sampled values was 6-8 when a
person was not breathing. To compensate for this
fluctuation, we compare the difference between
consecutive thermistor samples against 8 instead of 0. We
also decided to have a counter to keep track of the number
of "no breaths" detected because depending on how a
International Journal of Science and Engineering Applications
Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online)
www.ijsea.com 96
person is breathing, consecutive samples could fall into the
tolerance range. Counting up to 10 consecutive "no
breaths" drastically reduces the number of false positive
alarms. DC sampling and PWM signal generation were
concepts we learned earlier in the semester in Labs 2 and 3.
5.2 Battery sampling
To take a sample from the battery, ADC channel 1 on
PINA1 is turned on by setting the ADMUX register. The
MCU waits for a conversion to occur and then sets the
variable bat_samp to the high bits from the ADC. The
sample is then compared to the ADC value that was found
to correspond to a voltage of 7.6 V. During testing it was
found that device operation becomes unstable at 7.5 V.
Therefore, we decided to warn the user when the voltage of
the battery becomes 7.6 VIf the battery sample is found to
be less than or equal to the tolerance, then a PWM signal is
generated, left on for about 1 second, and then is turned off.
The PWM channel which produces a tone for a low-battery
warning has a larger presale than the PWM channel to
produce the alarm for when a patient is not breathing,
making the low-battery tone lower in pitch.
5.3 Display task
The display function is used to display the respiratory rate
on the LCD when the user is holding down the LCD push
button. This was achieved by having the display function
activate when PinB1 was read as 1. When PinB1 is 1 the
LCD is initialized and the value of the respiratory rate
stored in the variable breath rate and written to the LCD
buffer. This value was then displayed on the LCD.
6 CONCLUSION
This paper has comprehensively addresses that the
Piezoelectric speaker is activated when the patient is not
breathing & different sounds are used if not breathing.
Speaker is automatically turned off when the patient begins
to breathe. Hence the device is portable and low cost, can
be used everywhere.
7. REFERENCES
[1] B. Manzanita, C. Lambert and J. de Bie,
"Validation of an ECG-derived respiration
monitoring method", Computers in Cardiology,
vol. 30, pp.613-616.
[2] S. Park, Y. Noh, S. Park and H. Yoon, "An
improved algorithm for respiration signal
extraction from electrocardiogram measured by
conductive textile electrodes using instantaneous
frequency estimation", Medical & Biological
Engineering &Computing, vol. 46, no. 2, pp.
147-1 58.
[3] P. Currishly and Rodriguez-Villegas,
"Breathing detection: towards a miniaturized,
wearable, battery- operated monitoring system",
IEEE Transactions on Biomedical
Engineering, vol. 55, no. 1, pp. 196- 204.
[4] an o -Solar, J.A. Fez and J.
Moreira, "Automatic detection of snoring signals:
validation with simple snorers and OSAS
patients", Proc. of the 22th Annual International
Conference of the IEEE Engineering in Medicine
and Biology Society. pp. 3129-3131.
[5] Z. Zhu, J. Fief and I. Pavlodar," Tracking
human breath in infrared imaging", in
Proceedings of the fifth Symposium on
Bioinformatics and Bioengineering,IEEE
Computer Society Washington, DC, USA, pp.
227-231.
[6] Saatchi, R., Al-Halides, F.Q., Burke, D.,
Delphic, H. " Thermal image analysis of the skin
surface centered on the tip of the nose for
respiration monitoring", Invited paper, IEEE
organized International Conference on Electronic
Design and Signal Processing to be held
between 10th- 12th of December, Mani pal,
India.
[7] R. Murthy, I. Pavlodar and P. Tsiamyrtzis,
"Touch less monitoring of breathing function",
Engineering in Medicine and Biology
Society, 2004. IEMBS'04 26
[8 J. Fein, Z. Zhen and I. Pavlodar, "Imaging
breathing rate in C02 absorption band",
Proceedings of the 2005 IEEE Engineering in
Medicine and Biology 27th Annual Conference,
Shanghai, China, pp. 700-705.
[9] I. Sato and M. Nakajima," Non-contact
Breath Motion Monitoring System in Full
Automation", Proceedings of the 2005 IEEE
International Journal of Science and Engineering Applications
Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online)
www.ijsea.com 97
Engineering in Medicine and Biology 27th
Annual Conference, Shanghai, China, pp. 3448-
345.
[10] M. Frijole, J. Amati and J. Pages, "Vision
Based Respiratory Monitoring System",
Proceedings of the 10th Mediterranean
Conference on Control and Automation -
MED2002 Lisbon, Portugal, July 9-12.

More Related Content

What's hot

Innovative gadgets in anesthesia and medicine
Innovative gadgets in anesthesia and medicine Innovative gadgets in anesthesia and medicine
Innovative gadgets in anesthesia and medicine ikramdr01
 
Heart attact detect and monitoring system via arduino.
Heart attact detect and monitoring system via arduino.Heart attact detect and monitoring system via arduino.
Heart attact detect and monitoring system via arduino.deepanchakravarthi M
 
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLERREAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLERVenkata Sai Kalyan Routhu
 
Santamedical SM-220 Finger Pulse Oximeter
Santamedical SM-220 Finger Pulse OximeterSantamedical SM-220 Finger Pulse Oximeter
Santamedical SM-220 Finger Pulse OximeterGurin Products, LLC
 
Heart Beat Monitoring System
Heart Beat Monitoring SystemHeart Beat Monitoring System
Heart Beat Monitoring SystemINDRANILSAIN
 
A Wireless Methodology of Heart Attack Detection
A Wireless Methodology of Heart Attack DetectionA Wireless Methodology of Heart Attack Detection
A Wireless Methodology of Heart Attack Detectionijsrd.com
 
Heart beat monitoring system
Heart beat monitoring systemHeart beat monitoring system
Heart beat monitoring systemVipul Tripathi
 
An Implementation of Embedded System in Patient Monitoring System
An Implementation of Embedded System in Patient Monitoring SystemAn Implementation of Embedded System in Patient Monitoring System
An Implementation of Embedded System in Patient Monitoring Systemijsrd.com
 
The development of a wireless LCP-based intracranial pressure sensor for trau...
The development of a wireless LCP-based intracranial pressure sensor for trau...The development of a wireless LCP-based intracranial pressure sensor for trau...
The development of a wireless LCP-based intracranial pressure sensor for trau...IJECEIAES
 
Development of a Respiration Rate Meter –A Low-Cost Design Approach
Development  of  a  Respiration Rate Meter –A Low-Cost Design ApproachDevelopment  of  a  Respiration Rate Meter –A Low-Cost Design Approach
Development of a Respiration Rate Meter –A Low-Cost Design Approachhiij
 
Digital signal processing appliations ecg
Digital signal processing appliations   ecgDigital signal processing appliations   ecg
Digital signal processing appliations ecgAbhiramAnne
 
Heart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iotHeart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iotAravind mass
 

What's hot (16)

Innovative gadgets in anesthesia and medicine
Innovative gadgets in anesthesia and medicine Innovative gadgets in anesthesia and medicine
Innovative gadgets in anesthesia and medicine
 
Heart attact detect and monitoring system via arduino.
Heart attact detect and monitoring system via arduino.Heart attact detect and monitoring system via arduino.
Heart attact detect and monitoring system via arduino.
 
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLERREAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
 
Santamedical SM-220 Finger Pulse Oximeter
Santamedical SM-220 Finger Pulse OximeterSantamedical SM-220 Finger Pulse Oximeter
Santamedical SM-220 Finger Pulse Oximeter
 
Heart Beat Monitoring System
Heart Beat Monitoring SystemHeart Beat Monitoring System
Heart Beat Monitoring System
 
ECG Report_2014
ECG Report_2014ECG Report_2014
ECG Report_2014
 
A Wireless Methodology of Heart Attack Detection
A Wireless Methodology of Heart Attack DetectionA Wireless Methodology of Heart Attack Detection
A Wireless Methodology of Heart Attack Detection
 
Heart beat monitoring system
Heart beat monitoring systemHeart beat monitoring system
Heart beat monitoring system
 
An Implementation of Embedded System in Patient Monitoring System
An Implementation of Embedded System in Patient Monitoring SystemAn Implementation of Embedded System in Patient Monitoring System
An Implementation of Embedded System in Patient Monitoring System
 
The development of a wireless LCP-based intracranial pressure sensor for trau...
The development of a wireless LCP-based intracranial pressure sensor for trau...The development of a wireless LCP-based intracranial pressure sensor for trau...
The development of a wireless LCP-based intracranial pressure sensor for trau...
 
Development of a Respiration Rate Meter –A Low-Cost Design Approach
Development  of  a  Respiration Rate Meter –A Low-Cost Design ApproachDevelopment  of  a  Respiration Rate Meter –A Low-Cost Design Approach
Development of a Respiration Rate Meter –A Low-Cost Design Approach
 
IJET-V3I1P26
IJET-V3I1P26IJET-V3I1P26
IJET-V3I1P26
 
Sm 110 pulse oximeter
Sm 110 pulse oximeterSm 110 pulse oximeter
Sm 110 pulse oximeter
 
Digital signal processing appliations ecg
Digital signal processing appliations   ecgDigital signal processing appliations   ecg
Digital signal processing appliations ecg
 
Heart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iotHeart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iot
 
A05840104
A05840104A05840104
A05840104
 

Similar to Ijsea 2nd publication

DIY Ventilator using Arduino with Blood Oxygen Sensing for Covid Pandemic
DIY Ventilator using Arduino with Blood Oxygen Sensing for Covid PandemicDIY Ventilator using Arduino with Blood Oxygen Sensing for Covid Pandemic
DIY Ventilator using Arduino with Blood Oxygen Sensing for Covid PandemicIRJET Journal
 
Iaetsd mobile icu using android
Iaetsd mobile icu using androidIaetsd mobile icu using android
Iaetsd mobile icu using androidIaetsd Iaetsd
 
An Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation Machine
An Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation MachineAn Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation Machine
An Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation MachineIRJET Journal
 
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDLAn Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDLijsrd.com
 
Patient Monitoring System
Patient Monitoring SystemPatient Monitoring System
Patient Monitoring SystemIJERA Editor
 
Bio instrumentation
Bio instrumentationBio instrumentation
Bio instrumentationMalik Zaeem
 
Simulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_Testing
Simulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_TestingSimulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_Testing
Simulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_TestingRobert Hicks
 
IRJET- Patient’s Health Parameters Monitoring through IoT
IRJET-  	  Patient’s Health Parameters Monitoring through IoTIRJET-  	  Patient’s Health Parameters Monitoring through IoT
IRJET- Patient’s Health Parameters Monitoring through IoTIRJET Journal
 
Monitoring of Medical Ventilators Using SCADA
Monitoring of Medical Ventilators Using SCADAMonitoring of Medical Ventilators Using SCADA
Monitoring of Medical Ventilators Using SCADAijsrd.com
 
Smart hospital technology
Smart hospital technologySmart hospital technology
Smart hospital technologyhiij
 
IRJET- Motion Based Message Conveyor for Physically Disabled People
IRJET-  	  Motion Based Message Conveyor for Physically Disabled PeopleIRJET-  	  Motion Based Message Conveyor for Physically Disabled People
IRJET- Motion Based Message Conveyor for Physically Disabled PeopleIRJET Journal
 
IOT BASED ICU MONITORING SYSTEM
IOT BASED ICU MONITORING SYSTEMIOT BASED ICU MONITORING SYSTEM
IOT BASED ICU MONITORING SYSTEMIRJET Journal
 
Dual Mode Ventilator Integrated with Patient Monitoring System
Dual Mode Ventilator Integrated with Patient Monitoring SystemDual Mode Ventilator Integrated with Patient Monitoring System
Dual Mode Ventilator Integrated with Patient Monitoring SystemIRJET Journal
 
IRJET- Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET-  	  Automated Nebulizer Aid using Spirometer for Lung DisordersIRJET-  	  Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET- Automated Nebulizer Aid using Spirometer for Lung DisordersIRJET Journal
 
IRJET- Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET-  	  Automated Nebulizer Aid using Spirometer for Lung DisordersIRJET-  	  Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET- Automated Nebulizer Aid using Spirometer for Lung DisordersIRJET Journal
 
AN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMA
AN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMAAN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMA
AN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMAIRJET Journal
 
SMART HOSPITAL TECHNOLOGY
SMART HOSPITAL TECHNOLOGYSMART HOSPITAL TECHNOLOGY
SMART HOSPITAL TECHNOLOGYhiij
 
Automatic Cradle System with Measurement of Baby’s Vital Biological Parameters
Automatic Cradle System with Measurement of Baby’s Vital Biological ParametersAutomatic Cradle System with Measurement of Baby’s Vital Biological Parameters
Automatic Cradle System with Measurement of Baby’s Vital Biological Parametersdbpublications
 

Similar to Ijsea 2nd publication (20)

DIY Ventilator using Arduino with Blood Oxygen Sensing for Covid Pandemic
DIY Ventilator using Arduino with Blood Oxygen Sensing for Covid PandemicDIY Ventilator using Arduino with Blood Oxygen Sensing for Covid Pandemic
DIY Ventilator using Arduino with Blood Oxygen Sensing for Covid Pandemic
 
Sheela arokia mary
Sheela arokia marySheela arokia mary
Sheela arokia mary
 
Iaetsd mobile icu using android
Iaetsd mobile icu using androidIaetsd mobile icu using android
Iaetsd mobile icu using android
 
An Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation Machine
An Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation MachineAn Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation Machine
An Overview of PERS Based Domestic Cardio-Pulmonary Resuscitation Machine
 
Cj35483486
Cj35483486Cj35483486
Cj35483486
 
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDLAn Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
 
Patient Monitoring System
Patient Monitoring SystemPatient Monitoring System
Patient Monitoring System
 
Bio instrumentation
Bio instrumentationBio instrumentation
Bio instrumentation
 
Simulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_Testing
Simulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_TestingSimulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_Testing
Simulation_of_Fluid_Mediums_for_Suction_Tube_Degradation_Testing
 
IRJET- Patient’s Health Parameters Monitoring through IoT
IRJET-  	  Patient’s Health Parameters Monitoring through IoTIRJET-  	  Patient’s Health Parameters Monitoring through IoT
IRJET- Patient’s Health Parameters Monitoring through IoT
 
Monitoring of Medical Ventilators Using SCADA
Monitoring of Medical Ventilators Using SCADAMonitoring of Medical Ventilators Using SCADA
Monitoring of Medical Ventilators Using SCADA
 
Smart hospital technology
Smart hospital technologySmart hospital technology
Smart hospital technology
 
IRJET- Motion Based Message Conveyor for Physically Disabled People
IRJET-  	  Motion Based Message Conveyor for Physically Disabled PeopleIRJET-  	  Motion Based Message Conveyor for Physically Disabled People
IRJET- Motion Based Message Conveyor for Physically Disabled People
 
IOT BASED ICU MONITORING SYSTEM
IOT BASED ICU MONITORING SYSTEMIOT BASED ICU MONITORING SYSTEM
IOT BASED ICU MONITORING SYSTEM
 
Dual Mode Ventilator Integrated with Patient Monitoring System
Dual Mode Ventilator Integrated with Patient Monitoring SystemDual Mode Ventilator Integrated with Patient Monitoring System
Dual Mode Ventilator Integrated with Patient Monitoring System
 
IRJET- Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET-  	  Automated Nebulizer Aid using Spirometer for Lung DisordersIRJET-  	  Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET- Automated Nebulizer Aid using Spirometer for Lung Disorders
 
IRJET- Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET-  	  Automated Nebulizer Aid using Spirometer for Lung DisordersIRJET-  	  Automated Nebulizer Aid using Spirometer for Lung Disorders
IRJET- Automated Nebulizer Aid using Spirometer for Lung Disorders
 
AN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMA
AN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMAAN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMA
AN ADVANCED MONITORING AND HEALTH CARE FOR ASTHMA
 
SMART HOSPITAL TECHNOLOGY
SMART HOSPITAL TECHNOLOGYSMART HOSPITAL TECHNOLOGY
SMART HOSPITAL TECHNOLOGY
 
Automatic Cradle System with Measurement of Baby’s Vital Biological Parameters
Automatic Cradle System with Measurement of Baby’s Vital Biological ParametersAutomatic Cradle System with Measurement of Baby’s Vital Biological Parameters
Automatic Cradle System with Measurement of Baby’s Vital Biological Parameters
 

Recently uploaded

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 

Recently uploaded (20)

Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 

Ijsea 2nd publication

  • 1. International Journal of Science and Engineering Applications Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online) www.ijsea.com 94 Monitoring the Respiratory System using Temperature Sensor J.Sheela Arokia Mary Dept of EEE KCET, Anna University Cuddalore, India R.Divya Dept of CSE Mookambigai College of Engg Trichy, India Abstract:This paper proposes to monitor the breathing of the patients. The device calculates a patient's breathing rate by detecting changes in temperature when the patient breathes through a mask. The device includes an alarm through a piezoelectric speaker which goes off when the patient stops breathing and a low-battery indicator signal when the battery powering the device reaches a threshold voltage. Keywords:Thermistor, piezoelectric speaker, threshold voltage, Temperature sensor, breathing. 1. INTRODUCTION Many biomedical devices, such as commercially available respiratory monitors, are designed for the developed world and require a stable power-supply to operate. We implement a solution that is adaptable to different environments. Our implementation also includes various analog circuits for voltage regulation and signal amplification. Developing a robust and accurate respiratory monitor served to be a challenging, yet rewarding experience. 2. METHODOLOGY An analog-to-digital conversion is used to sample readings from both the thermistor and the battery, pulse-width modulation to generate a signal for the speaker, and timers to switch between tasks. 3. BLOCK DIAGRAM It requires four components Thermistor, Power, Display & Speaker. Figure 1. Block Diagram 3.1 Thermistor measurements The resistance over the thermistor drops when it’s surrounding temperature increases, and goes back down when the temperature decreases. The voltage also, accordingly drops when a person exhales and rises when a person inhales. We use an operational amplifier to make the changes in temperature more apparent. The output of the amplifier is read into the microcontroller's ADC channel 0. Since our device uses a 9V battery, a voltage divider is used to drop the voltage
  • 2. International Journal of Science and Engineering Applications Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online) www.ijsea.com 95 3.2 Power Our device can be powered through either a standard AC power supply or a single 9V battery. 3.3 Display To conserve power, the user must hold down a button to turn on the display to read the respiration rate. This prevents the user fromleaving the display on by mistake and draining the battery. Breathing rate is measured and displayed in breaths/min on an LCD. This allows whoever is monitoring the patient to see if the patient is breathing too fast or too slowly. 3.4 Speaker There are two different alarms for our device generated by a piezoelectric speaker. The first is higher in pitch and alarms if the patient is not breathing. The second is a signal that the device is running on low battery. While the first alarm is a continuous sound, the low-battery alert is a one second long tone. 4. DESIGN METHOD 4.1 Microcontroller When choosing a microcontroller for this project, we first wanted to find the smallest microcontroller possible so that it could be mounted right onto the device's mask, the AtMega1284p microcontroller is used. 4.2 Thermistor Thermistor of smaller size is used, because larger thermistors could not detect a "breath" nor had a very slow response time. 4.3 Display LCD screen is used for display. In order to reduce power usage, the LCD only receives power when the user presses the display button, which reduces the load on the battery. 5 SOFTWARE DESIGN & IMPLEMENTATION The C programming language was used to program the MCU using the AVR Studio version 4.15 and was compiled using the WINAVR GCC C compiler. The software for the respiratory monitor contains 5 different tasks and 2 interrupt service routines (ISR). The first ISR is the Timer0 Compare Match Vector. This ISR activates every 16.4 ms and decrements three different timeout counters whenever it activates. It also zeroes the variable count (used to measure respiration rate) to prevent it from overflowing. Since the clock of the MCU is 16 MHz, we set the presale to 1024 and OCR0A to 255. Setting OCR0A to 255 means the ISR will activate every 256 clk cycles. The second ISR used was the AC ISR. This ISR activates when the onboard AC outputs a 1. This ISR was used to measure the respiration rate of the person. 5.1Thermistor sampling Samples from the thermistor are taken through PINA0. First, the ADMUX register is set to turn on the left adjust result and external reference. The MCU then waits for a conversion to occur, and then sets the variable sample old to the current sample and the sample variable to the high bits from the ADC. The absolute value of the difference between sample old and sample is used to determine if the patient has stopped breathing. If this difference is less than or equal to 8, then this is considered a "no breath". If the MCU detects 10 consecutive "no breaths", a PWM signal is generated to produce a sound from the speaker. If the difference is above the tolerance, then the "no breath" counter variable c is reset to 0 and the PWM signal is set to be turned off. The tolerance for the difference between breaths was found through experimentation. Looking at the ADC values on the UART, the range of the sampled values was 6-8 when a person was not breathing. To compensate for this fluctuation, we compare the difference between consecutive thermistor samples against 8 instead of 0. We also decided to have a counter to keep track of the number of "no breaths" detected because depending on how a
  • 3. International Journal of Science and Engineering Applications Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online) www.ijsea.com 96 person is breathing, consecutive samples could fall into the tolerance range. Counting up to 10 consecutive "no breaths" drastically reduces the number of false positive alarms. DC sampling and PWM signal generation were concepts we learned earlier in the semester in Labs 2 and 3. 5.2 Battery sampling To take a sample from the battery, ADC channel 1 on PINA1 is turned on by setting the ADMUX register. The MCU waits for a conversion to occur and then sets the variable bat_samp to the high bits from the ADC. The sample is then compared to the ADC value that was found to correspond to a voltage of 7.6 V. During testing it was found that device operation becomes unstable at 7.5 V. Therefore, we decided to warn the user when the voltage of the battery becomes 7.6 VIf the battery sample is found to be less than or equal to the tolerance, then a PWM signal is generated, left on for about 1 second, and then is turned off. The PWM channel which produces a tone for a low-battery warning has a larger presale than the PWM channel to produce the alarm for when a patient is not breathing, making the low-battery tone lower in pitch. 5.3 Display task The display function is used to display the respiratory rate on the LCD when the user is holding down the LCD push button. This was achieved by having the display function activate when PinB1 was read as 1. When PinB1 is 1 the LCD is initialized and the value of the respiratory rate stored in the variable breath rate and written to the LCD buffer. This value was then displayed on the LCD. 6 CONCLUSION This paper has comprehensively addresses that the Piezoelectric speaker is activated when the patient is not breathing & different sounds are used if not breathing. Speaker is automatically turned off when the patient begins to breathe. Hence the device is portable and low cost, can be used everywhere. 7. REFERENCES [1] B. Manzanita, C. Lambert and J. de Bie, "Validation of an ECG-derived respiration monitoring method", Computers in Cardiology, vol. 30, pp.613-616. [2] S. Park, Y. Noh, S. Park and H. Yoon, "An improved algorithm for respiration signal extraction from electrocardiogram measured by conductive textile electrodes using instantaneous frequency estimation", Medical & Biological Engineering &Computing, vol. 46, no. 2, pp. 147-1 58. [3] P. Currishly and Rodriguez-Villegas, "Breathing detection: towards a miniaturized, wearable, battery- operated monitoring system", IEEE Transactions on Biomedical Engineering, vol. 55, no. 1, pp. 196- 204. [4] an o -Solar, J.A. Fez and J. Moreira, "Automatic detection of snoring signals: validation with simple snorers and OSAS patients", Proc. of the 22th Annual International Conference of the IEEE Engineering in Medicine and Biology Society. pp. 3129-3131. [5] Z. Zhu, J. Fief and I. Pavlodar," Tracking human breath in infrared imaging", in Proceedings of the fifth Symposium on Bioinformatics and Bioengineering,IEEE Computer Society Washington, DC, USA, pp. 227-231. [6] Saatchi, R., Al-Halides, F.Q., Burke, D., Delphic, H. " Thermal image analysis of the skin surface centered on the tip of the nose for respiration monitoring", Invited paper, IEEE organized International Conference on Electronic Design and Signal Processing to be held between 10th- 12th of December, Mani pal, India. [7] R. Murthy, I. Pavlodar and P. Tsiamyrtzis, "Touch less monitoring of breathing function", Engineering in Medicine and Biology Society, 2004. IEMBS'04 26 [8 J. Fein, Z. Zhen and I. Pavlodar, "Imaging breathing rate in C02 absorption band", Proceedings of the 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference, Shanghai, China, pp. 700-705. [9] I. Sato and M. Nakajima," Non-contact Breath Motion Monitoring System in Full Automation", Proceedings of the 2005 IEEE
  • 4. International Journal of Science and Engineering Applications Volume 2 Issue 4, 2013, ISSN-2319-7560 (Online) www.ijsea.com 97 Engineering in Medicine and Biology 27th Annual Conference, Shanghai, China, pp. 3448- 345. [10] M. Frijole, J. Amati and J. Pages, "Vision Based Respiratory Monitoring System", Proceedings of the 10th Mediterranean Conference on Control and Automation - MED2002 Lisbon, Portugal, July 9-12.