Seeed Studio Grove Digital PIR Motion Sensor (12m)

Contents

Grove Digital PIR Motion Sensor (12m) User Manual

Model: Grove Digital PIR Motion Sensor (12m)

Brand: Seeed Studio

1. Product Overview

The Grove Digital PIR Motion Sensor (12m) is a passive infrared sensor designed to detect motion by measuring infrared light radiating from objects within its field of view. It provides a quick and intuitive response with simple high and low digital signals, making it suitable for various applications including motion detection, security alarms, and human presence sensing.

Grove Digital PIR Motion Sensor module with included Grove cable

Figure 1: Grove Digital PIR Motion Sensor module and Grove cable.

Key Features:

  • Quick Response: Detects motion and outputs digital signals (high/low) in less than 1 second.
  • Wide Detection Range: Capable of detecting motion within a range of 3.2m to 12m.
  • Easy Integration: Features a Grove compatible interface, supporting "Plug and Play" functionality with various Grove ecosystems.
  • Platform Compatibility: Fully compatible with both Arduino and Raspberry Pi platforms.

What is a PIR Sensor?

A Passive Infrared (PIR) sensor, also known as a Passive Infrared Detector (PID), is an electronic sensor that measures infrared (IR) light emitted by objects. Unlike active sensors, PIR sensors do not emit energy but rather detect the IR radiation naturally given off by living beings (like humans or animals) as heat. They are widely used in motion detectors for security systems and automatic lighting.

How a PIR Sensor Works:

The PIR sensor typically contains two slots made of sensitive material. When the sensor is idle, both slots detect the same amount of ambient IR radiation from the surroundings. When a warm body, such as a human or animal, moves into the sensor's field of view, it first intercepts one slot, causing a positive differential change in IR detection. As the body moves out of that slot's view and potentially into the other, or completely out of the sensing area, a negative differential change occurs. This change in differential IR detection is what the sensor interprets as motion, triggering a digital output signal.

2. Package Contents

  • 1 x Grove Digital PIR Motion Sensor
  • 1 x Grove Cable

3. Specifications

AttributeValue
Accessory TypeSENSOR
Brand NameSeeed Studio
OriginMainland China
Voltage Range3V - 5V
Detection Range3.2m - 12m
Response Time< 1s
Working Temperature-20°C to 85°C
InterfaceDigital
Detection Angle< 100°
Compatible WithArduino, Raspberry Pi
Battery IncludedNo
High-concerned chemicalNone
Grove Digital PIR Motion Sensor module with measurement grid

Figure 2: Dimensions of the Grove Digital PIR Motion Sensor module.

PIR Motion Sensor Series Comparison:

Comparison table of various PIR Motion Sensor models

Figure 3: Comparison of different PIR Motion Sensor models, highlighting features like detection distance and angle.

4. Setup Guide

The Grove Digital PIR Motion Sensor is designed for easy integration into your projects using the Grove system. It is compatible with various microcontrollers, including Arduino and Raspberry Pi, when used with appropriate Grove base shields or adapters.

4.1 Pinout Description

Close-up front view of the Grove Digital PIR Motion Sensor module, showing the PIR lens and pin labels (SIG, NC, VCC, GND)

Figure 4: Front view of the sensor module with pin labels.

  • SIG (Signal): Digital output pin. Goes HIGH when motion is detected, LOW when no motion.
  • NC (Not Connected): This pin is not used.
  • VCC (Voltage Common Collector): Power supply input (3V - 5V).
  • GND (Ground): Ground connection.

4.2 Connecting to a Microcontroller

  1. Prepare your Grove Base Shield: If using an Arduino, attach a Grove Base Shield to your Arduino board. For Raspberry Pi, use a GrovePi or similar Grove adapter.
  2. Connect the Grove Cable: Plug one end of the provided Grove cable into the Grove connector on the PIR Motion Sensor module.
  3. Connect to Base Shield: Plug the other end of the Grove cable into a digital port on your Grove Base Shield (e.g., D2, D3, etc., depending on your code and available ports). Ensure the VCC and GND connections are correct.
  4. Power Up: Connect your microcontroller to a power source.

4.3 Software Setup (Example for Arduino)

To read data from the sensor, you will need to upload a program (sketch) to your microcontroller. Here's a basic example for Arduino:

int pirPin = 2; // Digital pin connected to PIR sensor's SIG pin

void setup() {
  pinMode(pirPin, INPUT); // Set PIR sensor pin as input
  Serial.begin(9600);     // Initialize serial communication
  Serial.println("PIR Sensor Test");
}

void loop() {
  int pirState = digitalRead(pirPin); // Read the state of the PIR sensor

  if (pirState == HIGH) {
    Serial.println("Motion Detected!");
  } else {
    Serial.println("No Motion");
  }
  delay(500); // Small delay to avoid rapid readings
}
                

Upload this sketch to your Arduino board. Open the Serial Monitor (Tools > Serial Monitor) in the Arduino IDE to see the output.

5. Operating Instructions

Once the sensor is powered and connected to your microcontroller with the appropriate code, it will begin detecting motion. The digital output pin (SIG) will transition from LOW to HIGH when motion is detected within its range and field of view. It will return to LOW when no motion is detected for a certain period.

5.1 Detection Characteristics

  • Detection Range: The sensor can detect motion up to 12 meters. The actual range can be influenced by environmental factors such as temperature and humidity.
  • Detection Angle: The typical detection angle is less than 100 degrees.
  • Response Time: The sensor provides a rapid response, typically within 1 second of detecting motion.
  • Digital Output: The output is a simple digital signal (HIGH for motion, LOW for no motion). This makes it easy to integrate with digital input pins on microcontrollers.

5.2 Optimizing Performance

  • Placement: Position the sensor where the expected motion will cross its detection zones rather than moving directly towards or away from it, as this can sometimes be less effective.
  • Avoid Heat Sources: Do not place the sensor near heat sources (e.g., vents, direct sunlight, heating elements) as these can cause false triggers.
  • Stable Environment: Ensure the sensor is mounted securely and is not subject to vibrations, which could also lead to false detections.

6. Maintenance

The Grove Digital PIR Motion Sensor is a low-maintenance device. Follow these guidelines to ensure its longevity and optimal performance:

  • Keep Clean: Gently wipe the PIR lens with a soft, dry cloth if it becomes dusty. Avoid using abrasive cleaners or solvents.
  • Environmental Conditions: Operate the sensor within its specified working temperature range (-20°C to 85°C). Avoid exposure to extreme humidity or direct water contact.
  • Physical Protection: Handle the module with care to prevent physical damage to the circuit board or the PIR lens.
  • Storage: When not in use, store the sensor in a dry, anti-static environment.

7. Troubleshooting

7.1 No Motion Detected

  • Check Connections: Ensure the Grove cable is securely connected to both the sensor and the microcontroller's digital input pin. Verify VCC and GND connections.
  • Power Supply: Confirm that the microcontroller and sensor are receiving adequate power (3V-5V).
  • Code Verification: Double-check your code to ensure the correct digital pin is being read and that the logic for detecting HIGH/LOW signals is correct.
  • Sensor Orientation: Ensure the sensor is positioned to detect motion across its field of view, not directly head-on.
  • Obstructions: Verify there are no physical obstructions blocking the sensor's view.

7.2 False Triggers / Constant Detection

  • Heat Sources: Move the sensor away from any heat sources (e.g., heating vents, direct sunlight, rapidly changing temperatures) that could cause false positives.
  • Vibrations: Ensure the sensor is mounted stably and is not subject to vibrations.
  • Environmental Interference: Strong air currents or rapid temperature changes in the environment can sometimes trigger PIR sensors. Try to place it in a more stable environment.
  • Code Logic: Implement a debounce delay in your code if necessary to filter out very short, spurious HIGH signals.

7.3 Inconsistent Detection Range

  • Environmental Factors: High ambient temperatures can reduce the effective detection range as the temperature difference between a moving body and the background decreases.
  • Lens Condition: Ensure the PIR lens is clean and free from scratches or smudges.

8. User Tips

Based on general usage patterns for PIR sensors:

  • For optimal detection, ensure the moving object crosses the sensor's field of view rather than approaching it directly.
  • Experiment with sensor placement to find the best coverage area for your specific application.
  • Consider adding a small delay in your code after detecting motion to prevent multiple triggers from a single event.

Note: No specific user reviews or Q&A were provided for product-specific tips.

9. Warranty and Support

For warranty information, technical support, and additional resources, please refer to the official Seeed Studio website or contact their customer service directly.

An official user manual in PDF format is also available for download: Grove Digital PIR Motion Sensor User Manual (PDF).

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.