I had no idea that you could find this kind of motion sensors on the internet for so cheap... But they come with a catch: you need to design some electronics for them.
I'm sure you're quite familiar with the Doppler effect: you send an RF signal at a given frequency to a target, and if this object/person is moving the reflected signal's frequency will be shifted.
This is the reason why a fire truck's siren has a higher pitch when the truck is going towards you than when it is going away. Anyway, this is the module you can find on ebay:
You'll notice the 4 patch antennas to send/receive the 10.525GHz. This frequency is really nice as the sensor will still work if there is some wood/plastic in front of it!
The HB100 outputs a low level voltage (few uV) whose frequency represents the speed at which an object is moving towards or away from the sensor. The output can be very noisy, so in addition to amplifying the signal, we need to filter out frequencies that don't match what we expect from ordinary objects. Have a look at my schematics, based on an example found in the HB100 datasheet:
Let's analyze them step by step. U1 is a SOIC component containing 2 operational amplifiers: opamp A & opamp B.
The HB100's output is connected to P1 and C4/(R4&R2&R1) form a high pass filter. The signal at the opamp A positive input (IN+A) is centered at Vcc/2 because of this high-pass filter and the voltage divider made by R1 & R2.
The opamp A, R5, C5, R6 and C6 form a non-inverting band pass filter circuit. It amplifies the signal at IN+A by 100 (R6/R5) between 3.4Hz (1/2*pi*R5*C5) and 72Hz (1/2*pi*R6*C6). The gain is 1 outside this frequencies, so the opamp A's output is also centered around Vcc/2.
The latter signal is then passed through an inverting band pass filter circuit. The gain is 121 (R7/R8) between 4.1Hz (1/2*pi*C8*R8) and 72Hz (1/2*pi*C7*R7). The gain is 0 outside these frequencies, but because Vcc/2 is present at IN+B the opamp B's output will also be centered around Vcc/2.
Here are the two types of bandpass filters presented in a better way (different component values are used):
Anyway, you might wonder why the last amplifying stage's lower cutoff frequency is slightly higher than the previous'. This is made so to avoid amplifying the DC component as the band pass filter is not ideal (see above picture).
So we finally amplified the HB100 signal by 100*121 = 12100... so you can guess that a lot of noise can be amplified.
To avoid that, FB1 removes the power supply's noise and the chosen opamps have a high common mode rejection ratio (CMRR).
The amplified signal maximum voltage is detected using D1, R9 and C9. It is common to add a resistor in parrallel with C9 but as we are working with very low frequencies C9's leakage will do the trick.
To output a nice square signal, we use a discriminator (U2) detecting when the voltage crosses Vcc*0.55.
And there you have it: a nice doppler motion detector.
If you don't have time to make one yourself... have a look at my store on tindie .