<?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">JST</journal-id><journal-title-group><journal-title>Journal of Sensor Technology</journal-title></journal-title-group><issn pub-type="epub">2161-122X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jst.2019.94006</article-id><article-id pub-id-type="publisher-id">JST-96583</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Attention Detection System Based on the Variability of Heart Rate
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ubaldo</surname><given-names>Enrique Rodríguez de Avila</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Isaac</surname><given-names>Campos Braga</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fabíola</surname><given-names>Rodrigues de França Campos</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Adriano</surname><given-names>Chiombacanga Nafital</given-names></name><xref ref-type="aff" rid="aff4"><sup>4</sup></xref></contrib></contrib-group><aff id="aff4"><addr-line>Department of Biology of the Universidade Pungi, Chimoio, Mozambique</addr-line></aff><aff id="aff3"><addr-line>Department of Physiotherapy of the Universidade Federal do Rio Grande do Norte, Natal, Brasil</addr-line></aff><aff id="aff2"><addr-line>Biomedicine Graduation of Universidade Federal do Rio Grande do Norte, Natal, Brasil</addr-line></aff><aff id="aff1"><addr-line>Department of Psychology of the Universidad del Magdalena, Santa Marta, Colombia</addr-line></aff><pub-date pub-type="epub"><day>22</day><month>11</month><year>2019</year></pub-date><volume>09</volume><issue>04</issue><fpage>54</fpage><lpage>70</lpage><history><date date-type="received"><day>23,</day>	<month>October</month>	<year>2019</year></date><date date-type="rev-recd"><day>23,</day>	<month>November</month>	<year>2019</year>	</date><date date-type="accepted"><day>26,</day>	<month>November</month>	<year>2019</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>
 
 
  Attention is a cognitive and psychobiological variable that lacks objective measures in natural contexts of formal learning. However, it can be objectively measured from the heart autonomic activity. In the present study, the validity and reliability of a system for recording heart rate variability are demonstrated. Twelve prototypes were created and paired with standard electrocardiogram. Long segments with cardiac pulse recordings were used within ten minutes. A highly significant correlation index (p &lt; 0.01) and a significantly high Cronbach’s alpha were obtained. In the variance analysis, all data analyzed presented a value of p &lt; 0.05. It is concluded that there is no significant variation between paired systems; therefore, the attention detection system based on heart rate variability is valid and reliable.
 
</p></abstract><kwd-group><kwd>Arduino</kwd><kwd> RR Interval</kwd><kwd> Heart Rate Variability</kwd><kwd> Attention</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The Porges Polyvagal Perspective relates the autonomic function with the behavior and defines the Autonomic Nervous System (ANS) as “system” [<xref ref-type="bibr" rid="scirp.96583-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref3">3</xref>] and in that line, Thayer, Hansen, Saus-Rose and Johnsen [<xref ref-type="bibr" rid="scirp.96583-ref4">4</xref>] proposed the Neurovisceral Integration Model, which exposes the existence of a network of neural structures related to the regulation of physiological processes, cognitive processes and emotional processes, which they called Central Autonomic Network (CAN), which is part of an internal regulation system that innervates the heart through the pathways of the Sympathetic Nervous System (SNS) and Parasympathetic Nervous System (PNS) [<xref ref-type="bibr" rid="scirp.96583-ref5">5</xref>]. In summary, the regulatory activity of CAN is related to Heart Rate Variability (HRV), which is the result of interactions between the SNS and the PNS [<xref ref-type="bibr" rid="scirp.96583-ref6">6</xref>], with an impact on cognitive and emotional processes [<xref ref-type="bibr" rid="scirp.96583-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref7">7</xref>].</p><p>Thus, the activation of the SNS produces an increase in the Heart Rate (HR) by slow impulses of low frequency, due to physical and mental stress. In contrast, PNS lowers HR by high-frequency vagal electrical impulses and manages changes in the HR due to signals from arterial baroreceptors and the respiratory system [<xref ref-type="bibr" rid="scirp.96583-ref5">5</xref>]. This is why the HRV study allows us to observe the fluctuating predominance of the SNS and PNS, which makes it possible to measure the Attention objectively. In this way, the association of the communication pathways between the heart and the brain is responsible for the generation of Heart Rate Variability (HRV).</p><p>Therefore, the fundamental premise of the present study is deduced, which consists in the idea that the care has a physiological substrate, regulated by the activity of the ANS (SNS and PNS) to the extent that the SNS has as a function the acceleration of the responses of the organism and the preparation for action (stress) and therefore increases the levels of cognitive attention, and thus, the HR increases [<xref ref-type="bibr" rid="scirp.96583-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref10">10</xref>]. On the other hand, the predominance of PNS causes a resting body state in the body, reducing the level of stress [<xref ref-type="bibr" rid="scirp.96583-ref6">6</xref>]. Therefore, attention, in addition to being a central and fundamental aspect of cognition [<xref ref-type="bibr" rid="scirp.96583-ref11">11</xref>], is related to the models of neuronal integration and learning regulated by attention [<xref ref-type="bibr" rid="scirp.96583-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref13">13</xref>]. There is already evidence that the ANS plays a fundamental role in implicit learning [<xref ref-type="bibr" rid="scirp.96583-ref14">14</xref>], in cognition, emotion and mainly in attention [<xref ref-type="bibr" rid="scirp.96583-ref15">15</xref>].</p><p>Also, the electrophysiology in the study of the HRV, has been experiencing a growing and rapid expansion with increasing complexity and the number of techniques performed [<xref ref-type="bibr" rid="scirp.96583-ref16">16</xref>] that together with the scientific evidence set forth above, it is found that HRV is emerging as a simple non-invasive measure, or quantitative marker, of autonomic activity [<xref ref-type="bibr" rid="scirp.96583-ref16">16</xref>], which can also be used as an objective measure for the study of autonomic processes related to cognitive processes [<xref ref-type="bibr" rid="scirp.96583-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref19">19</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref20">20</xref>] (Luque-Casado, Perales, C&#225;rdenas &amp; Sanabria, 2016) (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>Flexible electronic devices are emerging as powerful tools to measure biological signals, such as HR or a person’s blood pressure [<xref ref-type="bibr" rid="scirp.96583-ref21">21</xref>]. The basic research based on objective psychobiological records provides foundations for future flexible technologies [<xref ref-type="bibr" rid="scirp.96583-ref22">22</xref>], but these advances can only be transformed into concrete products if technological innovation advances from the laboratory, even more so when they are systems designed to be applied in life research and pedagogical or formative activity.</p><p>In this perspective, various techniques have been developed for the calculation of HR using the R wave. Some of them employ demanding procedures such as</p><p>expensive programmable devices, with adaptive threshold calculation, filter banks, transformations and mathematical operations, among other alternatives of measurement [<xref ref-type="bibr" rid="scirp.96583-ref23">23</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref24">24</xref>]. They also use programmable digital devices, advanced machines type RISC (Reduced Instruction Set Computer), which is a 32-bit RISC architecture developed by ARM Holding, becoming a dominant alternative in the mobile electronics market [<xref ref-type="bibr" rid="scirp.96583-ref25">25</xref>]. We can also mention the Olimexino STM32, which is an open source development card, Arduino type, with STM32F103RBT6 microcontroller, with DC-DC power supply from 9 to 30 V, low consumption voltage regulators and with Micro SD-card system for data storage [<xref ref-type="bibr" rid="scirp.96583-ref25">25</xref>]. There is also a history of reliable use of systems such as the Shiel EKG-EMG, Arduino DUE, or the Arduino Ethernet Shield, etc. [<xref ref-type="bibr" rid="scirp.96583-ref25">25</xref>].</p><p>In a study developed by Weippert et al. [<xref ref-type="bibr" rid="scirp.96583-ref26">26</xref>] three mobile devices were compared to measure the RR intervals and HR. The devices were the Polar S810i, Suunto t6 and an ambulatory EKG system. The participants were subjected to simultaneous recordings of the RR interval with the three instruments during rest in the supine and sitting position, moderate dynamics and moderate to vigorous static exercise of the upper and lower limb. For each subject, 17 series of RR intervals with 3-minute recordings were extracted and then analyzed in the frequency domain using the Fast Fourier Transform (FFT). To compare the reliability of the data (measurement matching criteria), the researchers determined the intraclass correlation coefficients (ICC) and the Bland-Altman agreement limits method (LoA). The results showed agreement between all the devices.</p><p>Also, Urbano [<xref ref-type="bibr" rid="scirp.96583-ref25">25</xref>] carried out a study whose objective was to design an algorithm for the quantification of the average heart rate, from the detection of the R wave, oriented to its implementation in programmable digital devices of the ARM type; where one of the specific objectives was to identify the possibility of implementing an integration strategy with data storage devices in removable memory and communication with the personal computer, in order to facilitate the exposure of the data quickly.</p><p>As far as we know, there are no technological development studies for the registration of the HRV with a simple device, easy to program, agile to assemble and robust enough to be used in scientific research and in pedagogical activity, low cost and free use.</p><p>Therefore, the objective of this study was to design and validate an accessible, low-cost, flexible and easy-to-use tool for researchers and students, with the same performance of sophisticated controls and more complex tools, which can be used to the development of the investigation of records of the HRV, or to be connected to a central computer based on the online pedagogical activity.</p></sec><sec id="s2"><title>2. Method</title><sec id="s2_1"><title>2.1. Attention Detection System Based on the Variability of Heart Rate (ADS-VHR1)</title><p>The study is design and validation of ADS-VHR1. The measurement of observation is the registered cardiac pulses. With twelve (12) systems paired with a Standard Electrocardiogram (EKG-P). The sample was defined a posteriori, that is: It was identified after the cardiac pulse records. The participating subjects were: Three volunteers, men, who enjoyed good health, and before or during the test, did not take any substance that altered their physiology.</p><p>The ADS-VHR1 is based on Arduino Technology. This technology is a platform for free hardware electronic prototypes and a single board, projected with a microcontroller, by integrated input and output gate and standard programming language [<xref ref-type="bibr" rid="scirp.96583-ref27">27</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref28">28</xref>]. It is composed of an Arduino UNO microprocessor; a pulse sensor; an SD Card Module; a Protoboard; a Psh-button for event marking. The components of the System are basically five, in addition to the wiring and support. They described below:</p><p>1) Arduino: It is an open-source electronic prototype platform based on flexible hardware and software. The board’s microcontroller is programmed using the Arduino Programming Language (based on Wiring) and the Arduino Development Environment (based on Processing). It can also be defined as a tiny computer that can be programmed to process inputs and outputs between the device and the external components that connect to it [<xref ref-type="bibr" rid="scirp.96583-ref28">28</xref>].</p><p>The ADS-VHR1 prototype was designed with software running on a common computer for later use, powered by a 9-volt battery (see code in Appendix). System components were purchased from authorized suppliers, and then assembled by hand. The reference hardware designs are available under an open-source license, so it is free to be adapted to the different needs of the user [<xref ref-type="bibr" rid="scirp.96583-ref27">27</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref28">28</xref>].</p><p>2) Protoboard: It consists of a plate with a matrix of contacts that allows the construction of experimental circuits without welding, which makes it fast and safe to alter the position of a certain component, including its replacement.</p><p>3) Micro SD Memory Card Module: It is a device that uses the recorded information, in text format, on a standard micro SD card as storage. It allows to store the information during a variable registration time and then be processed in the computer.</p><p>4) Heart Rate Sensor: It is an amplified optical sensor that makes the reading of the heartbeat. The Arduino microcontroller processes it, by means of the code that converts the registered signal into numbers, which correspond to the distance in milliseconds of each heart pulse or RR interval, and then that data is sent through cables connected to the Protoboard, which in turn, it sends the information to the Micro SD Card Module and stored there, to be later downloaded to a conventional PC and the data processed.</p><p>5) 9 Volt Battery (9 V): It is the power source or power supply of the ADS-VHR1, when it is not connected to the computer.</p><p>The ADS-VHR1 is programmed with free software that does not need to be online, is used in a portable way and the information is removable to be processed in a conventional computer, using other free software that also does not need to be connected to the web (<xref ref-type="fig" rid="fig2">Figure 2</xref>).</p></sec><sec id="s2_2"><title>2.2. Design of the ADS-VHR1</title><p>Initially, three ADS-VHR1 prototypes were built, which were subjected to pre-pilot tests, which allowed to adjust the Arduino’s processing code, Heart Rate sensors, the power supply system and the storage capacity. After this phase, the rest of the prototypes were assembled, which were also subjected to a previous Pilot to verify that the components were adequate and suitable for definitive use.</p><p>After verifying that the hardware and software components were adequate, the test for the final validation was carried out. Twelve (12) paired records were made (corresponding to one for each ADS-VHR1 system). The tests were done with subjects in a sitting position, at rest.</p><p>The EKG-P used was the LabChart, which is software supplied by PowerLab, which is part of a group of systems for research. LabChart software transforms the computer into a digital recorder and oscilloscope that records and displays EKG data in real time. The benefits it presents are easy acquisition, graphic presentation and powerful analysis functions. The values of the RR intervals recorded and processed were extracted from LabChart software; they were stored on the local PC using the interfaces and software supplied by the manufacturer. The records of the values of the RR intervals were then imported into an Excel 2007 version.</p><p>On the other hand, the cardiac pulse registers recorded by the ADS-VHR1, were stored in the SD memory card of this system, were exported for the Excel 2007 version on a local computer for later analysis.</p><p>In the validation analysis, the long segments of the recordings of the cardiac pulse values (RR intervals) in ten (10) minute time were used, also extracting for each system a random sample of the number of RR Intervals to be able to compare the system data objectively. Twelve (12) paired records were made, corresponding to twelve (12) ADS-VHR1 (<xref ref-type="fig" rid="fig3">Figure 3</xref>).</p></sec><sec id="s2_3"><title>2.3. Information Processing</title><p>The data is described by descriptive statistics (central tendency, dispersion and</p><p>distribution). Data were explored to verify Normality using the Kolmogorov-Smirnov tests. The validity of ADS-VHR1 was explored by calculating the correlation between paired systems, intra-class correlation (individual and average) and Cronbrach’s Alpha. Then, in a confirmatory manner, a Variance Analysis (ANOVA) is performed between the paired systems. And it also shows graphically the correlation of the systems by means of scatter plots for each paired system.</p><p>The following computer packages were used:</p><p>&#183; Sketch_may24a|Arduino1.8.9 (for Windows): Used for mounting the ADS-VHR1 code (Appendix).</p><p>&#183; IBM Statistics SPSS 20. Computer statistical program widely used in the social, health and economic sciences.</p><p>&#183; Microsoft Excel for Windows. Statistical support program and establishment of databases.</p></sec></sec><sec id="s3"><title>3. Results</title><p><xref ref-type="table" rid="table1">Table 1</xref> presents the descriptive statistics and the standard deviation of the data obtained from the paired EKG-P and ADS-VHR1 Systems.</p><p>The criteria to determine Normality were the following:</p><p>p Value &gt; 0.05, accept Ho = Data have normal distribution</p><p>p Value &lt; 0.05, accept H1 = Data does NOT have normal distribution</p><p>The data recorded by the standard EKG (EKG-P) and the ADS-VHR1<sub>1-10</sub> had a NO Normal distribution. While the data recorded for the EKG-P and ADS-VHR1<sub>11-12</sub> followed a Normal distribution (<xref ref-type="table" rid="table1">Table 1</xref>).</p><p>In the cross-correlation (bivariate), it was verified that there is a highly significant correlation index (p &lt; 0.01) (<xref ref-type="table" rid="table2">Table 2</xref>). In addition, the correlation was plotted using a scatter plot to observe the correspondence between the systems, calculating the estimated vector distance-R2 (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p><p>As an exploratory analysis, cross-correlation (paired), intraclass correlation was calculated and Cronbach’s Alpha (α) was verified; an α = 0.61 was found for ADS-VHR1-5, whose α is considered weak (<xref ref-type="table" rid="table2">Table 2</xref>), which means low reliability (61%).</p><p>Subsequently, a confirmatory analysis was carried out, beyond the data offered by the Cronbach Alpha, by means of an Analysis of the Variance for all the data, resulting in the validity of all the systems, including the ADS-VHR1-5. The hypotheses were established as follows:</p><p>Ho = There is significant VARIANCE between the Paired Systems.</p><p>H1 = There is no significant VARIANCE between the Paired Systems.</p><p>If P Value &lt; α, Ho is rejected (H1 is accepted).</p><p>If P Value &gt; α, H1 is rejected (Ho is accepted).</p><p>The value of α = 0.05 (5% error and 95% confidence) was determined.</p><p>In this way, all the analyzed data had a value of p &lt; 0.05. It is concluded that there is no significant variance between the systems (see <xref ref-type="table" rid="table2">Table 2</xref>).</p><p>These results suggest, on the one hand, a very good agreement between ADS-VHR1 and EKG-P. Therefore, it can be affirmed that there are no relevant biases for the measurements of the RR intervals by the ADS-VHR1.</p><p>However, referring to the reliability data offered by intraclass correlations and Cronbach’s Alpha value, we notice a 38% difference between extreme values of Cronbach’s Alpha (see <xref ref-type="table" rid="table2">Table 2</xref>), which somehow indicates that the ADS-VHR1 has a certain variability that the researcher must take into account when using.</p></sec><sec id="s4"><title>4. Conclusions</title><p>The programmable digital device based on the Arduino platform, has sufficient reliability, as found in previous research [<xref ref-type="bibr" rid="scirp.96583-ref25">25</xref>], however it is necessary to take into account that this variability found between the various measures performed with the ADS-VHR1 and the EKG-P, it can be due to a possible instability in its components, for example in cardiac pulse sensors, in the storage system in micro SD cards or, mainly, in the feeding system by means of 9 v batteries, since it is necessary to have noted that the EKG-P system works with electric current and therefore provides greater stability in its operation.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Descriptive statistics and normality test for data from ADS-VHR1 and EKG-P</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Systems</th><th align="center" valign="middle"  colspan="5"  >Descriptions</th><th align="center" valign="middle" >Normality Test</th></tr></thead><tr><td align="center" valign="middle" >N</td><td align="center" valign="middle" >Minimum</td><td align="center" valign="middle" >Maximum</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >DS</td><td align="center" valign="middle" >p value</td></tr><tr><td align="center" valign="middle" >EKG-P1</td><td align="center" valign="middle" >260</td><td align="center" valign="middle" >610</td><td align="center" valign="middle" >952</td><td align="center" valign="middle" >777.6</td><td align="center" valign="middle" >64.09</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-1</td><td align="center" valign="middle" >260</td><td align="center" valign="middle" >605</td><td align="center" valign="middle" >937</td><td align="center" valign="middle" >775.5</td><td align="center" valign="middle" >73.61</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P2</td><td align="center" valign="middle" >437</td><td align="center" valign="middle" >441</td><td align="center" valign="middle" >1008</td><td align="center" valign="middle" >774</td><td align="center" valign="middle" >133.78</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-2</td><td align="center" valign="middle" >437</td><td align="center" valign="middle" >445</td><td align="center" valign="middle" >1018</td><td align="center" valign="middle" >778.8</td><td align="center" valign="middle" >124.22</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P3</td><td align="center" valign="middle" >423</td><td align="center" valign="middle" >441</td><td align="center" valign="middle" >1075</td><td align="center" valign="middle" >812.5</td><td align="center" valign="middle" >111.96</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-3</td><td align="center" valign="middle" >423</td><td align="center" valign="middle" >445</td><td align="center" valign="middle" >1106</td><td align="center" valign="middle" >816.6</td><td align="center" valign="middle" >110.48</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P4</td><td align="center" valign="middle" >767</td><td align="center" valign="middle" >685</td><td align="center" valign="middle" >926</td><td align="center" valign="middle" >808.3</td><td align="center" valign="middle" >51.77</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-4</td><td align="center" valign="middle" >767</td><td align="center" valign="middle" >672</td><td align="center" valign="middle" >940</td><td align="center" valign="middle" >810.3</td><td align="center" valign="middle" >52.86</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P5</td><td align="center" valign="middle" >371</td><td align="center" valign="middle" >665</td><td align="center" valign="middle" >1013</td><td align="center" valign="middle" >927.5</td><td align="center" valign="middle" >61.88</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-5</td><td align="center" valign="middle" >371</td><td align="center" valign="middle" >669</td><td align="center" valign="middle" >1015</td><td align="center" valign="middle" >917.4</td><td align="center" valign="middle" >62.51</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P6</td><td align="center" valign="middle" >767</td><td align="center" valign="middle" >685</td><td align="center" valign="middle" >926</td><td align="center" valign="middle" >808.3</td><td align="center" valign="middle" >51.77</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-6</td><td align="center" valign="middle" >767</td><td align="center" valign="middle" >680</td><td align="center" valign="middle" >932</td><td align="center" valign="middle" >809.3</td><td align="center" valign="middle" >52.14</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P7</td><td align="center" valign="middle" >414</td><td align="center" valign="middle" >441</td><td align="center" valign="middle" >1014</td><td align="center" valign="middle" >841.4</td><td align="center" valign="middle" >93.86</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-7</td><td align="center" valign="middle" >414</td><td align="center" valign="middle" >445</td><td align="center" valign="middle" >1015</td><td align="center" valign="middle" >852</td><td align="center" valign="middle" >86.03</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P8</td><td align="center" valign="middle" >184</td><td align="center" valign="middle" >621</td><td align="center" valign="middle" >995</td><td align="center" valign="middle" >892</td><td align="center" valign="middle" >92.61</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-8</td><td align="center" valign="middle" >184</td><td align="center" valign="middle" >600</td><td align="center" valign="middle" >1000</td><td align="center" valign="middle" >887.7</td><td align="center" valign="middle" >94.98</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P9</td><td align="center" valign="middle" >186</td><td align="center" valign="middle" >628</td><td align="center" valign="middle" >1003</td><td align="center" valign="middle" >882.2</td><td align="center" valign="middle" >63.09</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-9</td><td align="center" valign="middle" >186</td><td align="center" valign="middle" >650</td><td align="center" valign="middle" >1001</td><td align="center" valign="middle" >881.7</td><td align="center" valign="middle" >57.99</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P10</td><td align="center" valign="middle" >207</td><td align="center" valign="middle" >677</td><td align="center" valign="middle" >990</td><td align="center" valign="middle" >869.6</td><td align="center" valign="middle" >50.31</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-10</td><td align="center" valign="middle" >207</td><td align="center" valign="middle" >674</td><td align="center" valign="middle" >985</td><td align="center" valign="middle" >873.6</td><td align="center" valign="middle" >49.37</td><td align="center" valign="middle" >*</td></tr><tr><td align="center" valign="middle" >EKG-P11</td><td align="center" valign="middle" >213</td><td align="center" valign="middle" >674</td><td align="center" valign="middle" >992</td><td align="center" valign="middle" >842.6</td><td align="center" valign="middle" >55.36</td><td align="center" valign="middle" >0.20**</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-11</td><td align="center" valign="middle" >213</td><td align="center" valign="middle" >693</td><td align="center" valign="middle" >999</td><td align="center" valign="middle" >838.3</td><td align="center" valign="middle" >52.32</td><td align="center" valign="middle" >0.08**</td></tr><tr><td align="center" valign="middle" >EKG-P12</td><td align="center" valign="middle" >229</td><td align="center" valign="middle" >527</td><td align="center" valign="middle" >952</td><td align="center" valign="middle" >711.7</td><td align="center" valign="middle" >95.18</td><td align="center" valign="middle" >0.92**</td></tr><tr><td align="center" valign="middle" >ADS-VHR1-12</td><td align="center" valign="middle" >229</td><td align="center" valign="middle" >526</td><td align="center" valign="middle" >945</td><td align="center" valign="middle" >703.5</td><td align="center" valign="middle" >92.02</td><td align="center" valign="middle" >0.35**</td></tr></tbody></table></table-wrap><p>* p &lt; 0.05 = Non-Normal Distribution. ** p &gt; 0.05 = Normal Distribution. The normality test used was Kolmogorov-Smirnov. The N value represents the number of cardiac pulses, measured in the distance between two successive R waves, in a recording time of 10 minutes.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Correlation and analysis of the variance in paired systems data</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Paired Systems</th><th align="center" valign="middle"  rowspan="2"  >R</th><th align="center" valign="middle"  colspan="2"  >Intraclass Correlation</th><th align="center" valign="middle"  rowspan="2"  >α</th><th align="center" valign="middle"  rowspan="2"  >Variance</th></tr></thead><tr><td align="center" valign="middle" >Individual</td><td align="center" valign="middle" >Average</td></tr><tr><td align="center" valign="middle" >EKG-P1-ADS-VHR1-1</td><td align="center" valign="middle" >0.839(*)</td><td align="center" valign="middle" >0.813</td><td align="center" valign="middle" >0.897</td><td align="center" valign="middle" >0.90</td><td align="center" valign="middle" >f = 3.82 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P2-ADS-VHR1-2</td><td align="center" valign="middle" >0.799(*)</td><td align="center" valign="middle" >0.943</td><td align="center" valign="middle" >0.971</td><td align="center" valign="middle" >0.98</td><td align="center" valign="middle" >f = 32.36 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P3-ADS-VHR1-3</td><td align="center" valign="middle" >0.930(*)</td><td align="center" valign="middle" >0.965</td><td align="center" valign="middle" >0.982</td><td align="center" valign="middle" >0.98</td><td align="center" valign="middle" >f = 33.37 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P4-ADS-VHR1-4</td><td align="center" valign="middle" >0.986(*)</td><td align="center" valign="middle" >0.987</td><td align="center" valign="middle" >0.993</td><td align="center" valign="middle" >0.99</td><td align="center" valign="middle" >f = 161.5 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P5-ADS-VHR1-5</td><td align="center" valign="middle" >0.569(*)</td><td align="center" valign="middle" >0.434</td><td align="center" valign="middle" >0.605</td><td align="center" valign="middle" >0.61</td><td align="center" valign="middle" >f = 2.933 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P6-ADS-VHR1-6</td><td align="center" valign="middle" >0.996(*)</td><td align="center" valign="middle" >0.997</td><td align="center" valign="middle" >0.998</td><td align="center" valign="middle" >0.99</td><td align="center" valign="middle" >f = 616.8 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P7-ADS-VHR1-7</td><td align="center" valign="middle" >0.812(*)</td><td align="center" valign="middle" >0.834</td><td align="center" valign="middle" >0.909</td><td align="center" valign="middle" >0.91</td><td align="center" valign="middle" >f = 10.39 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P8-ADS-VHR1-8</td><td align="center" valign="middle" >0.604(*)</td><td align="center" valign="middle" >0.713</td><td align="center" valign="middle" >0.833</td><td align="center" valign="middle" >0.83</td><td align="center" valign="middle" >f = 2.74 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P9-ADS-VHR1-9</td><td align="center" valign="middle" >0.524(*)</td><td align="center" valign="middle" >0.686</td><td align="center" valign="middle" >0.814</td><td align="center" valign="middle" >0.81</td><td align="center" valign="middle" >f = 1.86 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P10-ADS-VHR1-10</td><td align="center" valign="middle" >0.729(*)</td><td align="center" valign="middle" >0.771</td><td align="center" valign="middle" >0.871</td><td align="center" valign="middle" >0.87</td><td align="center" valign="middle" >f = 3.63 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P11-ADS-VHR1-11</td><td align="center" valign="middle" >0.766(**)</td><td align="center" valign="middle" >0.765</td><td align="center" valign="middle" >0.867</td><td align="center" valign="middle" >0.87</td><td align="center" valign="middle" >t = 2.92 (p &lt; 0.05)</td></tr><tr><td align="center" valign="middle" >EKG-P12-ADS-VHR1-12</td><td align="center" valign="middle" >0.972(**)</td><td align="center" valign="middle" >0.971</td><td align="center" valign="middle" >0.985</td><td align="center" valign="middle" >0.99</td><td align="center" valign="middle" >t = 28.41 (p &lt; 0.05)</td></tr></tbody></table></table-wrap><p>* Spearman’s correlation (p &lt; 0.01). ** Pearson correlation (p &lt; 0.01). α = Cronbach’s alpha. f = Fisher-Snedecor. t = T-Student statistic. It is concluded that there is no significant difference between the systems analyzed.</p><p>Thus, in regard to the sensors of the cardiac pulses, for example, we discover that it presents inconveniences in what seems to be the capture of the cardiac pulses in people with dark skin. In the same way, the storage card in the micro SD memory, presents conflicts and did not allow to tax the information when the SD-card memory exceeded the 8G storage capacity. Therefore, the ADS-VHR1 must be periodically reviewed to verify its components and change them when necessary; being this condition, at the same time, an advantage, since being low cost, allows the replacement of its parts in an easy and affordable way [<xref ref-type="bibr" rid="scirp.96583-ref27">27</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref28">28</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref29">29</xref>] [<xref ref-type="bibr" rid="scirp.96583-ref30">30</xref>].</p><p>Despite these limitations of ADS-VHR1, there was no systematic bias in its operation. On the other hand, the individual data recorded by each ADS-VHR1 paired with the EKG-P, suggest that the agreement between the devices may also depend on the different positions of the electrodes of the EKG-P and the heart rate sensors of the ADS-VHR1, and therefore, the effects on the time of detection of cardiac pulses in fractions of thousandths of seconds. However, all the differences in the records were within accepted limits to conclude their validity.</p><p>It was shown that Arduino technology, free and open base, is a powerful tool for research activity, at low cost and easily accessible to teachers and new researchers who do not have proficient knowledge in the area of programming.</p></sec><sec id="s5"><title>Disclaimer</title><p>The views expressed in this paper are solely those of the authors and do not necessarily reflect the views of any company or organization.</p></sec><sec id="s6"><title>Ethical Aspects</title><p>This study was financed in part by the Coordena&#231;&#227;o de Aperfei&#231;oamento de Pessoal de N&#237;vel Superior-Brasil (CAPES)-Finance Code 001. Approved by the ethics committee of the UFRN (Parecer Consubstanciado do CEP No: 2,683,191). It is a product of the Doctoral Thesis carried out at the Universidade Federal do Rio Grande do Norte, Brasil, titled: ATEN&#199;&#195;O SUSTENTADA NA SALA DE AULA: MODULA&#199;&#195;O DA PERSONALIDADE, EMO&#199;&#195;O E CRONOTIPO.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>de Avila, U.E.R., Braga, I.C., de Fran&#231;a Campos, F.R. and Nafital, A.C. (2019) Attention Detection System Based on the Variability of Heart Rate. Journal of Sensor Technology, 9, 54-70. https://doi.org/10.4236/jst.2019.94006</p></sec><sec id="s9"><title>Appendix</title><p>Code on the ARDUINO Platform of the Attention Detection System Based on HRV</p><p>#include</p><p>#include</p><p>#include</p><p>const int CS = 10;</p><p>char dataString[<xref ref-type="bibr" rid="scirp.96583-ref7">7</xref>];</p><p>// all above is about sd card</p><p>const int livingledIBI = LED_BUILTIN;</p><p>int sensorPin = 0;</p><p>int Signal = 0;</p><p>int idle = 0;</p><p>double IBI = 600; // 600ms per beat = 100 Beats Per Minute (BPM)</p><p>bool Pulse = false;</p><p>int lastBeatTime = 0;</p><p>double P = 512; // peak at 1/2 the input range of 0..1023</p><p>double T = 512; // trough at 1/2 the input range.</p><p>double threshSetting = 550; // used to seed and reset the thresh variable</p><p>double thresh = 480; // threshold a little above the trough</p><p>double amp = 100; // beat amplitude 1/10 of input range.</p><p>bool firstBeat = true; // looking for the first beat</p><p>bool secondBeat = false; // not yet looking for the second beat in a row</p><p>bool debug = false;</p><p>void setup ()</p><p>{</p><p>Serial.begin(115200);</p><p>pinMode(10, OUTPUT);</p><p>Serial.print(&quot;Carregando cartao SD...&quot;);</p><p>if (!SD.begin(CS))</p><p>{</p><p>Serial.println(&quot;Falha no cartao SD!&quot;);</p><p>return;</p><p>}</p><p>Serial.println(&quot;SD carregado.&quot;);</p><p>}</p><p>void loop ()</p><p>{</p><p>Signal = analogRead(sensorPin);</p><p>//double Signal = analogRead(sensorPin);</p><p>//Serial.println(rawValue);</p><p>int now = millis();</p><p>int N = now - lastBeatTime; // monitor the time since the last beat to avoid noise</p><p>// find the peak and trough of the pulse wave</p><p>if (Signal &lt; thresh &amp;&amp; N &gt; (IBI / 5) * 3) { // avoid dichrotic noise by waiting 3/5 of last IBI</p><p>if (Signal &lt; T) { // T is the trough</p><p>T = Signal; // keep track of lowest point in pulse wave</p><p>}</p><p>}</p><p>if (Signal &gt; thresh &amp;&amp; Signal &gt; P) { // thresh condition helps avoid noise</p><p>P = Signal; // P is the peak</p><p>} // keep track of highest point in pulse wave</p><p>// NOW IT'S TIME TO LOOK FOR THE HEART BEAT</p><p>// signal surges up in value every time there is a pulse</p><p>if (N &gt; 250) { // avoid high frequency noise</p><p>if ( (Signal &gt; thresh) &amp;&amp; (Pulse == false) &amp;&amp; (N &gt; (IBI / 5) * 3) ) {</p><p>Pulse = true; // set the Pulse flag when we think there is a pulse</p><p>IBI = now - lastBeatTime; // measure time between beats in mS</p><p>lastBeatTime = now; // keep track of time for next pulse</p><p>idle = 0;</p><p>if(!debug){</p><p>dtostrf(IBI,5,2,dataString); //sets IBI to sd</p><p>File pulsoIsaac = SD.open(&quot;pulso.txt&quot;, FILE_WRITE); //open pulso.txt</p><p>pulsoIsaac.println(dataString); // write IBI to sd</p><p>pulsoIsaac.close(); // closes pulso.txt and save data</p><p>//Serial.print(IBI);</p><p>//Serial.print(&quot;,&quot;);</p><p>Serial.println(dataString);</p><p>}</p><p>if (secondBeat) { // if this is the second beat, if secondBeat == TRUE</p><p>secondBeat = false; // clear secondBeat flag</p><p>}</p><p>if (firstBeat) { // if it's the first time we found a beat, if firstBeat == TRUE</p><p>firstBeat = false; // clear firstBeat flag</p><p>secondBeat = true; // set the second beat flag</p><p>// IBI value is unreliable so discard it</p><p>return;</p><p>}</p><p>}</p><p>}</p><p>if (Signal &lt; thresh &amp;&amp; Pulse == true) { // when the values are going down, the beat is over</p><p>Pulse = false; // reset the Pulse flag so we can do it again</p><p>amp = P - T; // get amplitude of the pulse wave</p><p>thresh = amp / 2 + T; // set thresh at 50% of the amplitude</p><p>P = thresh; // reset these for next time</p><p>T = thresh;</p><p>}</p><p>if (N &gt; 2500) { // if 2.5 seconds go by without a beat</p><p>thresh = threshSetting; // set thresh default</p><p>P = 512; // set P default</p><p>T = 512; // set T default</p><p>lastBeatTime = now; // bring the lastBeatTime up to date</p><p>firstBeat = true; // set these to avoid noise</p><p>secondBeat = false; // when we get the heartbeat back</p><p>idle++;</p><p>}</p><p>if (idle &gt;= 4){</p><p>Serial.println(&quot;cls&quot;);</p><p>idle = 0;</p><p>}</p><p>if(debug){</p><p>Serial.print(Signal);</p><p>Serial.print(&quot;,&quot;);</p><p>Serial.println(IBI);</p><p>}</p><p>if(Signal &gt; thresh){ // If the signal is above &quot;550&quot;, then &quot;turn-on&quot; Arduino's LED.</p><p>digitalWrite(livingledIBI,HIGH);</p><p>} else {</p><p>digitalWrite(livingledIBI,LOW); // Else, the sigal must be below &quot;550&quot;, so &quot;turn-off&quot; this LED.</p><p>delay(20);</p><p>}</p><p>}</p><p>Attention Detection System Based on HRV</p><disp-formula id="scirp.96583-formula13"><graphic  xlink:href="//html.scirp.org/file/2-4200234x10.png"  xlink:type="simple"/></disp-formula></sec></body><back><ref-list><title>References</title><ref id="scirp.96583-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Porges, S.W. (1995) Orienting in a Defensive World: Mammalian Modifications of Our Evolutionary Heritage: A Polyvagal Theory. Psychophysiology, 32, 301-318.  
https://doi.org/10.1111/j.1469-8986.1995.tb01213.x</mixed-citation></ref><ref id="scirp.96583-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Porges, S.W. (2001) The Polyvagal Theory: Phylogenetic Substrates of a Social Nervous System. International Journal of Psychophysiology, 42, 123-146.  
https://doi.org/10.1016/S0167-8760(01)00162-3</mixed-citation></ref><ref id="scirp.96583-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Porges, S.W. (2007) The Polyvagal Perspective. Biological Psychology, 74, 116-143.  
https://doi.org/10.1016/j.biopsycho.2006.06.009</mixed-citation></ref><ref id="scirp.96583-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Thayer, J.F., Hansen, A.L., Saus-Rose, E. and Johnsen, B.H. (2009) Heart Rate Variability, Prefrontal Neural Function, and Cognitive Performance: The Neurovisceral Integration Perspective on Self-Regulation, Adaptation, and Health. Behavioral Medicine, 37, 141-153. https://doi.org/10.1007/s12160-009-9101-z</mixed-citation></ref><ref id="scirp.96583-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Fonfría, A., Poy, R., Segarra, P., López, R., Esteller, A., Ventura, C., Moltó, J., et al. (2011) Variabilidad de la tasa cardíaca (HRV) y regulación emocional. Fòrum de Recerca, 16, 903-913.</mixed-citation></ref><ref id="scirp.96583-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Holzman, J. and Bridgett, D. (2017) Heart Rate Variability Indices as Bio-Markers of Top-Down Self-Regulatory Mechanisms: A Meta-Analytic Review. Neuroscience and Biobehavioral Reviews, 74, 233-255.  
https://doi.org/10.1016/j.neubiorev.2016.12.032</mixed-citation></ref><ref id="scirp.96583-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Capuana, L.J., Dwyan, J., Tays, W.J., Elmers, J.L., Witherspoon, R. and Segalowitz, S. (2014) Factors Influencing the Role of Cardiac Autonomic Regulation in the Service of Cognitive Control. Biological Psychology, 102, 88-97.  
https://doi.org/10.1016/j.biopsycho.2014.07.015</mixed-citation></ref><ref id="scirp.96583-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Shaffer, F. and Venner, J. (2013) Heart Rate Variability Anatomy and Physiology. Biofeedback, 41, 13-25. https://doi.org/10.5298/1081-5937-41.1.05</mixed-citation></ref><ref id="scirp.96583-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Shaffer, F., McCraty, R. and Zerr, C. (2014) A Healthy Heart Is Not a Metronome: An Integrative Review of the Heart’s Anatomy and Heart Rate Variability. Frontiers in Psychology, 5, 1040. https://doi.org/10.3389/fpsyg.2014.01040</mixed-citation></ref><ref id="scirp.96583-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Reyes Del Paso, G.A., Langewitz, W., Mulder, L.J.M., Van Roon, A. and Duschek, S. (2013) The Utility of Low Frequency Heart Rate Variability as an Index of Sympathetic Cardiac Tone: A Review with Emphasis on a Reanalysis of Previous Studies. Psychophysiology, 50, 477-487. https://doi.org/10.1111/psyp.12027</mixed-citation></ref><ref id="scirp.96583-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Yoo, K., Rosenberg, M., Hsu, W., Zhang, S., Li, C., Scheinost, D., Constable, T. and Chun, M. (2018) Connectome-Based Predictive Modeling of Attention: Comparing Different Functional Connectivity Features and Prediction Methods across Datasets. NeuroImage, 167, 11-22. https://doi.org/10.1016/j.neuroimage.2017.11.010</mixed-citation></ref><ref id="scirp.96583-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Rohr, C., Arora, A., Cho, I., Katlariwala, P., Dimond, D., Dewey, D. and Bray, S. (2018) Functional Network Integration and Attention Skills in Young Children. Developmental Cognitive Neuroscience, 30, 200-211.  
https://doi.org/10.1016/j.dcn.2018.03.007</mixed-citation></ref><ref id="scirp.96583-ref13"><label>13</label><mixed-citation publication-type="book" xlink:type="simple">Onley, A., Risko, E., D’mello, S. and Graesser, A. (2015) Attention in Educational Contexts: The Role of the Learning Task in Guiding Attention. In: Fawcett, J., Risko, E. and Kingstone, A., Eds., The Handbook of Attention, MIT Press, London, 623-641.</mixed-citation></ref><ref id="scirp.96583-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Forman-Alberti, E.B. and Benjamin-Hinnant, J. (2016) Links between Autonomic Activity and Implicit Learning. International Journal of Psychophysiology, 110, 75-80. https://doi.org/10.1016/j.ijpsycho.2016.10.014</mixed-citation></ref><ref id="scirp.96583-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Ohyama, T., Kaga, Y., Goto, Y., Aoyagi, K., Ishii, S., Kanemura, H., Aihara, M., et al. (2016) Developmental Changes in Autonomic Emotional Response during an Executive Functional Task: A Pupillometric Study during Wisconsin Card Sorting Test. Brain &amp; Development, 39, 187-195.  
https://doi.org/10.1016/j.braindev.2016.10.002</mixed-citation></ref><ref id="scirp.96583-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Sanchis, L., Prat, P. and Sitges, M. (2016) Imagen cardiovascular en la sala de electrofisiología. Revista Espa&amp;#241;ola de Cardiología, 69, 595-605.  
https://doi.org/10.1016/j.recesp.2016.01.028</mixed-citation></ref><ref id="scirp.96583-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Bermudez, E., Klerman, E., Czeisler, C., Cohen, D., Wyatt, J. and Phillips, A. (2016) Prediction of Vigilant Attention and Cognitive Performance Using Self-Reported Alertness, Circadian Phase, Hours since Awakening, and Accumulated Sleep Loss. PLoS ONE, 11, e0151770. https://doi.org/10.1371/journal.pone.0151770</mixed-citation></ref><ref id="scirp.96583-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Graveline, I.M. and Wamsley, E.J. (2017) The Impact of Sleep on Novel Concept Learning. Neurobiology of Learning and Memory, 141, 19-26.  
https://doi.org/10.1016/j.nlm.2017.03.008</mixed-citation></ref><ref id="scirp.96583-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Itzek-Greulich, H., Randler, C. and Vollmer, C. (2016) The Interaction of Chronotype and Time of Day in a Science Course: Adolescent Evening Types Learn More and Are More Motivated in the Afternoon. Learning and Individual Differences, 51, 189-198. https://doi.org/10.1016/j.lindif.2016.09.013</mixed-citation></ref><ref id="scirp.96583-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Luque-Casado, A., Perales, J., Cárdenas, D. and Sanabria, D. (2016) Heart Rate Variability and Cognitive Processing: The Autonomic Response to Task Demands. Biological Psychology, 113, 83-90. https://doi.org/10.1016/j.biopsycho.2015.11.013</mixed-citation></ref><ref id="scirp.96583-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Zhang and Cicoira (2018) Flexible Self-Powered Biosensors. Nature, 561, 466-467.  
https://doi.org/10.1038/d41586-018-06788-1</mixed-citation></ref><ref id="scirp.96583-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Nathan, A., Ahnood, A., Cole, M., Lee, M., Suzuki, Y., Hiralal, P., Milne, W., et al. (2012) Flexible Electronics: The Next Ubiquitous Platform. Proceedings of the IEEE, 100, 1486-1517. https://doi.org/10.1109/JPROC.2012.2190168</mixed-citation></ref><ref id="scirp.96583-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">González-Barajas, J.E. (2014) Cálculo del umbral para detección de la onda R del complejo cardiaco. Tecno Lógicas, 17, 47-55. https://doi.org/10.22430/22565337.198 
http://www.scielo.org.co/pdf/teclo/v17n32/v17n32a05.pdf</mixed-citation></ref><ref id="scirp.96583-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Javier, G., Davis, M., Cristian, V. and Johann, N. (2015) R-Wave Detection Algorithm Using Integration of Virtual Instruments. 20th Symposium on Signal Processing, Images and Computer Vision, Bogota, 1-6.  
https://doi.org/10.1109/STSIVA.2015.7330434</mixed-citation></ref><ref id="scirp.96583-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Urbano (2017) Dise&amp;#241;o de algoritmo para cuantificación de frecuencia cardiaca promedio en dispositivo ARM (máquinas avanzadas tipo RISC) Universidad Santo Tomás: Bogotá.</mixed-citation></ref><ref id="scirp.96583-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Weippert, M., Kumar, M., Kreuzfeld, S., et al. (2010) Comparison of Three Mobile Devices for Measuring R-R Intervals and Heart Rate Variability: Polar S810i, Suunto t6 and an Ambulatory ECG System. European Journal of Applied Physiology, 109, 779-786. https://doi.org/10.1007/s00421-010-1415-9</mixed-citation></ref><ref id="scirp.96583-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Geddes, M. (2017) Manual de Projetos do Arduinos. Novatec, S&amp;#227;o Paulo.</mixed-citation></ref><ref id="scirp.96583-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">MacRoberts, M. (2015) Arduino Básico. 2th Edition, Novatec, S&amp;#227;o Paulo.</mixed-citation></ref><ref id="scirp.96583-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Monk, S. (2013) Programa&amp;#231;&amp;#227;o com Arduino. Bookman, Porto Alegre.</mixed-citation></ref><ref id="scirp.96583-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Monk, S. (2014) 30 projetos com Arduino. Bookman, Porto Alegre.</mixed-citation></ref></ref-list></back></article>