loading
Picture of Homemade Arduino Friendly Pulse Sensor
I saw the Open Hardware Pulse Sensor at thought I'd try to make it at home.  Took me awhile, but here's my bumbling process.
 
Remove these adsRemove these ads by Signing Up

Step 1: Pulse Sensor -- Overview

I've been working on re-making the the Open Hardware Pulse Sensor so it'd be "easy" to send off to OSHPark and make at home. I'm not sure but I think I started this project in March (2013) and I've just now finished it.

The bit of encouragement I needed was when hackaday.com put it up as their "Fail of the Week."  I thought I was going to be mature about it.  But those four red letters started eating at me, so I gave it another go.  Weirdly, I got it working. 

I do want to take a moment and thank hackaday.com. I know not everyone is happy with them right now, but I firmly believe in their "Fail of the Week" article.  It seems like we are all quick to cover projects that work, but that mentality leaves many committing the same mistakes over and over, without realizing there are thousands making that same mistake themselves.  Excellent foresight and innovation, hackaday.com. Hats off.

Back to it, I believe there were three problems:

    1. I had mixed up the op-amps again.  In my defense, I've got 5 different ICs flying about in the same package as the op-amp.
    2. The Arduino I'd been plugging into was sitting on a surface that provided enough conductivity to create noise between the 3.3v pin on the underside and A0, which I was using for the op-amp in.
    3. Every time I touched the sensor the exposed vias were shorted through my own conductivity.  Stupid mineral water.

Anyway, after finishing it and getting it to work, I thought I'd share what information I had gathered.

Here's a video I put together about the fail and problem fixing.



Step 2: Pulse Sensor -- Full Disclosure

Picture of Pulse Sensor -- Full Disclosure
As I've stated elsewhere, I'm not an engineer, I'm a pure hack.  So, follow these instructions knowing I've probably made a mistake or missed something dire.

Also, if you watched the video from the previous step you'll know we're up against: 0402 passives.  That's a 0402 on Frankie's nose.  I ask you not be scared, they are small, but aren't many of them.

Step 3: Pulse Sensor -- Parts

Picture of Pulse Sensor -- Parts
Alright, the bill-of-materials (BOM):

    Op-amp:   .29  (Digi-Key)
    Light Photo Sensor: 1.23 (Digi-Key)
    LED:   .79   (Digi-Key)
    0603 Schottky Diode: .50 (Digi-Key)
    Passives:  ~2.50 - Resistors: 1 x 470k, 1 x 12k, 2 x 100k, 1 x 10k, 1 x 3.3Meg - Capacitors: 3 x 4.7uF, 2 x 2.2uF
    OSHPark Boards: $.67 (minimum 3 boards, costing $2.00. 3/2.00 = ~.67)

I figured the total for one board should be around $5.98.  Of course, they get a lot cheaper if you buy your passives in bulk.


Step 4: Pulse Sensor -- Tools

These are the tools I used: 

    1. Clothes-iron
    2. Solder at least .022"
    3. Flux
    4. A soldering iron with a "precision" tip
    5. Tacky-putty
    6. Precision tweezers
    7. Hakko FX-888 Solder Iron

Really, any comparable tools will do. Use my motto, buy cheap and make do.


Step 5: Pulse Sensor -- Soldering the Front

Picture of Pulse Sensor -- Soldering the Front
It's not as hard as you'd think.

The light sensor is the hardest bit, so take your time.  I put a little bit of solder on each pad with my soldering-iron, then, cover the soldered pads in flux.  Next, I attempt to align the light-sensor with the pads as close as possible.  After, I put the board with the backside on an over-turned clothes iron.  Let the iron heat up until the solder reflows and the sensor is attached. 

Make sure to watch for solder reflow.  As soon as the sensor stops moving, count to 5 (Mississippily) and pull the board off.

This prevents damage to the adherence of the copper traces to the fiberglass board; meaning, not overheating the board will help keep the delicate traces from pulling away when you go to solder the back.

The guide is: Very hot and very fast over kinda warm and fairly slow.


Step 6: Pulse Sensor -- Soldering the Back

Picture of Pulse Sensor -- Soldering the Back
Flip the sensor and lock it to your surface with tacky-putty to solder the LED, passives, and op-amp.  I won't detail this, since my video shows the entire process.

A few notes though.  

    1. Make sure the main LED is face down in the hole, like shown in the above image.  Notice the "L" shape points to the right.

    2. The small little diode is tricky, since the pads are under it.  Put some solder on the places where the diode will go, then, flux the mother out of the soldered pads.  Next, place the diode on the pads with the rosin-flux holding it down.  Tap the solder under the diode and see if it will suck the diode down onto the pad.

    3. Make sure the diode is facing the correct direction.  Either match the 2 lines on the diode with the white line on the board.  Or just know the 2 lines on the diode should face to the left, given the above picture as reference.

    4. I'd use the drag-to-solder method on everything but the 0603 diode and the light-sensor (which we used the clothes-iron for).


Yell if you have questions or gripes.

Step 7: Pulse Sensor -- Wrap it in Tap

Wrap it with tape, cutting a small hole for the LED and light-sensor.  (I'll come up with a better solution and a way it to clip it to your body on the next iteration).  This is to prevent your body's natural conductivity from creating a short-circuit between two vias.

Step 8: Pulse Sensor -- Wire it Up

Picture of Pulse Sensor -- Wire it Up
Wire it to the Arduino

Again, using the above image as reference:

Left ---- Middle ---- Right
A0 ------ 3.3v --------GND

Step 9: Pulse Sensor -- Run a Sketch

Picture of Pulse Sensor -- Run a Sketch
Run the Arduino and Processing sketches these amazing guys provide


Step 10: Pulse Sensor -- Closing

Again, I'm a hack. 

If you have any problems, yell at me.  I'll try to correct them as quick as I can.

Don't forget to thank the Open Hardware Pulse Sensor guys.  This was all their stuff, I've simply recreated it at home.

If you'd like to follow the re-creation process, here are the boring links:

First Go
Second Go

And...a video to laugh (go ahead, I do).

without failure there is no success

hola alguien que me ragale el codigo en arduino

https://pulse-sensor.googlecode.com/files/PulseSensorAmped_Arduino_1dot2.zip

hola alguien que me ragale el codigo en arduino

hola alguien que me ragale el codigo en arduino

gfetters1 year ago
Awesome job working it out! Surface mount isn't easy to solder and you did a great job of it.
Ladvien (author)  gfetters1 year ago
Thank you. I honestly hope it helps somebody; once the copied design was confirmed, it was actually pretty easy to put together. I'm going to update with how many mAs it pulls so I can see about making it into an earring styled sensor using BT 4.0 :)
I would consider it an honor to have an epic fail on hack a day. Great work, in the fail and in the solution.
diy_bloke1 year ago
I think the hackaday article was not so bad, they basically praise you for keeping track of yr failures and describe what you wrote :-)
Ladvien (author)  diy_bloke1 year ago
I agree completely. They were so very nice about it. And it really did help me finish; I think the world of their staff. It was just those four red letters that got to me.
I think this is the most advanced thing i see here! Good job
Ladvien (author)  donaldosborne781 year ago
Thank you, sir.