The Grove - mmWave Human Static Presence Sensor (MR24HPC1) is a highly sensitive sensor that utilizes millimeter-wave (mmWave) technology to detect the presence of humans, even when they are stationary. Unlike traditional motion sensors, this sensor can identify static human presence, making it ideal for applications where detecting subtle human presence is critical.
The following table outlines the key technical details of the MR24HPC1 sensor:
Parameter | Value |
---|---|
Operating Voltage | 5V DC |
Operating Current | ≤ 60mA |
Detection Range | 0.5m to 9m |
Detection Angle | 120° (Horizontal), 100° (Vertical) |
Communication Interface | UART (3.3V TTL) |
Operating Frequency | 24GHz |
Operating Temperature | -40°C to 85°C |
Dimensions | 20mm x 20mm |
The MR24HPC1 sensor has a 4-pin Grove interface. The pinout is as follows:
Pin | Name | Description |
---|---|---|
1 | VCC | Power supply input (5V DC) |
2 | GND | Ground |
3 | RX | UART Receive pin (3.3V TTL) |
4 | TX | UART Transmit pin (3.3V TTL) |
Below is an example of how to interface the MR24HPC1 sensor with an Arduino UNO:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial mmWaveSerial(2, 3); // RX = Pin 2, TX = Pin 3
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 baud
mmWaveSerial.begin(115200); // Initialize mmWave sensor at 115200 baud
Serial.println("mmWave Human Static Presence Sensor Initialized");
}
void loop() {
// Check if data is available from the sensor
if (mmWaveSerial.available()) {
String sensorData = ""; // Variable to store sensor data
// Read all available data from the sensor
while (mmWaveSerial.available()) {
char c = mmWaveSerial.read();
sensorData += c;
}
// Print the received data to the Serial Monitor
Serial.println("Sensor Data: " + sensorData);
}
delay(100); // Small delay to avoid overwhelming the Serial Monitor
}
SoftwareSerial
library is used to create a secondary UART interface on pins 2 and 3 of the Arduino UNO.No Data Received from the Sensor
Incorrect or Garbled Data
Sensor Not Detecting Presence
Q: Can the sensor detect multiple people in the same area?
A: The sensor is optimized for detecting human presence but does not differentiate between multiple individuals.
Q: Is the sensor affected by environmental conditions?
A: The sensor is designed to operate in a wide temperature range (-40°C to 85°C) and is generally unaffected by lighting or weather conditions. However, large metal objects or other mmWave devices may cause interference.
Q: Can I use the sensor with a 5V UART interface?
A: No, the sensor's UART interface operates at 3.3V. Use a level shifter if connecting to a 5V microcontroller.
By following this documentation, you can effectively integrate the Grove - mmWave Human Static Presence Sensor (MR24HPC1) into your projects for reliable human presence detection.