Sweep Servo Motor With Arduino Nano and PIr?

Thanks slipstick!

What about use 2 for 9V ?

i'm ask for if any one can help me to find a code for servo and PIR with Arduino Nano for the start..