Digital Caliper Interface? - Page 1
Forum section: electronics / general

author: xrunner
author_rank: Super Contributor
timestamp: June 10, 2013, 07:23:07 pm
content: 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?

author: c4757p
author_rank: Super Contributor
timestamp: June 10, 2013, 07:26:01 pm
content: 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?

author: Chet T16
author_rank: Frequent Contributor
timestamp: June 10, 2013, 07:28:05 pm
content: Is this one the same?http://www.43oh.com/2010/12/interfacing-ti-launchpad-to-digital-caliper/

author: DavidDLC
author_rank: Frequent Contributor
timestamp: June 10, 2013, 07:32:09 pm
content: http://www.nerdkits.com/videos/talking_calipers/

author: DavidDLC
author_rank: Frequent Contributor
timestamp: June 10, 2013, 07:33:52 pm
content: Another one:http://www.nerdkits.com/videos/digital_calipers_dro/

author: notsob
author_rank: Frequent Contributor
timestamp: June 10, 2013, 08:53:22 pm
content: This may be of some usehttp://www.pcbheaven.com/exppages/Digital_Caliper_Protocol/

author: chickenHeadKnob
author_rank: Super Contributor
timestamp: June 10, 2013, 08:56:21 pm
content: These have been extensively hacked, there is a uart output. see hack a day search results:http://hackaday.com/?s=digital+caliper

author: xrunner
author_rank: Super Contributor
timestamp: June 10, 2013, 09:05:16 pm
content: Yea that's it thanks!Funny it's not mentioned in the manual though.

author: ben_r_
author_rank: Frequent Contributor
timestamp: June 10, 2013, 09:15:11 pm
content: 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?

author: ve7xen
author_rank: Super Contributor
timestamp: June 10, 2013, 09:56:55 pm
content: Quote from: ben_r_ on June 10, 2013, 09:15:11 pmThey'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?

author: ben_r_
author_rank: Frequent Contributor
timestamp: June 10, 2013, 10:27:48 pm
content: Quote from: ve7xen on June 10, 2013, 09:56:55 pmOH gotcha! Now THAT IS a good idea! Thank you.

author: eKretz
author_rank: Frequent Contributor
timestamp: June 12, 2013, 09:03:25 am
content: 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.

author: GeoffS
author_rank: Unknown
timestamp: June 12, 2013, 09:14:28 am
content: If you want details of the protocol used, have a look atShumatech.comThere's also details of an ARM based DRO with open source software.I have one of the DRO-550 on my mill, works well.

author: superUnknown
author_rank: Regular Contributor
timestamp: August 13, 2013, 04:50:43 am
content: Arrg. No thumbwheel makes fine adjustments impossible!Spend the extra $5 and get the cheapo 6" calipers WITH thumbwheel.

author: elektrinis
author_rank: Regular Contributor
timestamp: January 03, 2019, 11:25:40 pm
content: 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?

author: tsman
author_rank: Frequent Contributor
timestamp: January 03, 2019, 11:37:28 pm
content: Quote from: elektrinis on January 03, 2019, 11:25:40 pmThe serial data stream is output only. There is no command interface beyond the mode and zero buttons.

author: elektrinis
author_rank: Regular Contributor
timestamp: January 03, 2019, 11:39:53 pm
content: 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.

author: JVR
author_rank: Regular Contributor
timestamp: January 04, 2019, 12:34:35 pm
content: A power on is defined by sticking a battery in. These cheap calipers never actually turn off, they just turn the LCD off.

author: elektrinis
author_rank: Regular Contributor
timestamp: January 04, 2019, 12:50:50 pm
content: 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?

author: shteii01
author_rank: Frequent Contributor
timestamp: January 06, 2019, 11:28:36 pm
content: http://www.robotroom.com/Caliper-Digital-Data-Port.html

author: KL27x
author_rank: Super Contributor
timestamp: January 07, 2019, 09:02:50 am
content: Quotehttps://youtu.be/XIAC1zyYGrc?t=624If only.

author: KL27x
author_rank: Super Contributor
timestamp: January 07, 2019, 09:12:30 am
content: QuoteMost 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.

author: Kilrah
author_rank: Unknown
timestamp: January 07, 2019, 09:15:22 am
content: Quote from: elektrinis on January 03, 2019, 11:39:53 pmQuote from: JVR on January 04, 2019, 12:34:35 pmSome 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).

author: KL27x
author_rank: Super Contributor
timestamp: January 07, 2019, 09:25:43 am
content: 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.

author: kosine
author_rank: Regular Contributor
timestamp: January 07, 2019, 02:53:48 pm
content: 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 -ve2 Data out3 Clock4 Battery +veMy 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.

author: elektrinis
author_rank: Regular Contributor
timestamp: January 07, 2019, 05:52:07 pm
content: Quote from: kosine on January 07, 2019, 02:53:48 pmThis is interesting. I was searching for a module, but could not find any. At least cheaper than $3 caliper...I consider making my own PCBs. Does anyone have a schematic/layout of the sensor and knows what kind of chipset it uses? Perhaps it could be done with any of those $1 micros with capacitive touch inputs?

author: kosine
author_rank: Regular Contributor
timestamp: January 08, 2019, 01:26:37 pm
content: Search term is "digital linear scale". Even though they use the same hardware as the calipers, they are quite a bit more expensive. (Economics of supply & demand, I guess.)Not sure how easy it would be to make your own. Ultimately you only need the long PCB the module slides on, but that might take a bit of trial and error to get right. Making the module as well sounds like a bit of a challenge.When you factor in your time & effort making it work, it might not be worth it. For under $50 you can just buy-in a solution, or cut the end off a cheaper caliper.Might be fun to strip one right down and see what makes it tick, though. Maybe there's a video out there already.

author: elektrinis
author_rank: Regular Contributor
timestamp: January 08, 2019, 01:28:35 pm
content: Yes, for now I have just stripped my calipers. This is for a highly integrated solution, so may think about making custom hardware later, could be a fun project.

author: cdev
author_rank: Super Contributor
timestamp: January 27, 2019, 11:03:22 pm
content: Could be useful for making a digital X-Y table for drilling the vias on PCBs.

author: 6PTsocket
author_rank: Regular Contributor
timestamp: January 28, 2019, 04:04:28 am
content: Quote from: KL27x on January 07, 2019, 09:12:30 amThey are completely interchangeable but the silver oxide last longer and have a flatter discharge curve, ie, they stay near full voltage until the end as opposed to alkaline that that gradually drop to an unusable value as they are used up. There are a lot of interchangable numbers for each. Silver oxide is SR44, 357, 303 plus others. Alkaline is LR44 and a bunch of other numbers. Easily looked up. Be careful; some sellers list alkaline cells as replacements for silver oxide.The reverse is OK as the silver oxide is better in all respects. Either type is easily found but the silver oxide a several times more expensive. Dollar Tree has the LR44 alkalines at 4 for a buck.Sent from my SM-G900V using Tapatalk