A low-cost smart microwave radar for short range measurements