The XYC-WB-DC is a 5.8GHz microwave radar motion sensor module with a 3.3V to 20V DC input, consuming less than 3mA. It features a 360° detection angle, 6-9m range (default 7m), and a 1-120s delay (default 30s). Designed for motion detection through thin walls, it’s ideal for lighting control in high-ceiling spaces but may face interference issues.
Operating frequency: | 5.8GHz |
---|---|
Input voltage: | 3.3V-20V DC |
Power consumption: | ≤3mA |
Detection angle: | 360° |
Detection range: | 6-9m (default 7m) |
Delay time: | 1-120s (default 30s) |
Sender power: | ≤2mW |
Operating temperature: | -20°C to +80°C |
Pin | Function | Arduino Uno |
---|---|---|
OUT | Data output (=detection result) | Digital Pin (e.g. D4) |
GND | Ground/0V | GND |
VCC | Supply voltage | 5V (or 3V3) |
The setup is connecting the sensor module with a digital input to get the measured data. A LED shows the presence of human motion by lighting.
#define PIN_RADAR 4
#define PIN_LED 8
void setup() {
Serial.begin(9600);
pinMode(PIN_RADAR, INPUT);
pinMode(PIN_LED, OUTPUT);
}
void loop() {
if (digitalRead(PIN_RADAR) == 1) {
digitalWrite(PIN_LED, HIGH);
} else {
digitalWrite(PIN_LED, LOW);
}
delay(25);
}