PDA

View Full Version : How to read digital caliper.



basicolo2
- 11th May 2013, 15:57
I'd like to read a digital caliper (2x24bit protocol),does anyone have some sample code in PICBASIC ?

Greetings, and thank you in advance, for help.

BrianT
- 13th May 2013, 12:48
Search the web,
Plenty of hits on "digital calliper protocol"

http://www.yadro.de/digital-scale/protocol.html

HTH
BrianT

Aussie Barry
- 21st May 2013, 04:05
I have been looking at doing a remote display for one of these digital calipers for quite some time.
I have three "iGaging" digital calipers set up as a DRO on my mini-mill and would like to install two on my lathe.
One of the downfalls of the "iGaging" units is that the display turns off after a few minutes to conserve battery power.
This is a real pain when doing a lot of milling operations. I would like to interface the caliper to my own display using LCD or 7-segment displays.

I have read all the details on the web regarding digital caliper protocol but I am at a loss as to where to start writing PBP code.
The data is sent in packets with LSB first! How can this information be converted to a MSB first data packet?
Has anyone tackled this type of project before?

Cheers
Barry
VK2XBP

prstein
- 21st May 2013, 12:03
Hi Barry,

Take a look at the REV operator in the PBP manual. This what you're looking for?

Best Regards,
Paul