Pulse rate measuring (please help lol)

I'm very new to coding and my project is a little ambitious, but I want my Arduino Uno to measure the pulse of a person, and once it reaches a certain threshold or height, there is a reaction physically on the body. I am just very unsure where to start, and this is literally due in a week so I'm kinda freaking out. Figured this place would be better than reddit lol. If you have any advice or input everything is appreciated. Thank you! :slight_smile:

Welcome! How long have you had this project? What class is it for? Please keep in mind that we are not a free design or code-writing service, however we’re more than happy to help with your design or code, but we need you to make an initial attempt. Please design and write your code, then post it along with an explanation of what’s not working properly.

  1. Show Your Work First: Before asking for assistance, make an attempt to design or write the code yourself. Share your work along with details about what isn’t working.
  2. Provide Clear Documentation: Since we can’t see your project, share an annotated schematic (best) or a clear drawing of your setup. Pictures are welcome, but avoid using Fritzing diagrams as they are wiring diagrams, not schematics, and are not ideal for troubleshooting.
  3. Include Technical Details: If there is specific hardware involved, include links to technical information. There are often many versions of similar components, so precise details are essential.
  4. Reference Resources: For additional help, check out useful links and tutorials: Useful Links on Arduino Forum.

What sensors do you have that will sense a person's pulse? Have you tested it? Does it work?

With one week there isn't much chance of starting from zero and getting all the way to something that measures pulse rate and then create a

reaction physically on the body

So for now, try to make one LED turn on when you press one button, and turn off when you press that button again.

Then see if you can measure and print the time between the one button press and the next, which would be each the time the LED was on and off.

Finally print a nice message if someone presses the button fast enough for a few times.

Now you can think about the components needed to really use heartbeats instead of a pushbutton, and for whatever you mean by a "physical reaction" on the body.

You can find beginning code in the IDE examples, certainly enough to make a stab at the turning on and off one LED.

You might enjoy using the wokwi simulator as you work through the IDE examlkes and other small things you turn up with your friend google. It will relieve you for the moment of scrounging parts, fussing with wires and power supplies and any need to worry about expenses or damages.

When you have the software working and the hardware identified, the real world fun can begin.

I don't know what percentage of your waking time you have to devote to this. A week for just a demonstration of a concept of an idea about what to do might be possible.

a7

1 Like

https://docs.arduino.cc/built-in-examples/

Or: IDE >> FILES >> EXAMPLES >> BUILT-IN EXAMPLES

Your problem.

update: I did it lol thanks guys for the help

I used the sensor from pulse sensor.com, works great and came with lots of code I could adjust and work with

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.