ChandanShamala Library

Developing Communities                                                                          Be Good Do Good

Chandler 85248
chandan@chandanshamalalibrary.org

  • Home
  • About Us
  • Volunteering Opportunities
  • How You Can Help
  • AZ FLL Pictures
  • USA ChaptersClick to open the USA Chapters menu
    • BAY AREA - San Jose Chapter
    • Raspberry Pi classes
  • IndiaClick to open the India menu
    • Certificate of Registration
    • Memorandum of Association
    • India Home
    • Medical Camp
    • Blood Donors Group at Goalpara
  • STEM Videos from the Web
  • Mobile STEM/IOT/Robotics LaboratoryClick to open the Mobile STEM/IOT/Robotics Laboratory menu
    • DIY: Solar Energy System
  • Make your Own Phone
  • Makers - Lets Start!
  • Intel Edison ClassesClick to open the Intel Edison Classes menu
    • Intel Edison 101
    • Intel Edison 201
    • Intel Edison 301
  • Intel Edison ProjectsClick to open the Intel Edison Projects menu
    • Intel Edison Setup
    • BlinkWithoutDelay
    • Hello World with Grove LCD
    • Grove Light Sensor
    • Grove Moisture Sensor
    • Grove PIR Motion Sensor
    • Grove UV Sensor
    • Grove Servo Motor
    • GroveTemperature Sensor
    • Grove Sound Sensor
  • Arduino ino FilesClick to open the Arduino ino Files menu
    • light-sensor.ino
    • pirmotion-sensor.ino
    • moisture-sensor
    • hello-world.ino
    • uv-sensor.ino
    • servo-sweep.ino
    • temp-sensor.ino
    • sound-sensor.ino
  • STEM CoursesClick to open the STEM Courses menu
    • Simple Energy Source - Battery
    • SimpleMachines
    • STEAM 101
    • STEAM201
    • STEAM301
    • STEAM401
    • STEAM501
  • Sustainability Courses: Solar
  • Solar Light Circuit
  • Sensor 101
  • LEGO Classes
  • Drone Projects
  • 3D Printing Projects
  • Programming Resources
  • Contact Us
  • Contact BayArea Chapter
  • Bylaws
  • Thank You
  • Events Participated

Grove PIR Motion Sensor

 

 

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.

Web Hosting by Yahoo!

Chandler 85248
chandan@chandanshamalalibrary.org