Distance measurement with minimal accuracy

but small device i need