How to make a motor stop when the output of a PIR sensor is below a threshold

proximity-sensorsensor

I will attach a PIR sensor to a motor and i want the motor to stop turning when the output of the PIR sensor ( http://www.rapidonline.com/pdf/61-1466.pdf ) is below a threshold. I also want the motor to start turning again when it is above the threshold.

Best Answer

Here is an outline of one of the ways of meeting the requirement. The motor can be connected through the contact leads of the relay.

schematic

simulate this circuit – Schematic created using CircuitLab

As the question does not indicate a specific problem arrived at after due research, this schematic is merely a pointer to start off a direction of study. Do not take any component values or choices as final.