HC-SR501 Passive Infrared Sensor - PIR

Using the HC-SR501 sensor with Arduino
L 'example shows the simple activation of the sensor with power LED.
By using the serial monitor it is shown the sensor activation time.
The following components are required:
- Arduino UNO
- HC-SR501 PIR sensor
- LED diode
Connect the components as shown and load the program.