Which sensor to choose for medium distance measurement?

Hi,

which sensor do you recommend for medium distance measurement?

The measurement object moves in a straight line from 5cm to 200cm.

I care about high measurement accuracy and I would be happy if there is a python library for communication already prepared :slight_smile:

I’ve already tried [LiDAR Lite V3HP and [VL53L1x, but those sensors do return like random number when object is below 90cm from them.](VL53L1X Time of Flight (ToF) Sensor Breakout)](https://www.sparkfun.com/products/14599)

HCSR04 works perfectly within your mentioned range.

Yes, that’s a good tip. It works quite accurately, unfortunately it has too wide an area of operation for my needs.

Seems like [VL53L1X did the job for me:)](VL53L1X Time of Flight (ToF) Sensor Breakout)