Stufin
Home Quick Cart Profile

Microwave Radar Human Body Sensor

Buy Now

Component Name

Microwave Radar Human Body Sensor

Overview

The Microwave Radar Human Body Sensor is a cutting-edge Internet of Things (IoT) component designed to detect and track human presence and movement using microwave radar technology. This sensor is ideal for applications requiring accurate and real-time human presence detection, such as smart home automation, security systems, and healthcare monitoring.

Functionality

The Microwave Radar Human Body Sensor operates by transmitting low-power microwave signals and measuring the reflected signals that bounce back from the environment and any objects within its detection range. The sensor utilizes the Doppler effect principle to differentiate between stationary and moving objects, enabling it to accurately detect human presence and movement.

Key Features

  • High Accuracy: The sensor provides high accuracy detection with a detection range of up to 10 meters, making it suitable for a wide range of applications.
  • Low Power Consumption: The sensor operates at a low power consumption of <50mA, making it suitable for battery-powered devices and energy-efficient applications.
  • Multi-Mode Operation: The sensor can operate in multiple modes, including:

Presence Detection Mode

Detects human presence within the detection range.

Motion Detection Mode

Detects human movement within the detection range.

Distance Measurement Mode

Measures the distance of the detected object from the sensor.

  • Adjustable Sensitivity: The sensor's sensitivity can be adjusted to optimize performance in various environments and applications.
  • Compact Design: The sensor features a compact design, making it easy to integrate into a wide range of devices and systems.
  • Digital Output: The sensor provides a digital output, making it easy to interface with microcontrollers and other electronic devices.
  • Operating Frequency: The sensor operates at a frequency of 24 GHz, which is optimized for human presence detection.
  • Operating Temperature: The sensor operates over a wide temperature range of -20C to 70C, making it suitable for use in various environments.

Detection Range

Up to 10 meters

Detection Angle

120

Resolution

1 cm

Sampling Rate

Up to 100 Hz

Power Supply

3.3V to 5V

Current Consumption

<50mA

Output

Digital (UART, I2C, SPI)

Package

SMD orThrough-Hole

Dimensions

25mm x 25mm x 10mm (SMD), 30mm x 30mm x 15mm (Through-Hole)

Applications

  • Smart Home Automation: Detects human presence and movement to control lighting, HVAC, and security systems.
  • Security Systems: Provides accurate and real-time intruder detection for enhanced security.
  • Healthcare Monitoring: Tracks patient movement and presence in healthcare facilities.
  • Industrial Automation: Monitors worker presence and movement in industrial environments.

Benefits

  • Accurate Detection: Provides high accuracy detection of human presence and movement.
  • Low Power Consumption: Optimized for energy-efficient applications.
  • Compact Design: Easy to integrate into a wide range of devices and systems.
  • Multi-Mode Operation: Offers flexibility and versatility in various applications.

Conclusion

The Microwave Radar Human Body Sensor is a cutting-edge IoT component that provides accurate and real-time human presence detection and tracking. Its low power consumption, compact design, and multi-mode operation make it an ideal solution for a wide range of applications, including smart home automation, security systems, healthcare monitoring, and industrial automation.

