Reading a digital caliper with a microcontroller
posted Dec 15th 2010 12:34pm by Mike Szczysfiled under: Microcontrollers, tool hacks

[Maris] wanted a way to read measurements from a digital caliper electronically. He ended up using the TI Launchpad to accomplish this, but not all of the necessary hardware is seen above. The calipers cost him about $7 on eBay, and they have four interface pins which made this hack quite a bit easier. After a bit of probing he established their purpose; voltage, ground, clock and data. A bit of scoping proved that data was being sent in 24-bit burst in packets that are quite easy to decode.
From there it’s just a matter of interfacing with a microcontroller. The chip he’s using is an MSP430G2231 that runs at 3.3V, but the caliper’s logic high is only 1.5v. By constructing an adapter using a pair of transistors, the data and clock from the calipers are able to pull pins on the MSP430 low. This is collected and analyzed by [Maris'] firmware and can be read on a PC using a terminal program.
[Thanks Chris]






This is an interesting hack that has already been hashed over a few times in several machinists forums. There’s a couple projects out there to read multiple calipers at the same time so you can use the cheap Chinese calipers as DRO’s (digital readouts) to know the absolute positions of your X/Y/Z/Quill on a vertical/horizontal mill or lathe
http://www.msh-tools.com/DRO/index.html
http://www.yadro.de/