Go Down

Topic: interfacing arduino with a digital caliper (Read 6888 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)

heng1

hi
this is exactly what I am looking for, tried it, doesn't do anything for me, no serial output at all.
I am using bc550c transistors.
I have no clue what is wrong.

robtillaart

@heng1
what calliper are you using?
picture?
Rob Tillaart

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

heng1


JimboZA

Question: what practical use does this have....

I can't think of a need to do that right now, but mine is one of those: I might give it  try just for the heck of it.
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

robtillaart

>> Question: what practical use does this have....

You could make a very accurate milling table, positioning with 2 callipers X and Y could be double fun ;)
Rob Tillaart

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

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy