Challenge level [1/10]
This project is a fine example and a good starting point for individuals who are not very familiar with programming or Arduino environment.
In this project the Arduino and PIR are used to detect motion.
Requirements:
1- Arduino
2- LED
3- PIR
Setup:
Connect as shown in the picture bellow.
PS. Note that in the code I used pin 7 and 8 to connect to the PIR and LED respectively. If any other pins are using in any different setup, it wouldn’t work unless the code is modified.
Output:
