I think you are better off just buying ready made solutions, they are cheap. You can search eBay for "PIR Bulb", or "PIR Sensor Switch". The connections seem quite straight forward, so if you are still unsure it could pose a safety risk. Besides you will probably also need to construct housing to contain those components.