SubName: Reading PIR sensor on digital pin 5 to rotate a servo on digital pin 4.
Description: Basically this example is emulating opening and closing powered doors like in a shopping centre (shopping mall), superstore etc.
You can use this simple code to monitor PIR sensors HC-SR501 or HC-SR505...