

The DFROBOT mmWave Radar Sensor is a high-performance device designed to detect the distance, speed, and angle of objects using radio waves. This sensor operates on the principle of electromagnetic wave reflection, making it highly reliable in various environmental conditions, including low visibility scenarios such as fog, rain, or darkness.
This radar sensor is widely used in applications such as:
Its compact design and robust functionality make it an excellent choice for both professional and hobbyist projects.








Below are the key technical details of the DFROBOT mmWave Radar Sensor:
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Operating Current | ≤ 100mA |
| Frequency Band | 24 GHz |
| Detection Range | 0.2m to 10m |
| Detection Angle | ±60° |
| Speed Detection Range | -10 m/s to +10 m/s |
| Communication Interface | UART (3.3V TTL) |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 30mm x 20mm x 5mm |
The DFROBOT mmWave Radar Sensor has a 4-pin interface. The pinout is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground connection |
| 3 | TX | UART Transmit pin (3.3V TTL) |
| 4 | RX | UART Receive pin (3.3V TTL) |
To use the DFROBOT mmWave Radar Sensor, follow these steps:
Below is an example Arduino sketch to interface with the DFROBOT mmWave Radar Sensor and read distance data:
#include <SoftwareSerial.h>
// Define the RX and TX pins for SoftwareSerial
SoftwareSerial radarSerial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 baud
radarSerial.begin(115200); // Initialize radar sensor UART at 115200 baud
Serial.println("Radar Sensor Initialized");
}
void loop() {
if (radarSerial.available()) { // Check if data is available from the sensor
String radarData = ""; // Variable to store incoming data
while (radarSerial.available()) {
char c = radarSerial.read(); // Read each character from the sensor
radarData += c; // Append character to the radarData string
}
Serial.println("Radar Data: " + radarData); // Print the received data
}
delay(100); // Small delay to avoid flooding the Serial Monitor
}
| Issue | Possible Cause | Solution |
|---|---|---|
| No data received from the sensor | Incorrect wiring or loose connections | Double-check all connections and pin assignments. |
| Garbage values displayed on Serial Monitor | Mismatched baud rate between sensor and microcontroller | Set the correct baud rate (115200) in your code. |
| Sensor not detecting objects | Obstruction in the detection path | Ensure the sensor has a clear line of sight. |
| Inconsistent readings | Electromagnetic interference or unstable power supply | Move the sensor away from interference sources and use a stable power source. |
Can this sensor detect stationary objects?
What is the maximum detection range?
Can I use this sensor outdoors?
Does the sensor support other communication protocols?
By following the guidelines and best practices outlined in this documentation, you can effectively integrate the DFROBOT mmWave Radar Sensor into your projects.