Pin Configuration

  • Microwave Radar Human Body Sensor Documentation
  • Pin Description
  • The Microwave Radar Human Body Sensor module has a total of 6 pins, each with a specific function. Below is a detailed explanation of each pin:
  • 1. VCC (Power Supply)
  • Pin Type: Power
  • Description: This pin provides power to the sensor module. It requires a stable DC voltage supply between 3.3V to 5V.
  • Connection: Connect to a power source (e.g., battery or voltage regulator) or a development board's power pin (e.g., Arduino's 3.3V or 5V pin).
  • 2. GND (Ground)
  • Pin Type: Ground
  • Description: This pin is connected to the ground of the power supply and provides a return path for the current.
  • Connection: Connect to the ground of the power source (e.g., battery negative terminal or a development board's GND pin).
  • 3. OUT (Output)
  • Pin Type: Digital Output
  • Description: This pin outputs a digital signal indicating the presence or absence of a human body within the detection range.
  • Connection: Connect to a digital input pin on a microcontroller (e.g., Arduino's digital pin) to read the output signal.
  • 4. EN (Enable)
  • Pin Type: Digital Input
  • Description: This pin is used to enable or disable the sensor module. When set to HIGH, the sensor is enabled, and when set to LOW, the sensor is disabled.
  • Connection: Connect to a digital output pin on a microcontroller (e.g., Arduino's digital pin) to control the sensor's enable state.
  • 5. CLK (Clock)
  • Pin Type: Clock Input
  • Description: This pin is not used in most applications and can be left unconnected. It's reserved for future development or specific use cases.
  • Connection: Leave unconnected or consult the manufacturer's documentation for specific use cases.
  • 6. NC (Not Connected)
  • Pin Type: Not Connected
  • Description: This pin is not connected internally and should not be used.
  • Connection: Leave unconnected.
  • Connecting the Pins
  • To connect the Microwave Radar Human Body Sensor module to a development board or a custom PCB:
  • 1. Connect VCC to a power source (e.g., 3.3V or 5V from a battery or voltage regulator).
  • 2. Connect GND to the ground of the power source.
  • 3. Connect OUT to a digital input pin on the microcontroller (e.g., Arduino's digital pin).
  • 4. Connect EN to a digital output pin on the microcontroller (e.g., Arduino's digital pin) to control the sensor's enable state.
  • 5. Leave CLK unconnected unless specified by the manufacturer for a specific use case.
  • 6. Leave NC unconnected.
  • Important Notes
  • Ensure the power supply is stable and within the recommended voltage range to avoid damage to the sensor module.
  • Use a suitable pull-up or pull-down resistor for the EN pin if necessary, depending on the microcontroller's output configuration.
  • Consult the manufacturer's documentation for specific use cases, such as adjusting the detection range or sensitivity.

Code Examples

Microwave Radar Human Body Sensor Documentation
Overview
The Microwave Radar Human Body Sensor is a non-invasive, low-power sensor capable of detecting the presence and movement of humans within a range of 1-10 meters. It operates by emitting microwave signals and measuring the reflections to determine the presence of a human body. This sensor is ideal for applications such as smart home automation, security systems, and health monitoring.
Technical Specifications
Frequency: 24 GHz
 Range: 1-10 meters
 Resolution: 10 cm
 Power consumption: 20 mA (typical), 50 mA (max)
 Communication interface: I2C, SPI
 Operating temperature: -20C to 70C
 Size: 20 mm x 20 mm x 5 mm
Code Examples
### Example 1: Basic Detection using Arduino
This example demonstrates how to use the Microwave Radar Human Body Sensor with an Arduino board to detect human presence.
```c++
#include <Wire.h>
#define SENSOR_ADDRESS 0x5A
void setup() {
  Serial.begin(9600);
  Wire.begin();
}
void loop() {
  byte data;
  Wire.beginTransmission(SENSOR_ADDRESS);
  Wire.write(0x00); // Register address for detection data
  Wire.endTransmission();
  Wire.requestFrom(SENSOR_ADDRESS, 1);
  data = Wire.read();
  
  if (data > 0) {
    Serial.println("Human detected!");
  } else {
    Serial.println("No human detected.");
  }
  delay(500);
}
```
### Example 2: Gesture Recognition using Raspberry Pi (Python)
This example demonstrates how to use the Microwave Radar Human Body Sensor with a Raspberry Pi to recognize basic hand gestures (e.g., waving, clapping).
```python
import RPi.GPIO as GPIO
import time
import numpy as np
# Set up GPIO pins for SPI communication
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)  # SCK
GPIO.setup(23, GPIO.OUT)  # MOSI
GPIO.setup(24, GPIO.IN)  # MISO
GPIO.setup(25, GPIO.OUT)  # CS
def read_sensor():
    # Send SPI command to read sensor data
    GPIO.output(25, GPIO.LOW)
    GPIO.output(18, GPIO.HIGH)
    GPIO.output(23, GPIO.HIGH)
    time.sleep(0.01)
    GPIO.output(23, GPIO.LOW)
    time.sleep(0.01)
    data = []
    for i in range(16):
        GPIO.output(18, GPIO.HIGH)
        bit = GPIO.input(24)
        data.append(bit)
        GPIO.output(18, GPIO.LOW)
    GPIO.output(25, GPIO.HIGH)
    return np.array(data)
def recognize_gesture(data):
    # Simple gesture recognition using peak detection
    peaks = np.where(np.diff(np.sign(np.diff(data))) < 0)[0] + 1
    if len(peaks) > 2:
        print("Waving detected!")
    elif len(peaks) == 2:
        print("Clapping detected!")
    else:
        print("No gesture detected.")
while True:
    data = read_sensor()
    recognize_gesture(data)
    time.sleep(0.1)
```
Note: In both examples, you will need to modify the sensor address, pin connections, and communication protocols according to your specific setup. Additionally, the gesture recognition example is a basic implementation and may require further development and calibration for accurate results.