Developing Communities Be Good Do Good
Chandler 85248
chandan
Here are the steps for using Grove PIR Motion sensor with Arduino IDE :
1. Connect the barrel connector from the power supply to the board.
2. Connect the middle micro USB port to the computer.
3. Click on the Arduino IDE icon on your desktop or Arduino.exe file in the area where it was installed, for example, It might be found here: C:\Program Files (x86)\Arduino. It will open the Arduino Window for User Interface.
4. Click on the tools tab on the Arduino Window - make sure that Intel edison is selected as the board and proper COM Port (COM3 in our case) is selected.
5. The Experimnt:
a. Connect motion sensor to sense motion and then switch on LED or buzzer if motion is detected.
5. Connect the motion sensor to Digital 4 (D 4) pin.
6. Connect the led or buzzer to digital 7 (D7) pin.
7. Go to the C:\Users\****\Documents\Arduino area.
8. Open a new folder named pirmotion-sensor.
9. Click on Arduino Icon on the desktop. From the Arduino Window,
a. Click on File Tab on the top left corner of the window.
b. Click new and name the file as pirmotion-sensor.
e. Copy and past the pirmotion-sensor.ino (local seeestudio) file or seeedstudio file (please check the pin assignment.!) and save at C:\Users\csl2011\Documents\Arduino\light-sensor area.
10. Click on the arrow sign for upload below theEdit tab.
a. This will compile and upload the sketch/program to the Edison Board.
b. Compile and upload messages will be displayed on the lower part of the Arduino window.
11. Check out the PIR Motion Sensor function by moving your hand around it....if it detects motion, the buzzer should go on or LED should turn on.....!
Copyright 2019 Chandan Shamala Library. All rights reserved.
Chandler 85248
chandan