Skip to content

SaifAlani94/Ardunic_BloodPressure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ardunic_BloodPressure

Arduino library for the Ardunic Blood Pressure Device. This library is very simple and intuitive to use.

For example, we can get the systolic blood pressure, diastolic blood pressure, & Heart rate with just a few lines of code:

#include <Ardunic_BloodPressure.h>
BloodPressure info(8, 7);

void setup(){
Serial.begin(9600);
}

void loop(){
info.update();
Serial.print("SYS = " + String(info.GetSYS()));
Serial.print(" DIA = " + String(info.GetDIA()));
Serial.println(" HR = " + String(info.GetHR()));
delay(1000);
}

See the included examples for more.

Installation

This library uses the SerialTransfer library "This library was tested on SerialTransfer library Version 3.1.2", so you will need to have this installed. Install it using the Library Manager in the Arduino IDE.

Wiring the Ardunic Blood Pressure device

For wiring the Ardunic Blood Pressure device you need to use a serial port ( Hardware or software ) UART serial port, then follow as below.

image