Go Down

Topic: servo motor control by PIR sensor (Read 1 time) previous topic - next topic

mustafa27

control of the servo motor according to the movements sensed by pir. is it possible? please help.
I got one arduino, one PIR and one servo motor.

vffgaston

Quote
control of the servo motor according to the movements sensed by pir. is it possible? please help.
I got one arduino, one PIR and one servo motor.
If you do not specify the kind of movement the (general) answer would be YES

mustafa27

no only on the side of the movement. but how can I this. I don't have an idea. it is my first project. :smiley-eek:

vffgaston

You have to explain what movement you intend (just to make somethig to move or to make it move in a particular direction, length,  . . . .?)

mustafa27

PIR will be stable And servo will be stable too and I will give a degree to the servo for example when pir is triggered Servo will turn 70 degrees And it will stay there 3 and 4 seconds then it will return to the 0 point

vffgaston

Quote
PIR will be stable And servo will be stable too and I will give a degree to the servo for example when pir is triggered Servo will turn 70 degrees And it will stay there 3 and 4 seconds then it will return to the 0 point
Yes, you can trigger the servo to do this for a cartain period of time if the PIR detects movement.

mustafa27

but I don't know how can I ? is there code in this forum ? could you help me ???

Go Up