Introduction: DIY Pulse Rate Monitor

Picture of DIY Pulse Rate Monitor

The following instructable represents a pulse rate monitor with Linkit ONE. It can display your pulse rate on a serial monitor. The project is very easy to make and requires very less parts and time to assemble.

This is my first instructable. Please a positive feedback.

Step 1: Components Required

Picture of Components Required

For attempting this project, you will need the parts mentioned below. Very less parts are required to make it and you can complete the entire project in just 30 minutes or 1 hour if you are a beginner.

  1. Linkit ONE (1 pc.)
  2. Linkit ONE Accesories (Battery or USB Cable)
  3. Arduino Compatible Pulse Sensor (1 pc.)
  4. Male To Male Jumper Cables (3 pcs.)
  5. Wire
  6. Tape
  7. Scissors
  8. A PC, ofcourse
  9. Nothing else!

Step 2: Start Making

Picture of Start Making

  1. First step is to take jump cables and connect some long peices of wires on all the three cables.
  2. Secondly, connect the vcc pin of sensor to 5v of linkit one using these wires.
  3. Then connect gnd pin of sensor to gnd of linkit one.
  4. Connect the output pin of sensor to pin A0 of linkit one.
  5. Lastly add some tape at the loose ends of the sensor as well as the linkit one.

Step 3: Connect Your Linkit ONE to PC and Install Drivers

Picture of Connect Your Linkit ONE to PC and Install Drivers

  1. Using a standard USB cable connect your Linkit ONE to your PC.
  2. Download the Linkit ONE IDE from the Mediatek website.
  3. Install all the required drivers for linkit one
  4. You can refer the Mediatek developer's guide if you have any problems in running it.

Step 4: Upload Code

Picture of Upload Code

Upload the code which I have included below by selecting correct COM port and Board in your IDE. The switches on the board should also be in the correct position.

int sensorPin = 0;
double alpha = 0.75;

int period = 100;

double change = 0.0;

double minval = 0.0;

void setup ()

{

Serial.begin (9600);

}

void loop () {

static double oldValue = 0;

static double oldChange = 0;

int rawValue = analogRead (sensorPin);

double value = alpha * oldValue + (1 - alpha) * rawValue;

Serial.print (rawValue);

Serial.print (",");

Serial.println (value);

oldValue = value;

delay (period); }

Step 5: Open Serial Monitor and Test It

Picture of Open Serial Monitor and Test It

As you upload the code, open the serial monitor. Now you will see your pulse rate values displayed on the monitor. Please remember that the sensor should be touched on your finger.

This is the end of this instructable. Hope your enjoyed!

Step 6:

Comments

DIY Hacks and How Tos (author)2015-12-20

Nice monitoring system. I like how you can use the LinkIt One to setup a data logging system so that you can track your pulse over a time period.

About This Instructable

1,139views

12favorites

License:

More by apoorvtr:Linkit ONE Sound Reactive LEDDIY Pulse Rate Monitor
Add instructable to: