This is an electronic digital caliper to computer (RS-232) interface. This will work with the inexpensive calipers, micrometers and height gauges that are typically made in China. The connector on the measuring instrument will have 4 pins, and the owner's manual will typically describe the output as 24 bit 90 kHz synchronous. This does not work the name brand instruments - Fowler, Mitutoyo, Brown & Sharpe, etc.. The code contains examples of: * 9600 bps asynchronous receiver/transmitter * 90 kHz synchronous receiver * host command processing * tables for data and text * sending text to host * 24 x N bit fractional multiplication * 24 bit addition * binary to BCD conversion * BCD to ASCII conversion * ASCII transmission with leading zero suppression and fixed decimal place * operational mode set by jumpers or override by host * Use of watchdog timer The circuit contains examples of: * +5V/-1.5V power from serial port * 1.5V to 5V logic level conversion * minimal PIC to RS-232 interface PCB Files gauge.plc Top side component print gauge_10mil.plc Top side component print - 10 mil min width gauge.cmp Top side solder mask gauge.stc Top side solder copper gauge.sol Bottom side copper gauge.sts Bottom side solder mask gauge.drd Drill gauge.drl Drill rack gauge.brd PC Board - Eagle 3.55 Schematic files gauge.sch Schematic - Eagle 3.55 gauge.pdf Schematic - Acrobat 3 timing.sch Caliper serial data timing diagram - Eagle 3.55 timing.pdf Caliper serial data timing diagram - Acrobat 3 Source code gauge.asm Microcontroller source code gaube.pjt Project file - MPLAB -- Kevin Timmerman calpintf@pcmx.net