Using Cheap Chinese Calipers as encoders


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    I have read the 52 bits of data out of a Mitutoyo dial indicator with a pic.The clock signal is tied to an interrupt pin and the data is read into a 52 bit array.The data can then be manipulated however necessary.The Chinese calipers while different, can probably read in a similar manner.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Thanks arniepj,
    So if I got this right, output the clock and data pins through a couple of comparators or OPAmps, to get levels up to 5 volt levels, and hook the clock pin to an interrupt on change pin then read the data into array, sounds simple enough, I have to read up on getting the data out of an array, in a way I can use and understand it.

    Thanks
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    I used a 16F877 with the data tied directly to portb.1 and the clock tied directly to portb.0.Enabling the weak pull up resistors was all that was needed.I believe the signal voltage levels were on par with the caliper levels.Looking at the link waveforms,I would start by capturing the pause in between the clock pulse groups as an indicator to start clocking the data.

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Thank You.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Quick thoughts: DT Ints with encoders
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 7th January 2010, 02:01
  2. quad encoders
    By cpayne in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th March 2007, 18:49
  3. Chinese Calipers
    By anj in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th November 2006, 09:13

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts