pir sensor

Hi,

I am a complete beginner to arduino and as part of my art project am trying to make a sewing machine that will appear to work by itself. The process will be triggered by human motion/presence. I have a pir sensor which will trigger a servo to move and push the sewing machine pedal down and start the machine sewing.

I have all the parts I need I am just having problems finding/writing code that will make it all happen! Any help or suggestions will really be apreciated!

I don't imagine there are too many documented phantom seamstress projects using the Arduino, but the great thing about software is that you can compose your own from simpler parts.
There are tutorials on how to read switches (PIR) and tutorials on how to drive servos.