{"id":2312,"date":"2023-07-26T05:53:16","date_gmt":"2023-07-26T05:53:16","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2312"},"modified":"2023-09-18T10:03:28","modified_gmt":"2023-09-18T10:03:28","slug":"interfacing-max30100-pulse-oximeter-to-aries-v2-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-max30100-pulse-oximeter-to-aries-v2-board\/","title":{"rendered":"Interfacing MAX30100 Pulse Oximeter to VEGA ARIES boards"},"content":{"rendered":"\n<p>The MAX30100 is integrated pulse oximetry and a heart-rate monitor module. It includes internal LEDs, photodetectors, optical elements, and low-noise electronics with ambient light rejection. The MAX30100 provides a complete system solution to ease the design-in process for mobile and wearable devices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>MAX30100 Pulse Oximeter<\/strong><\/h2>\n\n\n\n<p>The MAX30102 operates on a single 1.8V power supply and a separate +3.3V power supply for the internal LEDs. Communication is through a standard I2C-compatible interface. The module can be shut down through software with zero standby current, allowing the power rails to remain powered at all times. Pulse oximetry monitors the oxygen saturation in blood by measuring the magnitude of reflected red and infrared light. Pulse oximeters can also approximate heart rate by analyzing the time series response of the reflected red and infrared light.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100.png\" alt=\"\" class=\"wp-image-2313\" style=\"width:294px;height:228px\" width=\"294\" height=\"228\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100.png 550w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100-300x232.png 300w\" sizes=\"auto, (max-width: 294px) 100vw, 294px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<br><\/h2>\n\n\n\n<p id=\"block-4e8ef8bb-4567-4296-898a-cf0c08762c47\">MAX30100 Pulse Oximeter is composed of 4 pins, VCC, GND, and two I2C pins(SCL and SDA). Connect VCC and GND to +3.3V and GND respectively.&nbsp;Then connect SCL of the sensor module to SCL-0 and SDA to SDA-0 of the ARIES v2 Board.<\/p>\n\n\n\n<p>Now, for powering up and programming the code into the ARIES v2 Board, we have to connect a&nbsp;<strong>micro USB type B<\/strong>&nbsp;(common data cable, used for mobile charging and data transfer) in the&nbsp;<strong>UART0<\/strong>&nbsp;port of the ARIES v2 Board, to a Laptop\/Desktop\/PC with preinstalled preinstalled with Arduino IDE and VEGA ARIES boards of latest version.<\/p>\n\n\n\n<p>Note:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use 10K pull-up resistors while connecting SDA and SCL pins to MAX30100 sensor for accurate measurements.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"558\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/maxfig1-1024x558.png\" alt=\"\" class=\"wp-image-2318\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/maxfig1-1024x558.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/maxfig1-300x163.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/maxfig1-768x419.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/maxfig1.png 1246w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em><strong>Connection Diagram for MAX30100<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>MAX30100<\/strong><\/td><td><strong>ARIES v2 Board<\/strong><\/td><\/tr><tr><td>VIN<\/td><td>+3V3<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>SCL<\/td><td>SCL-0<\/td><\/tr><tr><td>SDA<\/td><td>SDA-0<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong><sub><em>Connection pins of MAX30100 Module &amp; ARIES v2.0 Board<\/em><\/sub><\/strong><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Procedure<\/strong><br><\/h2>\n\n\n\n<p>Open Arduino IDE<\/p>\n\n\n\n<p>Go to Tools -&gt; Board -&gt; VEGA Processor ARIES Boards -&gt; Select ARIES v2<\/p>\n\n\n\n<p>Go to Tools -&gt; Programmer -&gt; Select VEGA XMODEM<\/p>\n\n\n\n<p>Connect the ARIES v2 board to PC<\/p>\n\n\n\n<p>Go to Tools -&gt; Port -&gt; Select the appropriate port<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu.png\" alt=\"ARIES board selection from Tool Menu\" class=\"wp-image-2289\" style=\"width:449px;height:290px\" width=\"449\" height=\"290\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu.png 976w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu-300x195.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/toolMenu-768x498.png 768w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><figcaption class=\"wp-element-caption\"><em><strong>ARIES board selection from Tool Menu<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<p>We need to install external libraries for this demo. Required libraries for this demo includes VEGA_MAX30100  Version 1.0.0.<\/p>\n\n\n\n<p>To download libraries:<\/p>\n\n\n\n<p>Go to Tools -&gt; Manage Libraries -&gt; Search for <strong>VEGA_MAX30100<\/strong><\/p>\n\n\n\n<p>Click on install once the library appears in the search result.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100lib.png\" alt=\"Max30100 library\" class=\"wp-image-2319\" style=\"width:537px;height:297px\" width=\"537\" height=\"297\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100lib.png 1200w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100lib-300x166.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100lib-1024x567.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100lib-768x426.png 768w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/figure>\n\n\n\n<p>Open File -&gt; Examples -&gt; Examples for ARIES v2 -&gt; Wire -&gt; Open <strong>HR_SPO2_MAX30100<\/strong> example<\/p>\n\n\n\n<p>Compile and Upload the code&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100ex.png\" alt=\"MAX30100 example\" class=\"wp-image-2320\" style=\"width:262px;height:295px\" width=\"262\" height=\"295\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100ex.png 451w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100ex-267x300.png 267w\" sizes=\"auto, (max-width: 262px) 100vw, 262px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p id=\"block-13cc147b-5a95-486b-95a1-2145be787418\">Wait until the upload is completed. After completing the uploading, the program will start to execute. You can see the output in serial monitor. Choose baud rate 115200 in serial monitor to view the output.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100Output.png\" alt=\"Max30100 output\" class=\"wp-image-2321\" style=\"width:645px;height:327px\" width=\"645\" height=\"327\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100Output.png 972w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100Output-300x152.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/07\/max30100Output-768x390.png 768w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/figure>\n\n\n\n<p><strong>Not<\/strong><strong>e:<\/strong>&nbsp;All of the following boards can be used for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.php\">ARIES v2.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES v3.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesmicro.php\">ARIES Micro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesdot.php\">ARIES DOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesiot.php\">ARIES IoT<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The MAX30100 is integrated pulse oximetry and a heart-rate monitor module. It includes internal LEDs, photodetectors, optical elements, and low-noise electronics with ambient light rejection. The MAX30100 provides a complete system solution to ease the design-in process for mobile and wearable devices. MAX30100 Pulse Oximeter The MAX30102 operates on a single 1.8V power supply and [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[76,66,24],"class_list":["post-2312","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-c-dac","tag-iic","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=2312"}],"version-history":[{"count":5,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2312\/revisions"}],"predecessor-version":[{"id":3310,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2312\/revisions\/3310"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}