Author Topic: Digital Caliper Interface?  (Read 15492 times)

0 Members and 3 Guests are viewing this topic.

Online xrunnerTopic starter

  • Super Contributor
  • ***
  • Posts: 7635
  • Country: us
  • hp>Agilent>Keysight>???
Digital Caliper Interface?
« on: June 10, 2013, 07:23:07 pm »
I picked up a nice little digital caliper the other day from Harbor Freight Tools. It seems to be very accurate.

There are two removable covers. One is for the battery. The other is for ... what?

There is no mention whatsoever of the other cover in the manual, yet, it's there - designed right into the tool and not hidden. When you remove it, you see 4 terminals/pads. Any guesses?
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Digital Caliper Interface?
« Reply #1 on: June 10, 2013, 07:26:01 pm »
If it's anything like my very similar one, that's where the gremlins enter at night to drain the battery.

Stick a scope on it. UART?
No longer active here - try the IRC channel if you just can't be without me :)
 
The following users thanked this post: cdev

Offline Chet T16

  • Frequent Contributor
  • **
  • Posts: 537
  • Country: ie
    • Retro-Renault
Re: Digital Caliper Interface?
« Reply #2 on: June 10, 2013, 07:28:05 pm »
Chet
Paid Electron Wrestler
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: Digital Caliper Interface?
« Reply #4 on: June 10, 2013, 07:33:52 pm »
 

Offline notsob

  • Frequent Contributor
  • **
  • Posts: 705
  • Country: au
Re: Digital Caliper Interface?
« Reply #5 on: June 10, 2013, 08:53:22 pm »
 

Offline chickenHeadKnob

  • Super Contributor
  • ***
  • Posts: 1060
  • Country: ca
Re: Digital Caliper Interface?
« Reply #6 on: June 10, 2013, 08:56:21 pm »

These have been extensively hacked, there is a uart output. see hack a day search results:

http://hackaday.com/?s=digital+caliper
 

Online xrunnerTopic starter

  • Super Contributor
  • ***
  • Posts: 7635
  • Country: us
  • hp>Agilent>Keysight>???
Re: Digital Caliper Interface?
« Reply #7 on: June 10, 2013, 09:05:16 pm »
Yea that's it thanks!

Funny it's not mentioned in the manual though.
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Offline ben_r_

  • Frequent Contributor
  • **
  • Posts: 419
  • Country: us
  • A Real Nowhere Man
Re: Digital Caliper Interface?
« Reply #8 on: June 10, 2013, 09:15:11 pm »
URGH! Lookin at those cheap calipers makes me cringe! I literally have three of them on my shelf that all stopped working WAY too quickly. I finally got fed up and bought a Mitutoyo. Been WAY happier ever since.

That aside, what would one want the digital output of a digital caliper for anyway? To re-display it elsewhere? Are you really going to "log" your measurements?! Create the interface and then a program to drop the measurements into Excel or something? Do people really take THAT many measurements?
If at first you don't succeed, redefine success!
 
The following users thanked this post: tooki

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
    • VE7XEN Blog
Re: Digital Caliper Interface?
« Reply #9 on: June 10, 2013, 09:56:55 pm »
That aside, what would one want the digital output of a digital caliper for anyway? To re-display it elsewhere? Are you really going to "log" your measurements?! Create the interface and then a program to drop the measurements into Excel or something? Do people really take THAT many measurements?
They're cheap linear position indicators you can integrate into other mechanical devices. If you want to keep them as calipers though I have no idea. Maybe useful if you're trying to collect a lot of measurements quickly for CAD modelling or something?
73 de VE7XEN
He/Him
 

Offline ben_r_

  • Frequent Contributor
  • **
  • Posts: 419
  • Country: us
  • A Real Nowhere Man
