| Detection Principle |
Radio-frequency reflection |
The sensor transmits microwave energy and analyzes reflected signals to identify movement, distance, or changes in the surrounding environment. |
Configure the sensing algorithm to distinguish genuine motion from stationary objects and environmental noise. |
| Common Operating Bands |
Approximately 5.8 GHz or 10.525 GHz |
These frequencies are commonly used for compact motion-detection modules and are within widely used industrial, scientific, and medical radio-frequency ranges. |
Use a frequency and module that comply with the radio regulations applicable to the installation location. |
| Motion Detection |
Based on the Doppler effect |
A moving object changes the frequency of the reflected signal. The sensor processes this frequency shift to determine motion. |
Set a minimum signal threshold to reduce false triggers caused by electrical interference or minor environmental changes. |
| Typical Detection Range |
About 3–10 m for compact modules |
The actual range depends on antenna design, transmitter power, target size, installation height, and the material between the sensor and target. |
Adjust the sensitivity or detection threshold after installation rather than relying only on the nominal module range. |
| Field of View |
Often wider than a narrow-beam optical sensor |
Microwave signals can spread over a broad area and may detect movement through some non-metallic materials. |
Use shielding, enclosure design, or a lower sensitivity setting when adjacent rooms, corridors, or outdoor areas must be excluded. |
| Common Supply Voltage |
Typically 3.3 V or 5 V DC |
Small sensor modules generally use low-voltage DC power, although the required voltage depends on the module electronics. |
Check the module specification before connecting power. A regulated supply helps prevent unstable readings. |
| Output Types |
Digital output, analog signal, UART, or other serial interface |
A simple module may provide a high or low motion signal, while advanced modules can provide measurements or configuration commands. |
Match the software interface to the output type. Use a pull-up or pull-down resistor when required by an open-drain or open-collector output. |
| Basic Programming Flow |
Initialize → Read → Filter → Decide → Act |
The controller starts the sensor, reads its output, filters unstable samples, applies a decision rule, and activates an external response. |
Keep sensor reading and device control in separate functions to make the program easier to test and maintain. |
| Sampling Interval |
Commonly 20–100 ms for motion applications |
The appropriate interval depends on the sensor response time and the speed of the target. Faster sampling can improve responsiveness but increases processing activity. |
Use a non-blocking timer where possible so the controller can perform other tasks while monitoring the sensor. |
| Signal Filtering |
Moving average, debounce, or consecutive-sample validation |
Filtering reduces brief spikes and prevents a single noisy sample from being treated as a confirmed detection. |
For a digital motion signal, require several consistent readings before changing the system state. |
| Detection Logic |
Threshold comparison or state machine |
The program can compare a signal with a threshold or use states such as Idle, Detected, Hold, and Clear. |
Add a hold time and a release condition to prevent rapid on-and-off switching when a person remains near the detection boundary. |
| Response Time |
Usually tens to hundreds of milliseconds |
Response time includes sensor processing, controller sampling, filtering, and the time required to activate the connected device. |
Reduce unnecessary filtering delay in applications such as automatic lighting, while retaining enough filtering for stable operation. |
| Metal Interference |
Potentially significant |
Metal can reflect or block microwave energy, creating dead zones, unexpected reflections, or changes in the detection pattern. |
Keep the antenna clear of large metal surfaces and test the sensor in its final enclosure and mounting position. |
| Environmental Performance |
Unaffected by darkness and generally tolerant of smoke or light dust |
Unlike optical sensors, microwave sensors do not require visible light and can operate in conditions that obscure a camera or infrared beam. |
Rain, moving vegetation, vibrating structures, and nearby machinery can still create unwanted detections, especially outdoors. |
| Typical Applications |
Lighting control, occupancy detection, security monitoring, door automation, and industrial sensing |
Microwave sensors are useful when non-contact detection, darkness operation, or limited penetration through non-metallic materials is required. |
Select the sensor type, range, enclosure, and software logic according to the application and local safety requirements. |
| Programming Example Logic |
Trigger an output after confirmed motion |
The controller reads the sensor repeatedly, confirms motion using filtered readings, activates an output, and turns it off after a defined timeout. |
Use configurable parameters for sensitivity, confirmation count, and timeout so the system can be tuned without rewriting the core program. |