arduino based elastic width measurement

Maybe Keyence can help.

My two cents? Get something designed for the application rather than trying to cobble together an Arduino solution.

As someone once said: The bitterness of poor quality remains long after the sweetness of low price is forgotten.

YMMV