Pulse Sensor for Arduino

Remaker page in Medium — Welcome! — arduSerie #14

J3
Jungletronics
4 min readMay 10, 2017

--

These sorts of sensors are not as easy to use as you might think. You have to be very still and let the sensor settle down before it produces worthwhile results.

Pulse Sensor
I made some notes in the lab. Here they are:
1-when the sensor is at the tip of the finger there is a single position for adjustment. Be patient;
2-do does not place the decal on the front of the sensor. Hinders more than it helps;
3-when the signal must be displayed by serial Arduino to have a strong signal, use the sensor in the earlobe;
4-There are 3 points of the Arduino code that need attention:
a- I used the baud rate of Serial.begin(57600). It works well. Try other speeds. if you want to have the faster baud rate, make sure the baud rate in your Arduino sketch matches the baud rate in the Processing code. I tried this and it also works. You just need to make sure the Arduino and Processing code are using the same baud rate.
I think it depends on the operating system. I’m using the Windows 10 Home Single Language V 1511 64-bit; Intel Core i7, 2 and 2.6 GHz, 16 GB Ram; Arduino 1.6.7 and Processing 3.1;
b- manufacturers offer the code part:

// Regards Serial Output — Set This Up to your needs
static boolean serialVisual = false; // Set to ‘false’ by default.

that should be replaced by:

// Regards Serial Output — Set This Up to your needs
static boolean serialVisual = true; // Re-set to ‘true’ to Visual Pulse ASCII:)

it serves to use the serial or display by the graph by Processing’s GUI.
c- Do not forget that!!! I lost a lot of time with this oversight …
5- when the sensor is at the tip of your finger you can use the sense of touch to feel the flow of blood. Stability will occur only when you feel the flow. is a wonderful feeling …. try !!
6- You can also use the sense of sight and see the faint light change at the very tip of the finger. Do not tighten the finger on the sensor. Use a very light touch !!
7- I have not studied in depth the site code. It is quite complex. I need some time. I have to understand it more because I have the idea of reducing the intensity of the signal from the ear lobe. I’ve tried using resistors of 330 ohms and 1k and capacitor .1 uF in the A0 port of the Arduino. It did not work … there must be some way … and raises it to the case of the serial;
8 — reading the fingertip is very sensitive to movement. How to use it in a Gymnasium, how? …certainly we have to use the lobe of the ear …

9- Use abundant hot glue. careful not to cut any wires with the nail clipper; I managed to take the glue from the bottom of the smooth circuit. the welds are very solid. Remove the adhesive from the edge to the center with care;

10- the next steps: making mobile design, use Android, Bluetooth, etc; write the data to sd card for graphical analysis; use micro Arduino; use a ‘bandana’ on my head to pick up the signal at the gym.

Finally, get ready to not despair and think that everything will work first. The hardware needs more study on robustness. The work of developers is extraordinary to date and offered at no cost to us. The DIY community can help make it with industrial quality. This is the same intent on this page.

If you want to comment, use my youtube channel. Many thanks to the manufacturers and to you who read this text and watched the video. See you later!!!

Troubleshooting:

1- The processing does not display the graphic. It jumps straight to zero:

I fixed the issue. I changed the baud rate from 115200 to 57600 and it started working.
source

Help put more items on this list …. I will be Thankful … It will be for the community …You know!!!

2- …please help…

Download the project all at once

“You don’t have to be a genius to code! Do you have to be a genius to read?”

Last updated on 2016–07–03 at 10.30.38 AMPublished on 2016–07–03 at 10:30.38 AM

Migration: 09/05/2017 8:41 PM — from Blogspot

--

--

J3
Jungletronics

😎 Gilberto Oliveira Jr | 🖥️ Computer Engineer | 🐍 Python | 🧩 C | 💎 Rails | 🤖 AI & IoT | ✍️