Go Down

Topic: Pulse Sensor/Servomotor (Read 1 time) previous topic - next topic


Nov 24, 2016, 11:42 am Last Edit: Nov 24, 2016, 12:05 pm by antoineboo
Hi everybody,

I need some help!

I want to create an interactive projet including a servomotor and a pulse sensor

First, someone will put his finger on the pulse sensor, and i would like to make the servomotor move on the pulse of the person.

What i would like to code is something like that:

• A pulse is detected, and the arduino mesure it during like 5 seconds
• Create an average pulse from the previous 5 seconds of recording pulse
• transmitting that pulse to the servomotors, to make it move
• Servomotors keep the movement until a new pulse is detected

For now, the code i have come from the pulse sensor web (Here)

Thanks you :))

Sorry if there's some mistake, english is not my native language :/

Go Up