I know this is an old thread, but I just wanted to post to thank @JBeale for coming up with this idea, and add my slight variations to it.
By way of background, our drive joins a single track lane on the inside of a corner, and visibility up the lane is zero, so we have no idea if any cars, cycles, etc are coming down the hill towards where we want to pull out. Nothing ever goes that fast, apart from the occasional cyclist, so we can usually get away with just edging out slowly, and hoping any traffic coming sees us first. I've been looking at a way of sensing cars and bikes coming down the lane, and giving a reliable traffic light indicator by our gate, showing when it's safe to pull out. Doppler radar seems ideal, but the beam width of the antennas on the standard HB100 modules is both too wide and there are side lobes that detect motion from the sides and behind the module.
As a twist on the horn shown here, I decided to 3D print something similar, sized to fit into an off-the-shelf IP66 box. I found that using self-adhesive copper foil, as used for screening inside guitars, was ideal for lining a horn antenna, as long as the 3D printed surface is sanded smooth and the copper foil burnished down well to give a smooth surface.
The basic horn worked OK, and certainly extended the sensing range, and got rid of the unwanted detections from behind and to the side, but the beam was very skewed to one side, I found. This isn't that surprising, perhaps, because the transmit and receive patch antennas are close to the walls either side, so my guess is that there are some pretty odd reflections happening inside the horn. I'm no microwave expert, by any stretch, but I know that a patch antenna can feed a waveguide OP, so what I thought was needed was a short waveguide section, matched to the polarisation and frequency of each patch, to match each antenna to separate transmit and receive horns. I also thought that, as well as increasing the directivity a bit, this might reduce the slight remaining susceptibility to movement at the sides.
It turned out that I could just about fit a 19mm x 9.5mm rectangular waveguide section to each patch antenna. A waveguide of these dimensions has a cut-off at about 7.89 GHz, a lower working frequency of 9.86 GHz and an upper working frequency of 14.91 GHz, so just about OK for the 10.525 GHz from the module, and best of all, this size placed each patch antenna just about smack bang in the centre of the waveguide section, leaving just enough room for a small, tapered, divider to hopefully match each transmit or receive patch to it's horn a bit more effectively.
Initially I just added a central wedge divider, between the transmit and receive antennas. I found that the dielectric of the PLA that I used upset the microstrip transmission lines to each antenna, so had to cut away a section around the feed, just for 1mm, to avoid this. The central divider, on it's own, very significantly increased the range, and got rid of the offset directivity. Adding the tapered dividers between each of the pair of transmit and receive antennas improved things still further, perhaps because there was now a better match to the horns.
I cheated when it came to the signal amplifier, and bought HB100 modules already fitted to an amplifier board, so the output is at TTL level, and easier to process. The board I used is the DFRobot SEN0192 module. This comes with two LEDs and a sensitivity pot mounted on the antenna side of the board, which didn't allow it to fit flat to the 3D print, but it was easy to de-solder both and fit them to the other side of the board, leaving a flat face to screw down to the back of the antenna. These DFRobot modules aren't that much more expensive than the bare HB100 modules (I paid around $9 each for them). having the amplifier, filter and comparator on the one module makes for easy interfacing to any microcontroller, too.
The next stage is to knock up some simple code to only detect moving vehicles, and ignore the occasional spurious trigger from movement of trees, etc. The plan is to just use a simple pulse counting approach, to detect targets within a range of speeds, say from 5mph up to maybe 30mph. Nothing will be going faster than this down this narrow lane, I'm sure, so this should be good enough to filter out unwanted returns that are only there for a quarter of a second or so. Tested range with me just doing a walk test seems to be around 50m, so plenty, I hope. I'm sure that the range will be better for cars, but 50m is enough, really, as it will only be able to see around 70m up the lane, anyway, because of a bend.
The finished unit will be solar powered, and to save power I'm going to have it off most of the time, only turning on when another sensor detects a car coming down our drive. I'm hoping I can use a very low drain PIR sensor to do this, so that the unit can run OK with a small battery and solar panel.
Below are some photos of the prototype horn antenna, together with the modified HB100 module. Thanks again for the inspiration you gave me from this thread, @JBeale: