PIR Motion Sensor: How to Use PIRs with Arduino & Raspberry Pi