Re: Digital Caliper Interface?
« Reply #10 on: June 10, 2013, 10:27:48 pm »
That aside, what would one want the digital output of a digital caliper for anyway? To re-display it elsewhere? Are you really going to "log" your measurements?! Create the interface and then a program to drop the measurements into Excel or something? Do people really take THAT many measurements?
They're cheap linear position indicators you can integrate into other mechanical devices. If you want to keep them as calipers though I have no idea. Maybe useful if you're trying to collect a lot of measurements quickly for CAD modelling or something?
OH gotcha! Now THAT IS a good idea! Thank you.
If at first you don't succeed, redefine success!
 

Offline eKretz

  • Frequent Contributor
  • **
  • Posts: 870
Re: Digital Caliper Interface?
« Reply #11 on: June 12, 2013, 09:03:25 am »
It's there for SPC.
Statistical Process Control. Basically, yes, people do take that many measurements and enter them into spreadsheets. It is sort of a requirement when manufacturing to ISO standards. (I know you've seen "ISO 9001" etc.). Certain high confidence manufactured parts (think aerospace, passenger jets, etc.) require serial numbering and records kept of every single size on critical dimensions. These dimensions are stored by the manufacturer in case of critical defect so the parts can be dimemsionally analyzed post-mortem even if they are destroyed or lost. That port allows for a measurement to be taken, then a button is pressed to send the final dimension to the computer/spreadsheet.
 
The following users thanked this post: cdev

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Re: Digital Caliper Interface?
« Reply #12 on: June 12, 2013, 09:14:28 am »
If you want details of the protocol used, have a look at Shumatech.com
There's also details of an ARM based DRO with open source software.

I have one of the DRO-550 on my mill, works well.
 

Offline superUnknown

  • Regular Contributor
  • *
  • Posts: 66
Re: Digital Caliper Interface?
« Reply #13 on: August 13, 2013, 04:50:43 am »
Arrg. No thumbwheel makes fine adjustments impossible!  :palm:
Spend the extra $5 and get the cheapo 6" calipers WITH thumbwheel.
 

Offline elektrinis

  • Regular Contributor
  • *
  • Posts: 100
Re: Digital Caliper Interface?
« Reply #14 on: January 03, 2019, 11:25:40 pm »
Old topic, but could not find the info.
I have a project where I need to reset the caliper not to zero, but to other relative value, say, 10mm.
Is it possible to do via this digital interface? I see it supports 2 external buttons for zeroing and switching modes, but what about writing a relative value?
 

Offline tsman

  • Frequent Contributor
  • **
  • Posts: 599
  • Country: gb
Re: Digital Caliper Interface?
« Reply #15 on: January 03, 2019, 11:37:28 pm »
I have a project where I need to reset the caliper not to zero, but to other relative value, say, 10mm.
Is it possible to do via this digital interface? I see it supports 2 external buttons for zeroing and switching modes, but what about writing a relative value?
The serial data stream is output only. There is no command interface beyond the mode and zero buttons.
 

Offline elektrinis

  • Regular Contributor
  • *
  • Posts: 100
Re: Digital Caliper Interface?
« Reply #16 on: January 03, 2019, 11:39:53 pm »
I see it has dual data output, a relative position (what you get azter zeroed out) and an absolute position. Couple sources say the absolute position changes after every power on. But does it? If it actually starts with the same number (given that caliper was not moved), this actually can solve my issue, as I would then adjust it mechanically.
 

Offline JVR

  • Regular Contributor
  • *
  • Posts: 201
  • Country: be
Re: Digital Caliper Interface?
« Reply #17 on: January 04, 2019, 12:34:35 pm »
A power on is defined by sticking a battery in. These cheap calipers never actually turn off, they just turn the LCD off.
 

Offline elektrinis

  • Regular Contributor
  • *
  • Posts: 100
Re: Digital Caliper Interface?
« Reply #18 on: January 04, 2019, 12:50:50 pm »
Yes, by power I mean power, not a button press.
So, does it power on with absolute value based on sensor position, or just a random number?
 

Offline shteii01

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: us
 

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4108
  • Country: us
Re: Digital Caliper Interface?
« Reply #20 on: January 07, 2019, 09:02:50 am »
Quote
That aside, what would one want the digital output of a digital caliper for anyway
https://youtu.be/XIAC1zyYGrc?t=624
If only.
 
The following users thanked this post: Kilrah

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4108
  • Country: us
Re: Digital Caliper Interface?
« Reply #21 on: January 07, 2019, 09:12:30 am »
Quote
A power on is defined by sticking a battery in. These cheap calipers never actually turn off, they just turn the LCD off.
Most all digital calipers go to a low draw sleep mode when turned off. Many of the cheap calipers use the same microcontroller, even the same board in some cases. All of mine use the same board, and there are a pair of redundant buttons on the board so it will fit into many different models. I believe AvE, or maybe one of his viewers, measured the sleep current in a HF caliper and it is 4x the draw of a Mitt.

But the biggest difference is the battery. Mittutoyo come with a silver oxide battery. I put Energizer silver oxide cells in my cheap calipers, and they last over a year. But don't buy the cheapest batteries you can find. I tried some generics, and they lasted 3 months. I measured the cell voltage on them, and I got 1.588, so I'm pretty sure they're alkaline. A true silver oxide is 1.550 on the button, when new.
 

Offline Kilrah

  • Supporter
  • ****
  • Posts: 1852
  • Country: ch
Re: Digital Caliper Interface?
« Reply #22 on: January 07, 2019, 09:15:22 am »
Couple sources say the absolute position changes after every power on. But does it?

A power on is defined by sticking a battery in. These cheap calipers never actually turn off, they just turn the LCD off.

Some do, some don't. Nearly all of those I've used keep the value, but the other day I came across one that zeroed at every power on. Very annoying when you're used to the other.

Mine must turn off since a battery lasts several years (but doesn't zero).
 

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4108
  • Country: us
Re: Digital Caliper Interface?
« Reply #23 on: January 07, 2019, 09:25:43 am »
Unless there's a hard switch on it, it most likely just goes to sleep. The sleep current is low enough on a modern micro that it close enough to being off when used with a silver oxide battery. It's not really worth the extra cost of putting in a FET to switch the power on. It's just a matter of user education that they ship these things with an inappropriate battery for this application.

I would like someone with a mit to put an alkaline in there and see how long it lasts. I bet it's pretty disappointing.
 

Offline kosine

  • Regular Contributor
  • *
  • Posts: 158
  • Country: gb
Re: Digital Caliper Interface?
« Reply #24 on: January 07, 2019, 02:53:48 pm »
I repurposed one of these calipers as a linear encoder back in 2011 (time flies!), and digging through my notes here's a few bits of info that may be useful - assuming the module used is the same (looks like it):

Pinout is same as shown on the robotroom link above:

1 Battery -ve
2 Data out
3 Clock
4 Battery +ve

My steel caliper was +ve ground which means that the entire metal framework is connected to the +ve terminal of the internal 1.5V battery. This may cause problems if the caliper is to be attached to anything metal. (I.e., don't ground the metalwork.) Probably not an issue with a carbon-fibre model.

If nothing has changed, then a suitable PCB connector for the caliper is a 4-way 2.0mm pitch Hirose DF-3 SMT socket. (Requires dissammbly to fit.) You'll also need the mating plug.

I seem to recall that shorting some of the pins forced a reset, though can't recall which two. This is probably a bug not a feature, though my caliper is still kicking around and working all these years later.

Another bug is that these cheap calipers do sometimes jump to a random value, so not ideal for important applications, but still useful for casual projects.

Last time I checked, you could also by these as standalone encoders, i.e. same module on a slide, but without the caliper head. They came with mounting brackets for each end instead. I used a couple on a lathe project many moons ago.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf