VIDEO: VIDEO LINK: https://youtu.be/ssOLHjx0Axo COMPONENTS REQUIRED: 1.ARDUINO NANO 2.MAX30100 PULSEOXISENSOR 3.4.7K RESISTOR 4.OLED DISPLAY 5.BREAD BOARD CODE: //CREATIVE PRADEEP// //ARDEUINO PULSEOXIMETER// #include <Wire.h> #include "MAX30100_PulseOximeter.h" #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define ENABLE_MAX30100 1 #define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 32 //64 // OLED display height, in pixels // Declaration for an SSD1306 display connected to I2C (SDA, SCL pins) // The pins for I2C are defined by the Wire-library. // On an arduino UNO: A4(SDA), A5(SCL) // On an arduino MEGA 2560: 20(SDA), 21(SCL) // On an arduino LEONARDO: 2(SDA), 3(SCL), ... #define OLED_RESET 4 // 4 // Reset pin # (or -1 if sharing Arduino reset pin) #d...
Comments
Post a Comment