Pulse sensor to sweep dc motor

Hey guys! This is my first time using arduino and since I am doing a project that allows my dc motor to react to my pulse and sweep either fast or slow in rotations. I do not know how to code or combine the pulse sensor with a motor on the breadboard either, could use a bit of help.

My hardware components that I have available are:

  • L298n Motor driver
  • Dc motor
  • Arduino Uno
  • Pulse sensor (from pulsesensor.com)
    -capacitor (0.1uf-100uf)
    -12v battery

Please give me some guidance on how I can work with these and how I can code it.

Thank you

The first thing you need to do is specify precisely what you mean by

If you can do that you will be well on the way to solving the problem, and if you can't be precise it will be difficult to give help. Then you should do a lot of reading on the Arduino site and elsewhere elsewhere to learn about how to tackle things. This is your project not ours.

Okay, let me elaborate a bit more on my project. I'm trying to use my pulse and allow the dc motor to react accordingly. So for example, if my bpm is above 100, I want the dc motor to sweep 0-180 degrees slowly clockwise and then counter-clockwise in steps of 1 degree. If my pulse is below 60 bpm, I want the dc motor to sweep faster side to side in steps of 5 degrees. If the bpm is within 61-99, then I want it to sweep in steps of 3 degrees.

The reason for this is I will turn my dc motor into a fan that will be attached behind a fabric wall that will simulate the breathing of lungs in adverse to the person's own pulse. This is being done so that I can experiment with whether a person's visual ability affects their breathing unconsciously or not.

If there is anything that I have not yet made clear or am missing, please let me know.

It sounds like You're on the wrong path. A servo looks better than a DC motor. Let the servo turn a fan back and forth.

Alright, then I will probably switch to a servo motor. thank you!

Or possibly a stepper...

Could be used but needs a driver that the servo doesn't need.

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