

The mmWave - C4001 24GHz Human Presence Detection Sensor by DFRobot is a high-frequency sensor designed to detect human presence with exceptional accuracy. Utilizing advanced millimeter-wave (mmWave) technology, this sensor can detect human presence within a range of up to 25 meters. It features UART communication, making it easy to integrate with microcontrollers such as Arduino, Raspberry Pi, and other development platforms.
This sensor is ideal for applications requiring precise motion detection and presence sensing, such as:








Below are the key technical details of the mmWave - C4001 sensor:
| Parameter | Specification |
|---|---|
| Operating Frequency | 24 GHz |
| Detection Range | Up to 25 meters |
| Communication Interface | UART (3.3V TTL) |
| Operating Voltage | 5V DC |
| Operating Current | ≤ 50 mA |
| Detection Angle | ±60° |
| Operating Temperature Range | -40°C to 85°C |
| Dimensions | 30mm x 20mm x 5mm |
The mmWave - C4001 sensor has a 4-pin interface for power and communication. The pinout is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground |
| 3 | TX | UART Transmit (3.3V TTL) |
| 4 | RX | UART Receive (3.3V TTL) |
To use the mmWave - C4001 sensor in a circuit:
Below is an example of how to interface the mmWave - C4001 sensor with an Arduino UNO using UART communication:
#include <SoftwareSerial.h>
// Define the RX and TX pins for SoftwareSerial
SoftwareSerial mmWaveSerial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 baud
mmWaveSerial.begin(115200); // Initialize mmWave sensor at 115200 baud
Serial.println("mmWave Sensor Initialized");
}
void loop() {
// Check if data is available from the sensor
if (mmWaveSerial.available()) {
String sensorData = ""; // Variable to store sensor data
while (mmWaveSerial.available()) {
char c = mmWaveSerial.read(); // Read each character from the sensor
sensorData += c; // Append character to the data string
}
Serial.println("Sensor Data: " + sensorData); // Print sensor data to Serial Monitor
}
delay(100); // Small delay to avoid flooding the Serial Monitor
}
mmWaveSerial.begin() function.No data received from the sensor:
Incorrect or garbled data:
Detection range is inconsistent:
Sensor not working after prolonged use:
Q: Can the sensor detect multiple people simultaneously?
A: The mmWave - C4001 sensor is optimized for detecting human presence but does not provide detailed information about the number of people. For multi-target detection, additional processing may be required.
Q: Is the sensor suitable for outdoor use?
A: The sensor is primarily designed for indoor use. If used outdoors, ensure it is protected from environmental factors such as rain, dust, and extreme temperatures.
Q: Can I use this sensor with a Raspberry Pi?
A: Yes, the sensor can be connected to a Raspberry Pi via its UART interface. Ensure the Raspberry Pi's GPIO pins are configured for 3.3V logic levels.
Q: What is the maximum detection range?
A: The sensor can detect human presence up to 25 meters under optimal conditions.
By following this documentation, you can effectively integrate the mmWave - C4001 sensor into your projects for reliable human presence detection.