<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJAppS</journal-id><journal-title-group><journal-title>Open Journal of Applied Sciences</journal-title></journal-title-group><issn pub-type="epub">2165-3917</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojapps.2016.613078</article-id><article-id pub-id-type="publisher-id">OJAppS-73047</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Intelligent Bio-Detector
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Sabr</surname><given-names>Ahmed</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Biomedical Engineering, University of Bridgeport, Bridgeport, CT, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:</corresp></author-notes><pub-date pub-type="epub"><day>06</day><month>12</month><year>2016</year></pub-date><volume>06</volume><issue>13</issue><fpage>903</fpage><lpage>937</lpage><history><date date-type="received"><day>November</day>	<month>16,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>December</month>	<year>25,</year>	</date><date date-type="accepted"><day>December</day>	<month>28,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The objective of this document is to describe the design and implementation of an intelligent biomedical system. The system consists of an array of multiple sensors. The sensors are connected to the Arduino Uno device to allow data capture and processing. The captured signals from the sensors are then digitized by the microcontroller. The data from the microcontroller are accessible via two different portals: the LCD display and the LabVIEW graphical user interface. The microcontroller is also equipped with a GSM module to send the alert message to the user upon occurrence of events that simulate abnormal activity in the biological parameters of the user.
 
</p></abstract><kwd-group><kwd>Bio-Detector</kwd><kwd> Biosensors</kwd><kwd> Biomedical</kwd><kwd> Hospital’s Devices</kwd><kwd> Biotechnology</kwd><kwd> Biomedical  Engineering</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Intelligent systems are programmed to perform the intelligent management between the source and the controlling device. The transfer of data is usually two-way. Both source and controlling devices can transfer the data. Control signal is mostly used for transferring the data. The sensor modules are of two types: Analog and Digital. Analog signal module sends the data in analog form, either continuous voltage or current, while the digital senor module sends data in digital form, bits or bytes. The micro-con- troller requires the data in digital form. The analogue data are required to be converted into the digital data using a device known as the ADC, analog-to-digital converter. The design and analysis concepts within Control Engineering have applications in practically all areas of technology from micro-electronics, communications, and biomedical to the energy, food and chemical process industries. This group has focused on what artificial intelligence and advanced control techniques can offer for smart sensing, process monitoring, process optimization and control in applications, including biomedical, chemical process control and electrical power and energy systems.</p><sec id="s1_1"><title>1.1. Intelligent Control</title><p>We have experience in the application of neural network and fuzzy logic techniques to build intelligence into sensors and control systems. This work has included the development of novel training algorithms, new machine intelligence techniques for smart sensors and process monitoring, model based control techniques with applications stretching from power system control to intelligent signal processing of EEG signals.</p></sec><sec id="s1_2"><title>1.2. Advanced Process Control</title><p>With applications, particularly in the chemical, pharmaceutical and food processing industries, this work has focused on model based predictive control, process optimization and multivariate process monitoring techniques for improved production and fault detection.</p></sec><sec id="s1_3"><title>1.3. Biomedical Applications</title><p>We have implemented the use of intelligent sensing and control techniques in biomedical applications, focusing on EEG analysis. Interests would include sensor fusion, smart biomedical sensors, blood glucose monitoring and control and FES applications.</p></sec><sec id="s1_4"><title>1.4. Power Systems</title><p>We have also worked towards improving control of power systems, using advanced control techniques. This has included active filtering, harmonic monitoring and grid- wide harmonic control.</p></sec><sec id="s1_5"><title>1.5. Sustainable Energy</title><p>We are a member of SERN―Sustainable Energy Regulation Network―a multidisciplinary research group that brings together researchers from across UCC with an interest in energy research. Our work has mainly focused on wind farm modelling and improved control. Interests include HVDC, hybrid energy supplies, optimal use of storage, intelligent control of embedded generation, environmental control and energy management, etc.</p></sec></sec><sec id="s2"><title>2. Goal and Objective</title><p>A significant amount of the human population suffers from chronic diseases. These patients comprise of older citizens, paralyzed individuals, and children. Some of these chronic diseases include, and are not limited to, diabetes, pressure or epileptic seizures. Patients who suffer from these diseases suffer from unstable health and require constant monitoring either from loved ones, house helpers, or nurses. This heath care requirement throughout the day takes a toll on the people who are suffering, as well as the ones who take care of the patients.</p><p>The motivation behind this project is to addresses the issue of constant monitoring and care required by some patients. The goal was to design and implement an intelligent bio-detector that can measure the vital parameters of the patient’s health. Additionally, the bio-detector should be able to process the data collected and automatically send a message to either the hospital or loved ones in case of an emergency (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p></sec><sec id="s3"><title>3. Block Diagram</title><p>The block diagram below shows the configuration of the Intelligent Bio-detector (<xref ref-type="fig" rid="fig2">Figure 2</xref>).</p><p>The system comprises of the following components:</p><p>・ 1 Arduino UNO micro-controller</p><p>・ Arduino IDE kit</p><p>・ GSM, GPRS, SIM900 shield for the Arduino</p><p>・ PH sensor</p><p>・ Pulse sensor</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Examples of patients suffering from chronic diseases</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x2.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Block diagram of the intelligent bio-detector</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x3.png"/></fig><p>・ Grove O<sub>2</sub> gas sensor</p><p>・ TMP36 temperature sensor</p><p>・ EMG sensor</p><p>・ LCD 16 &#215; 2 LCM1602C</p><p>・ LabVIEW-2016 version</p><p>・ Laptop</p><p>・ Lemon water, pure water and hair heater for testing</p><p>On the underlying material science and the non-specific operating standards included. It incorporates a survey of the basics from claiming estimation also defiant What’s more blankets those guideline sorts about cutting edge sensor-resonator, semiconductor based, furthermore optical fiber (counting a review of optical proliferation also transmission (<xref ref-type="fig" rid="fig3">Figure 3</xref>).</p></sec><sec id="s4"><title>4. System Compositions</title><p>In this section, we will individually cover different components of the Intelligent Bio- Detector.</p><sec id="s4_1"><title>4.1. Arduino UNO Microcontroller</title><p>Arduino Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller. The Arduino UNO is a very easy-to-use and versatile platform for design and implementation of small-scale projects. The specification of the Arduino Uno is shown in <xref ref-type="table" rid="table1">Table 1</xref> (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p></sec><sec id="s4_2"><title>4.2. Arduino IDE Kit</title><p>The Arduino UNO comes with a free development kit, the Arduino IDE software. It is based on the C programming language and if one is familiar with C/C++, then development with the Arduino is straightforward (<xref ref-type="fig" rid="fig5">Figure 5</xref>).</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Intelligent bio-detector setup</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x4.png"/></fig><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Arduino UNO specifications</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Microcontroller</th><th align="center" valign="middle" >ATmega328P</th></tr></thead><tr><td align="center" valign="middle" >Operating Voltage</td><td align="center" valign="middle" >5 V</td></tr><tr><td align="center" valign="middle" >Input Voltage (recommended)</td><td align="center" valign="middle" >7 - 12 V</td></tr><tr><td align="center" valign="middle" >Input Voltage (limit)</td><td align="center" valign="middle" >6 - 20 V</td></tr><tr><td align="center" valign="middle" >Digital I/O Pins</td><td align="center" valign="middle" >14 (of which 6 provide PWM output)</td></tr><tr><td align="center" valign="middle" >PWM Digital I/O Pins</td><td align="center" valign="middle" >6</td></tr><tr><td align="center" valign="middle" >Analog Input Pins</td><td align="center" valign="middle" >6</td></tr><tr><td align="center" valign="middle" >DC Current per I/O Pin</td><td align="center" valign="middle" >20 mA</td></tr><tr><td align="center" valign="middle" >DC Current for 3.3 V Pin</td><td align="center" valign="middle" >50 mA</td></tr><tr><td align="center" valign="middle" >Flash Memory</td><td align="center" valign="middle" >32 KB (ATmega328P) of which 0.5 KB used by boot loader</td></tr><tr><td align="center" valign="middle" >SRAM</td><td align="center" valign="middle" >2 KB (ATmega328P)</td></tr><tr><td align="center" valign="middle" >EEPROM</td><td align="center" valign="middle" >1 KB (ATmega328P)</td></tr><tr><td align="center" valign="middle" >Clock Speed</td><td align="center" valign="middle" >16 MHz</td></tr><tr><td align="center" valign="middle" >Length</td><td align="center" valign="middle" >68.6 mm</td></tr><tr><td align="center" valign="middle" >Width</td><td align="center" valign="middle" >53.4 mm</td></tr><tr><td align="center" valign="middle" >Weight</td><td align="center" valign="middle" >25 g</td></tr></tbody></table></table-wrap><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Arduino UNO</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x5.png"/></fig></sec><sec id="s4_3"><title>4.3. SIM900/GSM/GRPS Shield</title><p>The Arduino UNO has a lot of options for add-on shields. One of the most useful ones is the SIM900 GSM shield. It plugs directly on top of the Arduino UNO and still gives the user the access to all the input and output terminals of the Arduino UNO. It supports quad-band operation and is compatible with majority of the mobile carriers in the United States. Even though the GSM shied requires 5 V for power-up, it cannot be powered by the USB connection alone. The current capability of the USB port from the laptop is not enough to successfully carry out all the operations of the SIM900. Hence, the Arduino must be powered via the 5 V AC-DC adapter to use the GSM shield appropriately.</p><p>The GSM Shield allows the user to send SMS (short message service) messages as well as make audio calls. For this project, we will only be utilizing the SMS feature for emergency notifications. It is important to note that only an unlocked US carrier SIM</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Arduino IDE software</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x6.png"/></fig><p>card should be used. The SIM900 module doesn’t power up on its own when the power is plugged in. The user must press the power button on the board to turn the SIM900 module on. The LED will blink rapidly (once a second) when it is searching for the network. Once the network connection has been established, the LED will blink once every three seconds. This indicates that the connection to the network has been established and the SIM900 can be used to make calls and send messages now (<xref ref-type="fig" rid="fig6">Figure 6</xref>).</p></sec><sec id="s4_4"><title>4.4. PH Sensor</title><p>pH stands for “potential hydrogen”. pH is the measurement of acidity and alkalinity of the body. pH is the most basic and fundamental driving force of our body functions. The pH scale from ranges 1 - 14, where 1 is highly acidic and 14 is highly basic. Neutral pH, such as that of water, is 7.0 (<xref ref-type="fig" rid="fig7">Figure 7</xref>).</p><p>The pH level in our body is affected by diet, sleep, stress, exercise, hydration level, and our daily activities. The pH level can be tested through blood, urine and saliva. Due to accessibility, pH levels of urine and saliva are the easiest to monitor. In this project, instead of using blood or saliva, we will be testing the pH level of known material, such as water. The importance of monitoring pH level is because Acidosis is related many diseases, such as chronic cardiovascular, liver, kidney damage, adrenal insufficiency, bladder and kidney stones [<xref ref-type="bibr" rid="scirp.73047-ref1">1</xref>] . The pH sensor used for this project outputs a voltage that is proportional to the pH value. The sensor is compatible with the Arduino UNO and does not need its own external power supply (<xref ref-type="fig" rid="fig8">Figure 8</xref>).</p><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> SIM900 GSM/GPRS shield for Arduino UNO</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x7.png"/></fig><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> pH scale</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x8.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Analog pH meter</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x9.png"/></fig><p>&#252; Module Power: 5.00 V.</p><p>&#252; Circuit Board Size: 43 mm &#215; 32 mm.</p><p>&#252; pH Measuring Range: 0 ? 14.</p><p>&#252; Measuring Temperature: 0˚C - 60˚C.</p><p>&#252; Accuracy: &#177;0.1 pH (25˚C).</p><p>&#252; Response Time: ≤1 min.</p><p>&#252; pH Sensor with BNC Connector.</p><p>&#252; PH 2.0 Interface (3-foot patch).</p><p>&#252; Gain Adjustment Potentiometer.</p><p>&#252; Power Indicator LED.</p><p>&#252; The user manual for the pH meter has provided strict precautions to be used with the pH sensor.</p><p>&#252; Before and after each use of the pH electrode, you need to use (pure) water to clean it.</p><p>&#252; The electrode plug should be kept clean and dry to prevent short circuit.</p><p>&#252; Preservation: Electrode reference preservation solution is 3N KCL solution.</p><p>&#252; Staggered measurement should be avoided. The accuracy of the measurement is affected by the pollution caused from staggering measurements.</p><p>&#252; When the electrode is in use, the ceramic sand core and liquid outlet rubber ring should be removed, to allow salt bridge solution to maintain a certain velocity.</p></sec><sec id="s4_5"><title>4.5. Pulse Sensor</title><p>The pulse sensor is another term for the Heart Rate Monitor. It measures the number of times the heart pumps the blood to the body and the unit of the output is beats per minute (bpm). In our case, the pulse sensor outputs a voltage which simulates a heartbeat. Post-processing of raw data is done to convert the voltage into BPM. The nominal range of the human heart rate is 60 - 100 bpm. Tachycardia is a fast heart rate, defined as above 100 bpm at rest. Bradycardia is the opposite of that, a slow heart rate below 60 bpm. A heart rate monitor consists of two main parts―a transmitter and a receiver. Electrical activity can be detected through the skin. The transmitter of the heart rate monitor is placed on the skin around the area where a pulse can be detected. This transmitter converts the pulse into an electrical signal which is then transmitted to the receiver (<xref ref-type="fig" rid="fig9">Figure 9</xref> and <xref ref-type="fig" rid="fig1">Figure 1</xref>0).</p><p>Tachycardia can be caused by congenital abnormalities, heart disease and some lung diseases. It can also be caused by substance abuse or side effects of certain medicines. Bradycardia could be an effect of electrolyte imbalances, hypothyroidism, and blood pressure medication side effects [<xref ref-type="bibr" rid="scirp.73047-ref2">2</xref>] . Shown below are some of the parameters of the pulse sensor that was used in this project.</p><p>・ Module power: 3 V - 5 V.</p><p>・ Diameter: 0.625”.</p><p>・ Overall thickness: 0.125”.</p><p>・ Cable length: 24”.</p><p>・ Current consumption: 4 mA @ 5 V.</p><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> Pulse sensor hardware</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x10.png"/></fig><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> Pulse sensor usage</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x11.png"/></fig></sec><sec id="s4_6"><title>4.6. Grove-Gas Sensor (Oxygen)</title><p>Grove-Gas Sensor is used to detect the concentration of a gas in air. In our case, we used the Grove-Gas Oxygen sensor. It works on the basic principle of an electrochemical cell. The sensor outputs a voltage which is proportional to the percentage of oxygen concentration in air.</p><p>Some of the desired features of an Oxygen sensor are:</p><p>・ High-precision.</p><p>・ High sensitivity.</p><p>・ Wide linearity range.</p><p>・ Strong anti-interference ability.</p><p>・ Extraordinary reliability [<xref ref-type="bibr" rid="scirp.73047-ref3">3</xref>] .</p><p>The Grove-Gas Sensor (O<sub>2</sub>) we used for this project is manufactured by Winsor. Most gas sensors have a preheat time specification. This is the minimum amount of time a user should wait after powering the sensor on to take a reading. For the Winsor grove-gas sensor, this time is about 20 minutes.</p><p>The specification for the sensor is shown (<xref ref-type="table" rid="table2">Table 2</xref>).</p></sec><sec id="s4_7"><title>4.7. TMP36 Temperature Sensor</title><p>Body temperature is one of the most basic and important parameters of one’s health. For our project, we used a TMP36 temperature sensor from Analog Devices. The temperature sensor outputs a voltage that is proportional to the temperature around the sensor (<xref ref-type="fig" rid="fig1">Figure 1</xref>1).</p><p>In general, there are two types of temperature sensors, or thermometers: Analog and Digital. Analog thermometers are fabricated by materials which are affected by change in temperature like mercury. The change in level of mercury can be measured and it can be correlated to an equivalent change in temperature. Digital thermometer is a semiconductor device that acts as a temperature-sensitive resistor. At low temperatures, the thermistor is essentially an insulator―no electric charges are flowing and resistance is very high. As temperatures increases, the resistance decreases and more electric current can flow [<xref ref-type="bibr" rid="scirp.73047-ref4">4</xref>] (<xref ref-type="fig" rid="fig1">Figure 1</xref>2).</p><p>The normal body temperature is supposed to 98.6-degree F (37-degree C). The normal body temperature can fluctuate by as much as 1 degree F (0.6-degree C) throughout</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Grove-gas sensor (02) specifications</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Measurement Range</th><th align="center" valign="middle" >0% - 25%</th></tr></thead><tr><td align="center" valign="middle" >Detect Life</td><td align="center" valign="middle" >2 years</td></tr><tr><td align="center" valign="middle" >Sensitivity</td><td align="center" valign="middle" >0.05 ~ 0.15 mA (in air)</td></tr><tr><td align="center" valign="middle" >Temperature Range</td><td align="center" valign="middle" >−20˚C - 50˚C</td></tr><tr><td align="center" valign="middle" >Preheat Time</td><td align="center" valign="middle" >20 minutes</td></tr></tbody></table></table-wrap><fig id="fig11"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>1</label><caption><title> TMP36 temperature sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x12.png"/></fig><fig id="fig12"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>2</label><caption><title> Examples of sample thermometers</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x13.png"/></fig><p>the day depending on level of activity and time of day. The body temperature can be measured in many locations on the body. The mouth, ear, armpit and rectum are the most commonly used places.</p><p>The reason why we used a temp sensor in the Intelligent Bio-detector is to detect fever which can occur due to any of the following reasons:</p><p>・ Infection―This is the most common cause of a fever. It can affect the entire or just a few selected parts.</p><p>・ Medicines―These include antibiotics, narcotics, antihistamines, and many other. This is called “drug fever”. Antibiotics can raise the body temperature directly.</p><p>・ Severe trauma or injury―These can include heart attack, stroke, heatstroke, or burns.</p><p>・ Other medical conditions―These can include arthritis, hyperthyroidism, and even cancers, such as leukemia and lung cancer [<xref ref-type="bibr" rid="scirp.73047-ref5">5</xref>] .</p></sec><sec id="s4_8"><title>4.8. EMG Sensor</title><p>Nerves control the muscles in the body with electrical signals called impulses. These impulses make the muscles react in specific ways. Nerve and muscle problems can cause the muscles to react in abnormal ways. An electromyogram (EMG) measures the electrical activity of muscles at rest and during contraction. For the Intelligent Bio-De- tector, we use an EMG sensor which will measure the filtered and rectified electrical activity of a muscle. The output of the sensor is an output voltage that is proportional to the amount of activity in the selected muscle (<xref ref-type="fig" rid="fig1">Figure 1</xref>3).</p><p>The EMG sensor used for this project is called the MyoWare muscle sensor. It has the following features (<xref ref-type="fig" rid="fig1">Figure 1</xref>4):</p><p>・ Improved adjustable gain.</p><p>・ On-board for cable connection.</p><p>・ Plug-n-play operation.</p><p>・ Reduced input voltage (+3.5 V).</p><p>・ Dimensions: 1” &#215; 1”.</p></sec><sec id="s4_9"><title>4.9. LCD 16 &#215; 2 LCM1602C</title><p>The 16 &#215; 2 LCD is commonly used as an output for Arduino projects. It has two rows of characters available with characters each (<xref ref-type="fig" rid="fig1">Figure 1</xref>5).</p><p>The specifications of the LCD are shown (<xref ref-type="table" rid="table3">Table 3</xref>).</p><fig id="fig13"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>3</label><caption><title> EMG sensor configuration</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x14.png"/></fig><fig id="fig14"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>4</label><caption><title> MyoWare muscle sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x15.png"/></fig><fig id="fig15"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>5</label><caption><title> LCD LCM1602C</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x16.png"/></fig></sec><sec id="s4_10"><title>4.10. LabVIEW</title><p>LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a system-design platform and development environment for a visual programming language from National Instruments. LabVIEW is commonly used for data acquisition, instrument control, and industrial automation on a variety of platforms including Microsoft Windows, various versions of UNIX, Linux, and Mac OS X. The programming language used in LabVIEW, also referred to as G, is a dataflow programming language. Execution is determined by the structure of a graphical block diagram (the LabVIEW-source code) on which the programmer connects different function-nodes by drawing wires. These wires propagate variables and any node can execute as soon as all its input data become available. Since this might be the case for multiple nodes simultaneously, G is inherently capable of parallel execution. Multi-processing and multi-threading hardware is automatically exploited by the built-in scheduler, which multiplexes multiple OS threads over the nodes ready for execution (<xref ref-type="fig" rid="fig1">Figure 1</xref>6).</p><p>Some of the benefits of using LabVIEW include:</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Specifications of the LCD module</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Module Size (W*H*T)</th><th align="center" valign="middle" >80 &#215; 36 &#215; 10.5</th></tr></thead><tr><td align="center" valign="middle" >Viewing Area (W*H)</td><td align="center" valign="middle" >66 &#215; 16</td></tr><tr><td align="center" valign="middle" >Character size (W*H)</td><td align="center" valign="middle" >2.96 &#215; 5.56</td></tr><tr><td align="center" valign="middle" >Character pitch (W*H)</td><td align="center" valign="middle" >3.55 &#215; 5.94</td></tr><tr><td align="center" valign="middle" >Character Font</td><td align="center" valign="middle" >5 &#215; 8</td></tr><tr><td align="center" valign="middle" >Display Type</td><td align="center" valign="middle" >Positive Type</td></tr><tr><td align="center" valign="middle" >Storage Temperature</td><td align="center" valign="middle" >−30˚C - 80˚C</td></tr><tr><td align="center" valign="middle" >DC Current for 3.3 V Pin</td><td align="center" valign="middle" >50 mA</td></tr><tr><td align="center" valign="middle" >Backlight</td><td align="center" valign="middle" >LED</td></tr><tr><td align="center" valign="middle" >Operating Voltage</td><td align="center" valign="middle" >5.0 V</td></tr><tr><td align="center" valign="middle" >Supply Current</td><td align="center" valign="middle" >1.2 mA</td></tr></tbody></table></table-wrap><fig id="fig16"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>6</label><caption><title> LabVIEW</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x17.png"/></fig><p>・ Easy to use;</p><p>・ Faster user interface;</p><p>・ Quick development time;</p><p>・ Easily upgradable;</p><p>・ Graphical source code.</p><p>・ Data can be acquired through various communication portals:</p><p>○ Serial;</p><p>○ GPIB;</p><p>○ RDA;</p><p>○ IMAQ;</p><p>○ RT (Real time) board.</p><p>・ LabVIEW can include tools to help analyze data for:</p><p>○ Signal processing for filtering;</p><p>○ Peak detection;</p><p>○ Harmonic analysis;</p><p>○ Spectrum analysis.</p><p>・ Analyzing data using deferential equation, optimization, curve fitting, calculus, linear al Gerba, static, etc.</p><p>・ Analysis can be either by done directly in LabVIEW or with third party software such as C++ or MATLAB.</p><p>・ LabVIEW include the following tools to help you present your data:</p><p>○ on your machine using graphs, charts, gauges, etc.;</p><p>○ Over the internet-web publishing [<xref ref-type="bibr" rid="scirp.73047-ref6">6</xref>] .</p></sec><sec id="s4_11"><title>4.11. Laptop</title><p>I used my personal laptop for code development and testing. It is a 64-bit Windows 10 laptop that runs LabVIEW 2016 (<xref ref-type="fig" rid="fig1">Figure 1</xref>7).</p></sec><sec id="s4_12"><title>4.12. Testing</title><p>Since we do not have access to patients that we can try the Intelligent Bio-Detector on,</p><fig id="fig17"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>7</label><caption><title> Laptop with LabVIEW</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x18.png"/></fig><p>we used alternative testing methods. For example, a hair dryer was used to increase the temperature around the temperature sensor. Lemon water was used to verify the functionality of the pH sensor (<xref ref-type="fig" rid="fig1">Figure 1</xref>8).</p></sec></sec><sec id="s5"><title>5. Implementation of Individual Components</title><p>In the section, we will cover the strategy that was used to design and implement this project. Before integrating all the sensors into the Intelligent Bio-Detector system, all the individual sensors were calibrated and tested individually. A flow chart of the project planning is shown (<xref ref-type="fig" rid="fig1">Figure 1</xref>9).</p><p>The following subsections will cover the functioning and testing of each individual sensor prior to integration with the complete Intelligent Bio-Detector system.</p><sec id="s5_1"><title>5.1. pH Sensor</title><p>The pH sensor is used to measure the “potential Hydrogen” concentration of a medium. We described the specifications of the pH sensor in the previous section. The pH</p><fig id="fig18"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>8</label><caption><title> Alternative testing methods</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x19.png"/></fig><fig id="fig19"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>9</label><caption><title> Flowchart of the project planning</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x20.png"/></fig><p>sensor is connected to the AI2 (Analog Input 2) of the Arduino UNO. For calibration and testing of the pH sensor, we wrote a small Arduino program that allows us to monitor the result of the pH sensor in two different mediums, water and lemon water.</p><p>The analog Read function is the output of the 10-bit ADC on the Arduino. The output values range from 0 to 1023. Since the range of the ADC input is from 0 - 5 V, we multiplied the output of the ADC by (5 V/1024) to get the actual voltage (<xref ref-type="fig" rid="fig2">Figure 2</xref>0). The 3.84 shown in the code is the correlation coefficient to convert the voltage into pH. We tested the pH sensor using pure water as shown (<xref ref-type="fig" rid="fig2">Figure 2</xref>1).</p><p>The output of the Arduino code is shown on the serial monitor (<xref ref-type="fig" rid="fig2">Figure 2</xref>2).</p><p>We also implemented the pH sensor code in LabVIEW as seen below. In this case, we first tested the pH of pure water, then we immersed the sensor into lemon water as shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>3 and <xref ref-type="fig" rid="fig2">Figure 2</xref>4.</p></sec><sec id="s5_2"><title>5.2. Pulse Sensor</title><p>The pulse sensor is used to measure heart rate of the patient. It is connected to the AI3 (Analog Input 3) of the Arduino Uno. Unlike the pH sensor, the pulse sensor does not output a voltage that is directly proportional to the heart rate. The pulse sensor outputs voltage that is represents of the pulse but it needs to be post-processed to determine the heart rate. The pulse sensor comes with various accessories that allow it to be used on the finger and the ear lobe. For our project, we placed the sensor on our index finger tip as shown in the image (<xref ref-type="fig" rid="fig2">Figure 2</xref>5).</p><p>Like the pH sensor, we tested the pulse sensor using both the Arduino and the LabVIEW portals. For the Arduino, we had the option to use the pulse sensor libraries provided by the manufacturer but we decided to write our own algorithm that detects the</p><fig id="fig20"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>0</label><caption><title> Arduino code for individual testing of pH sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x21.png"/></fig><fig id="fig21"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>1</label><caption><title> pH testing of pure water</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x22.png"/></fig><fig id="fig22"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>2</label><caption><title> pH of pure water observed on the serial monitor of Arduino</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x23.png"/></fig><fig id="fig23"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>3</label><caption><title> pH sensor in lemon water</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x24.png"/></fig><p>heart rate. The code for the algorithm is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>6.</p><p>We set the threshold for heart beat detection to be at 600. This number was deciding after observing the output of the ADC. Keep in mind that the range of the pulse sensor output is from 0 - 1023. 600 that is slightly above the half way point of the range. Once the 600 threshold is hit, the algorithm looks like a falling edge when the output reaches 500. Once the falling edge at 500 output is detected, it is counted as a beat. The data is collected for 15 seconds and then the number of beats is multiplied by 4 to get the true beats per minute. The output of the Arduino code is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>7.</p><p>We also implemented the code in LabVIEW like the pH sensor. In LabVIEW, we</p><fig id="fig24"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>4</label><caption><title> LabVIEW results from pH testing of pure and lemon water</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x25.png"/></fig><fig id="fig25"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>5</label><caption><title> Pulse sensor setup</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x26.png"/></fig><fig id="fig26"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>6</label><caption><title> Arduino code for measuring BPM</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x27.png"/></fig><fig id="fig27"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>7</label><caption><title> Arduino output for the pulse sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x28.png"/></fig><p>measured the direct output of the pulse sensor. No algorithm was used to convert the output into beats per minute. The visual representation of the pulse sensor in LabVIEW gives us a good idea of the workings of the pulse sensor (<xref ref-type="fig" rid="fig2">Figure 2</xref>8).</p></sec><sec id="s5_3"><title>5.3. Grove-Gas Sensor</title><p>The Grove-Gas sensor (O<sub>2</sub>) was used to determine the concentration of oxygen in the air (<xref ref-type="fig" rid="fig2">Figure 2</xref>9).</p><p>The Arduino code for characterizing and testing the Grove-Gas sensor is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>0.</p><p>The output of the Arduino is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>1. The unit is %.</p><p>The LabVIEW output of the oxygen sensor is shown below. For the LabVIEW test, we blew on the O<sub>2</sub> sensor during data capture. The effect of blowing on the sensor can be seen in the output percentage (<xref ref-type="fig" rid="fig3">Figure 3</xref>2).</p><fig id="fig28"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>8</label><caption><title> LabVIEW output of the pulse sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x29.png"/></fig><fig id="fig29"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref>9</label><caption><title> Grove-Gas sensor (O<sub>2</sub>)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x30.png"/></fig><fig id="fig30"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>0</label><caption><title> Arduino code for O<sub>2</sub> sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x31.png"/></fig></sec><sec id="s5_4"><title>5.4. Temperature Sensor</title><p>The temperature sensor is used to measure the body temperature for the Intelligent</p><fig id="fig31"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>1</label><caption><title> Arduino output of the oxygen sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x32.png"/></fig><fig id="fig32"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>2</label><caption><title> LabVIEW output of the O<sub>2</sub> sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x33.png"/></fig><p>Bio-detector. There is no easy way to measure the temperature of the body using the TMP36 so we simulated temperature change using a hair dryer. Both Arduino and LabVIEW platforms were used for characterization and testing (<xref ref-type="fig" rid="fig3">Figure 3</xref>3).</p><p>The Arduino code accounts for the offset and the correlation factor provided in the TMP36 datasheet (<xref ref-type="fig" rid="fig3">Figure 3</xref>4).</p><p>Like the other analog inputs, the temperature output from the ADC must be multiplied by (5/1024) to convert from the ADC output to a voltage. The offset of the temperature sensor is 500 mV. This allows the temperature sensor to output negative values in Celsius. The output of the Arduino code on the serial monitor is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>5.</p><p>The LabVIEW output of the temperature sensor shows the effect of a hair dryer blowing on a temperature sensor (<xref ref-type="fig" rid="fig3">Figure 3</xref>6).</p><fig id="fig33"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>3</label><caption><title> Temperature sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x34.png"/></fig><fig id="fig34"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>4</label><caption><title> Arduino code for measuring temperature</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x35.png"/></fig><fig id="fig35"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>5</label><caption><title> Arduino output of the temperature sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x36.png"/></fig></sec><sec id="s5_5"><title>5.5. EMG Sensor</title><p>The EMG sensor is not as straightforward as the rest of the sensors. The output of the sensor rails to 3 V if there is activity detected in the muscle (<xref ref-type="fig" rid="fig3">Figure 3</xref>7).</p><p>The Arduino code for EMG sensor uses AI1 (Analog Input 1). The output of the EMG sensor is in Volts (<xref ref-type="fig" rid="fig3">Figure 3</xref>8).</p><p>The output of the EMG sensor on the Serial Monitor from the Arduino code is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>9.</p><p>The LabVIEW implementation of the EMG sensor is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>0.</p><fig id="fig36"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>6</label><caption><title> LabVIEW output of temperature sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x37.png"/></fig><fig id="fig37"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>7</label><caption><title> EMG sensor under test</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x38.png"/></fig><fig id="fig38"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>8</label><caption><title> Arduino code for the EMG sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x39.png"/></fig><fig id="fig39"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref>9</label><caption><title> EMG sensor output of the Arduino code</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x40.png"/></fig><fig id="fig40"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>0</label><caption><title> LabVIEW output of the EMG sensor</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x41.png"/></fig></sec><sec id="s5_6"><title>5.6. LCD</title><p>The LCD module has libraries available in the Arduino IDE. It is easy to use and has a set of useful and straightforward functions (<xref ref-type="fig" rid="fig4">Figure 4</xref>1).</p><p>The LCD module was only tested with the Arduino IDE. The code below shows that the program accepts a string from the Serial Monitor and outputs it on the LCD. The program waits for the user to input a string on the Serial Monitor and then displays it on the LCD screen (<xref ref-type="fig" rid="fig4">Figure 4</xref>2 and <xref ref-type="fig" rid="fig4">Figure 4</xref>3).</p><fig id="fig41"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>1</label><caption><title> LCD module under test</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x42.png"/></fig><fig id="fig42"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>2</label><caption><title> Arduino code for standalone test of the LCD</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x43.png"/></fig><fig id="fig43"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>3</label><caption><title> Input for the LCD module</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x44.png"/></fig><p>The output of the standalone LCD program is shown in the images (<xref ref-type="fig" rid="fig4">Figure 4</xref>4).</p></sec><sec id="s5_7"><title>5.7. GSM Module</title><p>The GSM module requires the external AC-DC adapter to operate. The USB power alone isn’t sufficient to operate the module. For the GSM module, only Arduino testing was completed. The Arduino code is shown below. The standalone application for SMS allows the user to send a string to the serial monitor in the format “tXXXXXXX”. The “t” character is needed as a prefix to the string. The ‘XXXXXX’ is the message to be sent to the phone number listed in the Arduino code (<xref ref-type="fig" rid="fig4">Figure 4</xref>5).</p><p>Several tests were run in which we sent different texts to our cell phone from the GSM module. The Serial Monitor and the cell phone messaging screenshot show the example of the standalone testing (<xref ref-type="fig" rid="fig4">Figure 4</xref>6 and <xref ref-type="fig" rid="fig4">Figure 4</xref>7).</p><fig id="fig44"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>4</label><caption><title> LCD output</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x45.png"/></fig><fig id="fig45"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>5</label><caption><title> Arduino code for SMS standalone application</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x46.png"/></fig><fig id="fig46"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>6</label><caption><title> SMS testing with Arduino</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x47.png"/></fig><fig id="fig47"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>7</label><caption><title> SMS received from the GSM shield</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x48.png"/></fig></sec></sec><sec id="s6"><title>6. Full System Integration</title><p>The full system integration of the Intelligent Bio-detector was carried out in two parallel paths: LabVIEW and Arduino. The LabVIEW integration combined the data capture of all individual sensors. The LCD and GSM modules were not integrated with the LabVIEW implementation. The Arduino implementation of the Intelligent Bio-detector integrated all the sensors, the LCD module and the GSM shield that alerts the user if there is emergency activity detected.</p><sec id="s6_1"><title>6.1. LabVIEW Implementation</title><p>The LabVIEW code for the implementation of Intelligent Bio-detector is covered in this sub-section (<xref ref-type="fig" rid="fig4">Figure 4</xref>8).</p><p>The LabVIEW front panel is tab based for readings of different sensors in real time. There is also a Settings tab that allows the user to pick the COM port of the Arduino. It also contains the “STOP” button that closes the connection to the Arduino microcontroller cleanly. The block diagram of the LabVIEW code is also shown here (<xref ref-type="fig" rid="fig4">Figure 4</xref>9 and <xref ref-type="fig" rid="fig5">Figure 5</xref>0).</p><fig id="fig48"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>8</label><caption><title> LabVIEW front panel</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x49.png"/></fig><fig id="fig49"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref>9</label><caption><title> Block diagram for the LabVIEW code</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x50.png"/></fig><fig id="fig50"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>0</label><caption><title> LabVIEW output of the pulse sensor in real time</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x51.png"/></fig><p>Sample output of the pulse sensor in real time in LabVIEW.</p><p>One important thing to note is that the LabVIEW program works with the pre-built IDE firmware. One cannot upload a custom firmware onto the Arduino UNO and then use this LabVIEW program to monitor sensor data in real time. The screenshots below show the procedure to upload the pre-built IDE firmware onto the Arduino prior to running the LabVIEW program (Figures 51-55).</p></sec><sec id="s6_2"><title>6.2. Arduino Implementation</title><p>The Arduino implementation of the Intelligent Bio-detector is complete and it includes all the features including the sensors, the LCD and the GSM integration (<xref ref-type="fig" rid="fig5">Figure 5</xref>6).</p><p>The code specifies the sensor limits for the Intelligent Bio-detector system. These can be altered by the user appropriately. Under normal operation of the program, the LCD displays the Status and the sensor values of all sensors. Since we are limited by the real estate of the LCD, the LCD cycles through various sensor values for a duration of 1 second. Corresponding to each sensor value, the LCD also displays the status as “Normal” or “Abnormal”. Additionally, if the status is “Abnormal”, the Arduino program will send an alert to the phone number notifying the user of an emergency state with the following information:</p><p>・ Name of patient;</p><p>・ Address of patient;</p><p>・ Emergency State;</p><p>・ Current value of the sensor that caused the Abnormal status.</p><fig id="fig51"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>1</label><caption><title> LabVIEW: Select LINX firmware wizard</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x52.png"/></fig><fig id="fig52"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>2</label><caption><title> Select Arduino UNO and click next</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x53.png"/></fig><p>Shown below are some of the screenshots from the LCD showing both “Abnormal” and “Normal” statuses (Figures 57-61).</p><fig id="fig53"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>3</label><caption><title> Select COM port</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x54.png"/></fig><fig id="fig54"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>4</label><caption><title> Select firmware version and upload type</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x55.png"/></fig><p>The “Normal” and “Abnormal” status on the LCD is determined based on the minimum and maximum values of the sensors shown in <xref ref-type="table" rid="table4">Table 4</xref>.</p><fig id="fig55"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>5</label><caption><title> Firmware upload in progress</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x56.png"/></fig><fig id="fig56"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>6</label><caption><title> Partial code of the Arduino implementation of the intelligent bio-detector</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x57.png"/></fig><fig id="fig57"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>7</label><caption><title> Normal status and pH value</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x58.png"/></fig><fig id="fig58"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>8</label><caption><title> Normal status and O<sub>2</sub> concentration</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x59.png"/></fig><fig id="fig59"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref>9</label><caption><title> Normal status and EMG value</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x60.png"/></fig><fig id="fig60"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref>0</label><caption><title> Normal status and BPM value</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x61.png"/></fig><fig id="fig61"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref>1</label><caption><title> Abnormal status and temp value</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x62.png"/></fig><p>During testing of the final integrated Intelligent Bio-detector, SMS alerts were received when the output values of any of the sensors were outside the allowed limits defined in the Arduino program. The screenshots below show examples of such alerts (Figures 62-64).</p></sec></sec><sec id="s7"><title>7. Conclusion</title><p>The Intelligent Bio-detector is a multi-sensor approach to solving a critical problem with our healthcare industry. Patients suffering from chronic illness and paralysis will</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Minimum and maximum limits of the sensors</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Sensor</th><th align="center" valign="middle" >Minimum Value</th><th align="center" valign="middle" >Minimum Value</th></tr></thead><tr><td align="center" valign="middle" >Temperature</td><td align="center" valign="middle" >19˚C</td><td align="center" valign="middle" >25˚C</td></tr><tr><td align="center" valign="middle" >EMG</td><td align="center" valign="middle" >0.5 V</td><td align="center" valign="middle" >3 V</td></tr><tr><td align="center" valign="middle" >pH</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >9</td></tr><tr><td align="center" valign="middle" >Pulse</td><td align="center" valign="middle" >60 BPM</td><td align="center" valign="middle" >100 BPM</td></tr><tr><td align="center" valign="middle" >O2</td><td align="center" valign="middle" >19%</td><td align="center" valign="middle" >23%</td></tr></tbody></table></table-wrap><fig id="fig62"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref>2</label><caption><title> SMS alert due to high temperature</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x63.png"/></fig><fig id="fig63"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref>3</label><caption><title> SMS alert due to high acidity</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x64.png"/></fig><fig id="fig64"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref>4</label><caption><title> SMS alert for detecting muscle activity</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-2310684x65.png"/></fig><p>tremendously benefit from this invention. It will also relieve stress from home nurses and family members who must provide undivided attention to patients throughout the day. The GSM/SMS functionality of the invention allows us to stay connected with the patients easily. The device will be easy to manufacture and will be a cost-effective solution to a growing healthcare issue.</p></sec><sec id="s8"><title>Cite this paper</title><p>Ahmed, S. (2016) Intelligent Bio-Detector. Open Journal of Applied Sciences, 6, 903-937. http://dx.doi.org/10.4236/ojapps.2016.613078</p></sec></body><back><ref-list><title>References</title><ref id="scirp.73047-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Griffith, T. (2012) Understanding pH Measurement. Sensor Land.</mixed-citation></ref><ref id="scirp.73047-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Zimmermann, K.A. (2013) Heart Rate Monitors. Live Science.</mixed-citation></ref><ref id="scirp.73047-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Ramamoorthy, R. (2003) Oxygen Saturation. Journal of Materials Science, 38, 4271-4282. 
https://doi.org/10.1023/A:1026370729205</mixed-citation></ref><ref id="scirp.73047-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Sharifi, R. and Langari, R. (2016) Nonlinear Sensor Fault Diagnosis Using Mixture of Probabilistic PCA Models. Mechanical Systems and Signal Processing, 85, 638-650.</mixed-citation></ref><ref id="scirp.73047-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Ada, L. (2012) Using a Temp Sensor. AdaFruit.</mixed-citation></ref><ref id="scirp.73047-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Thoric (2016) LabVIEW Introduction. Retrieved from NI.com.</mixed-citation></ref></ref-list></back></article>