Go Down

Topic: interfacing arduino with a digital caliper (Read 4322 times) previous topic - next topic

marthal

For those who are interested in interfacing Arduino with a cheap digital caliper I have placed a short project description under
https://sites.google.com/site/marthalprojects/home/arduino/arduino-reads-digital-caliper

robtillaart

Great work, thanks for sharing.

What does the output looks like?
value in which units?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

marthal

The output which appears on the serial monitor is exactly the same as you read on the caliper's LCD. It is the caliper's measurement in mm, with 2 decimals, e.g. 4.52
The code provided works only with the caliper set in mm mode. With the caliper in inch mode the code needs to be slightly modified.

regards

robtillaart

If you switch mode can that be seen on the interface?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

marthal

In the case of my caliper none of the 24 data bits codifies for inch or mm mode, so I guess there is no possibility of automatic detection of the mode.

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up