Mitutoyo caliper protocol
Archiver
Posts: 46,084
I have had a lot of luck using a CD4031(or similar) shift register to
get data from fast self clocking CLOCK/DATA hardware. Just connect the
clock of your device to the CD4031 and the data of your device to Data
in 1, then connect a pin from your BS to the 4031 clock and another ping
from your BS to Q on the 4031. Pull REQ low on your device, pause for
100 ms or so then use a ShiftIn to grab the data from the 4031.
Josh
Original Message
From: goflo@p... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=H6sgzm9-iarFl31b4oiO4A10GJUHhyqA-eJSZEK1aO5bRdbFX_jja1wIJH2urpunsV-b_qIrY-w7T5Ol]goflo@p...[/url
Sent: Friday, March 21, 2003 11:39 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Mitutoyo caliper protocol
This topic seems to come around every so often, so I
thought I'd post it in a form that'd be easy to find
in the archive.
I've interfaced so-called "Digimatic" devices to an
assortment of computers, including a TI programable
calculator - For Stamp apps the main issue is speed.
A 4 mHz BS1 probably is'nt fast enough - A BS2 is,
but I have'nt tried it - Think I will, just to see.
regards, Jack
> > Mitutoyo caliper protocol is 3-wire, CLK, DATA, REQ.
> >
> > CLK and DATA are open-collector outputs. 10K pull-ups
> > work fine.
> >
> > Pulling REQ low produces 52 clocks, DATA valid on
> > CLK low, each group of 4 bits represents a hex #,
> > lsb to msb:
> >
> > d0-d3 0Fh
> >
> > d4 sign digit, 0 is positive, 1 negative
> >
> > d5-d10 measurement value, BCD, MSD to LSD,
> >
> > d11 decimal point position in the 6-digit
> > measurement value, counting right to left
> >
> > d12 units, 0=mm, 1=inches
> >
> > IIRC CLK freq is 1562 Hz, or thereabouts.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
get data from fast self clocking CLOCK/DATA hardware. Just connect the
clock of your device to the CD4031 and the data of your device to Data
in 1, then connect a pin from your BS to the 4031 clock and another ping
from your BS to Q on the 4031. Pull REQ low on your device, pause for
100 ms or so then use a ShiftIn to grab the data from the 4031.
Josh
Original Message
From: goflo@p... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=H6sgzm9-iarFl31b4oiO4A10GJUHhyqA-eJSZEK1aO5bRdbFX_jja1wIJH2urpunsV-b_qIrY-w7T5Ol]goflo@p...[/url
Sent: Friday, March 21, 2003 11:39 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Mitutoyo caliper protocol
This topic seems to come around every so often, so I
thought I'd post it in a form that'd be easy to find
in the archive.
I've interfaced so-called "Digimatic" devices to an
assortment of computers, including a TI programable
calculator - For Stamp apps the main issue is speed.
A 4 mHz BS1 probably is'nt fast enough - A BS2 is,
but I have'nt tried it - Think I will, just to see.
regards, Jack
> > Mitutoyo caliper protocol is 3-wire, CLK, DATA, REQ.
> >
> > CLK and DATA are open-collector outputs. 10K pull-ups
> > work fine.
> >
> > Pulling REQ low produces 52 clocks, DATA valid on
> > CLK low, each group of 4 bits represents a hex #,
> > lsb to msb:
> >
> > d0-d3 0Fh
> >
> > d4 sign digit, 0 is positive, 1 negative
> >
> > d5-d10 measurement value, BCD, MSD to LSD,
> >
> > d11 decimal point position in the 6-digit
> > measurement value, counting right to left
> >
> > d12 units, 0=mm, 1=inches
> >
> > IIRC CLK freq is 1562 Hz, or thereabouts.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Comments
jperry@1... writes:
>
> I have had a lot of luck using a CD4031(or similar) shift register to
> get data from fast self clocking CLOCK/DATA hardware. Just connect the
> clock of your device to the CD4031 and the data of your device to Data
> in 1, then connect a pin from your BS to the 4031 clock and another ping
> from your BS to Q on the 4031. Pull REQ low on your device, pause for
> 100 ms or so then use a ShiftIn to grab the data from the 4031.
>
> Josh
Thank you!!!!!!!!!
Do you mind if I contact you "off post" when I have questions?
[noparse][[/noparse]Non-text portions of this message have been removed]
thought I'd post it in a form that'd be easy to find
in the archive.
I've interfaced so-called "Digimatic" devices to an
assortment of computers, including a TI programable
calculator - For Stamp apps the main issue is speed.
A 4 mHz BS1 probably is'nt fast enough - A BS2 is,
but I have'nt tried it - Think I will, just to see.
regards, Jack
> > Mitutoyo caliper protocol is 3-wire, CLK, DATA, REQ.
> >
> > CLK and DATA are open-collector outputs. 10K pull-ups
> > work fine.
> >
> > Pulling REQ low produces 52 clocks, DATA valid on
> > CLK low, each group of 4 bits represents a hex #,
> > lsb to msb:
> >
> > d0-d3 0Fh
> >
> > d4 sign digit, 0 is positive, 1 negative
> >
> > d5-d10 measurement value, BCD, MSD to LSD,
> >
> > d11 decimal point position in the 6-digit
> > measurement value, counting right to left
> >
> > d12 units, 0=mm, 1=inches
> >
> > IIRC CLK freq is 1562 Hz, or thereabouts.
Josh
Original Message
From: smartdim@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=febn-z4amih6XtwrxjPscZZr0zzmTN72I6zrqtbjL6xFvy9Ccfo1vx8Jg7E8JIIc0ucpIgME]smartdim@a...[/url
Sent: Friday, March 21, 2003 10:57 AM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] Mitutoyo caliper protocol
In a message dated 3/21/2003 9:22:49 AM Pacific Standard Time,
jperry@1... writes:
>
> I have had a lot of luck using a CD4031(or similar) shift register to
> get data from fast self clocking CLOCK/DATA hardware. Just connect
the
> clock of your device to the CD4031 and the data of your device to Data
> in 1, then connect a pin from your BS to the 4031 clock and another
ping
> from your BS to Q on the 4031. Pull REQ low on your device, pause for
> 100 ms or so then use a ShiftIn to grab the data from the 4031.
>
> Josh
Thank you!!!!!!!!!
Do you mind if I contact you "off post" when I have questions?
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Jack
Joshua Perry wrote:
>
> I have had a lot of luck using a CD4031(or similar) shift register to
> get data from fast self clocking CLOCK/DATA hardware. Just connect the
> clock of your device to the CD4031 and the data of your device to Data
> in 1, then connect a pin from your BS to the 4031 clock and another ping
> from your BS to Q on the 4031. Pull REQ low on your device, pause for
> 100 ms or so then use a ShiftIn to grab the data from the 4031.
Jack
http://www.pcmx.net/gauge/