Recommendations for high precision depth sensing solutions?

Hi,

I'm looking to start a project where I can put my C# skills to use with a desktop application that will interface with my Arduino (Mega 2560) for the purpose of using a laser or whatever you may recommend to plot a 2D profile of a groove.

The object I will be measuring will be in a fixed position and no larger than 40mm wide and 40mm tall.

I assume I need to use a line laser and a camera but I need as much precision as possible, a hundredth of a mm at least?

Is this affordably possible with such small objects at a short distance of for example 5-10cm away?

The image processing required is beyond any Arduino. Start with developing the camera reader/interpreter on a desktop or laptop.

I need as much precision as possible, a hundredth of a mm at least?

You can buy laser distance sensors which have that precision or better. They are quite expensive.

One manufacturer: Laser distance sensors | Baumer USA

Thanks for the recommendation, I'll be sure to have a look at the baumer site.

I'm looking at using a cheap line laser along with a 1080p logitech c920 camera I already have to try laser triangulation and see what sort of precision I can get.

MorganS:
The image processing required is beyond any Arduino. Start with developing the camera reader/interpreter on a desktop or laptop.

Thanks Morgan, I've just been reading something along those lines!

I don't require constant measurement or anything live, I believe I just require one snapshot of a stationary object to build a 2D profile from, I should be able to do this on Arduino and then pass it across to a computer for processing right?

I've a 1080p 30fps Logitech c920 camera and an i9 9900K in my desktop so I should have enough processing power and hardware to process it once received from the Arduino or are you just recommending I stick with the PC all together?

I should be able to do this on Arduino

Not an AVR based Arduino. One of the models that runs Linux might work, but what is the point?

Fair enough, I guess I'll stick to the arduino for powering the laser and probably some button controls for triggering the software on the pc for ease of use.

I'll have to see what I'm capable of on the image processing side of things while I wait for my laser to arrive.