Relative Content

Daily Archives: 2018年9月10日

Arduino NANO (5) MAX30102 Pulse Ox Sensor

試み MAX30102 というPulse Ox Sensorを利用して、脈拍と酸素濃度を測る試み。 MAX30100の実例が多いが、MAX30102の実例が少ない。 プログラム 「参考1」のSparkFunのライブラリを利用する。そのライブラリはMAX30105(R,G,IR LED)用だが、MAX30102(欠Green LED)でも利用できる。 OLED表示するため、「参考2」の表示部分を合体した。なんとなく、バグがある様な気がする。 // Sample implementation of the MAX30100 PulseOximeter // Using the following module // http://www.ebay.com/itm/-/391709438817?ssPageName=STRK:MESE:IT // can not gaurantee if the app will work with other implementations of the module. //#include “MAX30100_PulseOximeter.h” #include <U8g2lib.h> #include <Wire.h> #include “MAX30105.h” #include “heartRate.h” #define REPORTING_PERIOD_MS 500 U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0); […]