RESPIRATION DETECTION TOOLS IN HUMAN BASED ARDUINO UNO

The vital capacity value of the lungs is very influential with the health of the human lungs because with the results the value of the vital capacity of the human lung can be diagnosed as normal or abnormal of the lungs. This study aims to make a means of detecting respiration gas flow rates in humans using an arduino uno-based YF-S201 flow sensor. From the results of data analysis of respiratory gas flow in adult male breathing with ages (20 years 30 years), (30 years 35 years), (35 years 45 years) and (45 years 50 years) as many as 15 users. there is an error of 3.86%, the value is generated from comparing the output of the equipment made by researchers with other tools of the brand Spirolab with as many as 15 users of different height and age. From 15 different users there are 2 users with abnormal lung conditions and 13 other users with normal lung conditions. The result of this error occurred because of the 15 users who were less relaxed when exhaling and breathing.


I. INTRODUCTION
Spirometry is a measuring tool used to measure the flow of air into and out of the lungs. A person who breathes through a spirometry "mouthpiece" needs to be covered in his nose. Respondents who blow are instructed about how to breathe during the procedure. Three breathing maneuvers were tried before determining the procedure data and the highest data from three trials were taken to evaluate breathing. This procedure measures air flow through the principles of electronic or mechanical displacement and uses a microprocessor and recorder to calculate and plot air flow [1], [2], [3].
Vital Capacity is the amount of air (in liters) that comes out of the lungs during normal breathing. Respondents were instructed to inhale and inspire normally to get maximum expiration. The normal value is usually 80% of the total lung. As a result of lung elasticity and thoracic state, a small amount of air will remain in the lungs after maximal expiration. This volume is called the residual volume (RV) [4], [5], [6].
The purpose of this study is to make hardware devices for detecting gas flow rates of human respiration with YF-S201 flow sensors using Arduino UNO, and to know the performance of YF-S201 flow sensors when respiration gas flow rates in humans [7], [8].

II. RESEARCH METHODS
The product design in this study is a tool that uses a powerbank as the main power supply, then uses the YF-S201 flow sensor as a detection of respiration gas flow that is released by the patient, when inhaling and exhaling the respiratory gas in the form of voltage output. On the arduino board given buttons or push buttons up, down, left, and right for the selection of modes as input data for patients in the form of age, gender, and height, the data input function is used to find vital predictive capacity, when all input data has been done, the next menu measures the vital capacity of the patient in a way exhale as strong as possible, breathe in as strong as possible, and breathe normally, the results of vital capacity measurement will appear on the LCD when the results of vital capacity measure appear on the LCD together also appear vital capacity prediction of the results of input of patient data if the results of vital capacity measure 80% of vital capacity prediction then the patient's condition is normal otherwise if vital capacity measure is less or more than 80% vital capacity prediction then the patient's condition is abnormal.
The scope of this research is to use the Arduino Uno module as a set of all programs, YF-S201 flow sensor to detect respiration gases While the variables used in this research method include the independent variable including the value of human respiration gas, as the dependent variable, the YF-S201 Flow sensor, and the controlled variable, Arduino uno.

III. RESULTS AND DISCUSSION
In this section, the test results are collected when the respiration detection gas device is compared with an existing spirolab brand. The data is presented in table 1, table 2, and table 3

IV. CONCLUSION
Based on the results of planning, module making, writing and data analysis can be concluded as follows: 1. Making this module or tool using the YF-S201 Flow sensor as a detector for respiration gas rate in humans, the LCD character serves to display the vital results of the subject, the keypad as a selector for the selection of measurements, and Arduino Uno as a regulator of all systems. Of these components are synchronized and functioning properly from the comparison of the VC measuring spirolab measuring instrument with the VC measuring instrument the researcher measured 15 subjects with different height and age.
2. When measuring 15 subjects with different height and age the performance of the YF-S201 Flow sensor can be said to be good or feasible because in the measurement and analysis results show an average error of 3.86%. Of the total measurements of 15 different subjects age, and height.