Sensor distance 3+/-0.1 mm

I need help, I need sensor with accuracy 0.1mm, reading min. 1mm max. 4 mm, Could you give me suggestion for exactly sensor ?

Micrometer?

Digital calipers with serial output would work.

Paul

Can you say a bit more about what you are trying to measure? How large a sensor could be suitable? Is contact allowed?