PIR Motion Module
HC-SR505
Order code:
78-4110
www.rapidonline.com
Page 3 of 4
Hardware
Connect the PIR Motion Sensor to your Arduino/Crowduino power supply pin and digital pins.
You can can connect the “s” terminal to any of your arduino Pins, like the “D6” as belows:
Programming
1. Copy the following program to Arduino IDE and upload to your Arduino/Crowduino: