For the final project my partner Dwayne and I decided to make an Arduino based motion sensor. If was a challenge at first for us to find an interactive project for the final. Then we came across the motion sensor and we kind of just ran with the idea. We thought it would be fun and there were so many ways to make it into an interactive project.
Bill Of Materials
- PIR sensor: The Passive Infrared Sensor measures infrared light from objects in its field of view.
- Jumper wires
- Arduino Uno
- USB cable
- Arduino Software
Above is a image of the components (Bill of materials) we used for this project.
First step we began connecting all the jumper wires from the breadboard to the Arduino. We connected a jumper wire (green jumper wire) from pin2 to row one on the breadboard which is the input for the PIR sensor. The second jumper wire connects from pin 5V and row 2 on the breadboard. And lastly the ground pin connects to row 3. These three jumper wires are the powers the PIR sensor from the Arduino (power supply).
Next we connected the PIR sensor to the breadboard. The ground pin on the PIR sensor connects to the ground row. The power pin connects to the 5V row and the output pin connected to the pin 2 on the Arduino.
Next we connected the LED to the arduino. The purpose of the LED when lit the buzzer is supposed to go off and to show us that their is power running through the board.
After we connected the piezo buzzer which is that black component showed above. This thing makes the most annoying noise ever but its purpose to go off when motion is detected by the PIR sensor.