Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART): Examples, Pinouts, and Specs

Image of mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART)
Cirkit Designer LogoDesign with mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in Cirkit Designer

Introduction

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:

  • Smart home automation (e.g., lighting and HVAC control)
  • Security systems and intrusion detection
  • Occupancy monitoring in offices or public spaces
  • Robotics and IoT projects

Explore Projects Built with mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO and Seeed mmWave 24GHz Sensor for Proximity Detection
Image of Seeed to Arduino UNO: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
This circuit consists of an Arduino UNO microcontroller connected to a Seeed mmWave 24GHz sensor. The Arduino UNO provides power to the sensor and communicates with it via analog pins A2 and A3, which are connected to the sensor's Tx and Rx pins, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 and ESP32 CAM Based Motion Detection and RFID Security System
Image of Arduino Mega Circuit: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
This circuit is designed for a multi-sensor motion detection system with image capture and RFID reading capabilities. It uses an Arduino Mega 2560 as the central processing unit, interfacing with microwave radar motion sensors, an ESP32 CAM, and RFID boards. Power management is handled by voltage regulators and DC-DC converters, and an Arduino MKR WiFi 1010 is included for potential wireless communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Ultrasonic Distance Measurement System with GSM Reporting
Image of notification sms: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
This circuit is designed to measure distances with three ultrasonic sensors and transmit the data via GSM using an ESP32 microcontroller. It is powered by a battery with a voltage regulation provided by an XL4015 buck converter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino and ESP8266 Based Environmental Monitoring System with GPS Tracking
Image of sih1: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
This circuit is a multi-sensor data acquisition system with remote data transmission capabilities. It uses an Arduino UNO to collect data from an HC-SR04 ultrasonic sensor for distance measurement, a DHT11 sensor for temperature and humidity, an MQ-5 sensor for gas detection, and a GPS NEO 6M module for location tracking. The collected data is sent to an ESP8266 NodeMCU, which transmits it to a remote server via Wi-Fi for monitoring and analysis.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Seeed to Arduino UNO: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
Arduino UNO and Seeed mmWave 24GHz Sensor for Proximity Detection
This circuit consists of an Arduino UNO microcontroller connected to a Seeed mmWave 24GHz sensor. The Arduino UNO provides power to the sensor and communicates with it via analog pins A2 and A3, which are connected to the sensor's Tx and Rx pins, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Arduino Mega Circuit: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
Arduino Mega 2560 and ESP32 CAM Based Motion Detection and RFID Security System
This circuit is designed for a multi-sensor motion detection system with image capture and RFID reading capabilities. It uses an Arduino Mega 2560 as the central processing unit, interfacing with microwave radar motion sensors, an ESP32 CAM, and RFID boards. Power management is handled by voltage regulators and DC-DC converters, and an Arduino MKR WiFi 1010 is included for potential wireless communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of notification sms: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
ESP32-Based Ultrasonic Distance Measurement System with GSM Reporting
This circuit is designed to measure distances with three ultrasonic sensors and transmit the data via GSM using an ESP32 microcontroller. It is powered by a battery with a voltage regulation provided by an XL4015 buck converter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of sih1: A project utilizing mmWave - C4001 24GHz Human Presence Detection Sensor (25 Meters, UART) in a practical application
Arduino and ESP8266 Based Environmental Monitoring System with GPS Tracking
This circuit is a multi-sensor data acquisition system with remote data transmission capabilities. It uses an Arduino UNO to collect data from an HC-SR04 ultrasonic sensor for distance measurement, a DHT11 sensor for temperature and humidity, an MQ-5 sensor for gas detection, and a GPS NEO 6M module for location tracking. The collected data is sent to an ESP8266 NodeMCU, which transmits it to a remote server via Wi-Fi for monitoring and analysis.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

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

Pin Configuration and Descriptions

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)

Usage Instructions

Connecting the Sensor

To use the mmWave - C4001 sensor in a circuit:

  1. Connect the VCC pin to a 5V power source.
  2. Connect the GND pin to the ground of your circuit.
  3. Connect the TX pin of the sensor to the RX pin of your microcontroller.
  4. Connect the RX pin of the sensor to the TX pin of your microcontroller.

Important Considerations

  • Ensure the sensor is powered with a stable 5V DC supply to avoid damage.
  • The UART interface operates at 3.3V logic levels. If your microcontroller uses 5V logic, use a level shifter to prevent damage to the sensor.
  • Avoid placing the sensor near metal objects or strong electromagnetic interference, as this may affect detection accuracy.
  • The sensor is designed for indoor use; outdoor use may require additional protection from environmental factors.

Example Code for Arduino UNO

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
}

Notes on the Code

  • The SoftwareSerial library is used to create a secondary UART interface on pins 10 and 11 of the Arduino UNO.
  • The sensor communicates at a baud rate of 115200, which is set in the mmWaveSerial.begin() function.
  • The received data from the sensor is printed to the Serial Monitor for debugging and analysis.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No data received from the sensor:

    • Ensure the sensor is properly powered (5V DC) and connected to the correct UART pins.
    • Verify that the baud rate in your code matches the sensor's default baud rate (115200).
    • Check for loose or incorrect wiring.
  2. Incorrect or garbled data:

    • Ensure the UART logic levels are compatible (3.3V for the sensor).
    • Use a level shifter if your microcontroller operates at 5V logic.
  3. Detection range is inconsistent:

    • Avoid placing the sensor near reflective surfaces or metal objects.
    • Ensure the sensor is not obstructed by objects that may block mmWave signals.
  4. Sensor not working after prolonged use:

    • Check the operating temperature and ensure it is within the specified range (-40°C to 85°C).
    • Verify the power supply is stable and within the required voltage range.

FAQs

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.