Weekend Projects – Infrared Pulse Sensor

Weekend Projects - Infrared Pulse Sensor

Hi, this is Wayne again with a topic “Weekend Projects – Infrared Pulse Sensor”.
Hi, I’m going Mohammadi senior editor of make in the latest weekend project we’ll be taking a look at you. Well, specifically, your pulse, taking your pulse is as simple as holding a finger to your neck or wrist and timing. The beats with your watch, but if you want to monitor your pulse over a period of time, you’ll need a way to turn that mechanical action into an electrical signal in this project. We’Ll build a sensor that fits over your fingertip and reads the amount of infrared light reflected by the blood circulating inside your body. You can do a lot of fun things with a sensor, but it’s not a medical device. If you really need to know your heart rate go see a doctor, not your local makerspace, when your heart pumps, blood pressure, rises sharply and so does the amount of infrared light from the emitter that gets reflected back to the detector. The detector passes more current when it receives more light, which in turn causes a voltage drop.

This design uses two consecutive operational, amplifiers or op amps, to establish a steady baseline for the signal emphasize the peaks and filter out the noise. Both op amps are contained in a single integrated circuit or chip, so hooking them up is just a matter of connecting the pins correctly and reading the signals with your Arduino, the first op amp amplifies the signal and passes along to the second op amp, which outputs A clean but still weak signal which is finally amplified by the transistor before being sent to the Arduino. You don’t need a lot of parts to make this project and all of them are available at your local radio shack.

So, with one quick trip, you’ll be ready to build this project. You’Ll also need the following tools. The completed sensor is a three wire device that outputs the pulse signal on the white wire.

You can visualize or record the signal in a number of ways. We have decided to connect to a personal computer through an Arduino. Let’S start by cutting down the perf board to size. The PCB pattern is not symmetrical so be sure. You’Re, removing the correct side of the board double check before you cut score the board using a straight edge and utility knife, the snap it away from the scoreline along a table edge. The cable clip is used as a finger cuff to hold the pulse sensor against your skin drill two holes in it for the emitter and detector to poke through now we need to mount the emitter and detector. The emitter has a purple hue, while the detector is clear, align them flat to flat and pass their leads through. The PCB placing the emitter closest to the end of the board Bend both ground leads over and solder them to.

The nearest rail attach two resistors between the power rail and the remaining emitter and detector leads. The emitter gets a 220 ohm resistor and the detector, a 39 kilo ohm resistor, the LM 324 IC, contains four identical: op amps our design only uses two of them to avoid making accidental connections clip off the bottom. Three leads on each side of the chip solder. The chips pins on the bottom of the board provide power and ground connections by flowing solder between pins 4 and 11 and the rails adjacent to each now. Let’S wire up the op amp first solder, the 2 point: 1 micro, farad ceramic disc capacitors. The first goes between pins 1 and 2 and the second between pins, 13 and 14 mount and solder the remaining six resistors. According to the schematic mount the two tantalum electrolytic capacitors.

These are polarized components, so make sure you insert them properly. In each case, the negative leads should be connected to the chip, make sure to extend connections out from each pin along each row to connect all the components finally install the NPN transistor, as shown making sure it’s oriented correctly with the emitter lead next to the PCB Edge and the 1.8 kilo ohm resistor lead connected to the middle or base pin now we’ll make final connections on the solder side of the board start with two insulated jumper wires. One connects the photo detector to the primary op-amp input and the other connects the primaries output to the Andheri stage.

Input each is connected at one end to the positive lead of one of the tantalum capacitors. Add two short insulated: jumper wires to bring power and ground across the chip. The red jumper connects the transistor collector to the power rail. The black jumper connects the primary stage resistors to the ground rail. Now we need to connect the signal to the Arduino. We can make our own cable by cutting a length of four wire intercom cable.

The pulse sensor only needs three conductors power: red ground, black and signal white. So peel off the outer green wire and save it for another project. Now you can remove the adhesive film from the base of the cable clip and fix it to the component side of the PCB over the emitter and detector. Your sensor is now ready to use with the data recorder of your choice.

Weekend Projects - Infrared Pulse Sensor

We love Arduino, so we’ll use it to set up a serial connection to processing and perform some interesting visualizations to connect the sensor to your Arduino insert the black lead into the pin marked ground on your Arduino. The white signal lead into the header marked a0 and the red lead into the pin header marked 5 volt. You can find basic Arduino instructions and the simple serial reporter Arduino sketch from the link on the project page next open it in the Arduino IDE and click. The arrow button to upload the sketch to the Arduino now open the Arduino software serial monitor tool, and you should see the raw data streaming from the sensor as a column of numbers. The simple serial reporter sketch reads values from pin a zero and passes them down. The USB cable to your computer now, let’s turn that data into a graph download, the visualization sketch and the latest version of processing from the link found on the project page and open. It simply click the triangle button to run the code, flip the cable clip over your thumb, or finger and watch the rhythm of your pulse. Now that you can measure and see your pulse think about all the fun you can have.

Weekend Projects - Infrared Pulse Sensor

Does your heart rate increase when you tell a lie or laugh, try making a truth, detector or control the speed of a motor based on your heart rate? It’S all fairly easy with an Arduino and your new pulse sensor. .