As the title suggests, I'm looking for a cost-effective device that can gauge distance no more than 8 ish meters. I do have some ultrasonic sensors on hand but their max range is 4 meters and often times the distance returned is inaccurate (Of course due to how the ultrasound interacted with whatever it hit). I'm looking for something slightly more accurate and double the range but not 50x the price of the original price. I am aware there are LiDAR solutions, but they're wildly expensive as I mentioned before, so I was wondering whether there are any other options when it comes to achieving my specific task (Semi-accurately measuring distance up to 8 meters).