The Juggernaut
Created January 31, 2021

Vital stats monitor

The device will provide a diagnosis of common cardiac and respiratory diseases based on these irregularities in ECG levels.

IntermediateShowcase (no instructions)Over 1 day36
Vital stats monitor

Things used in this project

Hardware components

Microchip CEC1x02 Development Board
×1
SparkFun Single Lead Heart Rate Monitor - AD8232
SparkFun Single Lead Heart Rate Monitor - AD8232
×1

Software apps and online services

MPLAB X IDE
Microchip MPLAB X IDE

Story

Read more

Schematics

ecg_yPfS5UVcTg.PNG

ecg2_R10QxWfKex.PNG

Code

Code for running sensor

C/C++
void setup() {
// initialize the serial communication:
Serial.begin(9600);
pinMode(10, INPUT); // Setup for leads off detection LO +
pinMode(11, INPUT); // Setup for leads off detection LO -
 
}
 
void loop() {
 
if((digitalRead(10) == 1)||(digitalRead(11) == 1)){
Serial.println('!');
}
else{
// send the value of analog input 0:
Serial.println(analogRead(A0));
}
//Wait for a bit to keep serial data from saturating
delay(1);
}

Credits

The Juggernaut

The Juggernaut

2 projects • 1 follower
I am a student currently studying Electronics and Telecommunications engineering.I am an avid learner and love making new projects.

Comments