Arduino caliper

Thank you very much, got the answers I need.
Bought the caliper already and will see if I manage to pull it off.