Homebrew encoder?


Results 1 to 9 of 9

Thread: Homebrew encoder?

  1. #1
    Registered anoel's Avatar
    Join Date
    Apr 2003
    Posts
    470
    Downloads
    0
    Uploads
    0

    Default Homebrew encoder?

    I've been thinking about servos encoders. Has anyone built an encoder using the guts from a mouse? If so did you reuse the wheel? I was thinking of laser printing new wheels on transparancy.

    What's the target number of increments on the wheel. 100 units should be no problem on a 1" dia wheel. is that enough resolution? Assume that the motors would be direct driving the leadscrew.

    Similar Threads:


  2. #2
    Registered balsaman's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    2139
    Downloads
    0
    Uploads
    0

    Default

    I think you need two channels from each encoder so the drive knows about motor direction. One pulse leads or lags the other.

    Eric

    I wish it wouldn't crash.


  3. #3
    Registered ToyMaker's Avatar
    Join Date
    May 2003
    Location
    United States
    Posts
    325
    Downloads
    0
    Uploads
    0

    Default

    Anoel,
    Yes, I've used a mouse to build a wheel encoder. Hacked mouse encoders are pretty common in hobby robotics. Reusing the mouse wheel is good if you have an easy way to mount it - chopping up the mouse board and coupling to the motor can be a problem.
    Laser-print-on-transparency is often the best course.
    Eric is correct, you do need two bits if you want direction input. If you are confident that your motor is turning the right direction you can get away with just one bit.
    One hundred pulses per revolution should be adequate. With 20 tpi screws that's 0.0005 inch resolution (I think). Remember, a 100 count per revolution disk only needs 50 black wedges because you get a pulse off each edge.

    robotic regards,

    Tom



  4. #4
    Registered anoel's Avatar
    Join Date
    Apr 2003
    Posts
    470
    Downloads
    0
    Uploads
    0

    Default

    OK, the single wheel on a mouse is able to discern the direction that the wheel is rotating. So I don't see where that would be a problem. I'm assuming that I'd feed +5v to the circuit and use 2 of the other 4 wires off the PS/2 connector for the encoder signal back to the controller, Right? (Which ones depends on the encoder used)

    100 "Black wedges fit nicely in a 1 " dia wheel. so that'd actually be 200 Pulses per rev. so we're back to a very nice resolution.

    I'm going to have to dig into this a little further.... I'm keeping my options open incase I run across a killer deal on servos(DC motors) that I can make use of without spending a ton and make them useable if they don't have encoders already.

    (Are ready made encoders expensive? I've never seen a thread regarding them. Only about servos)

    Nathan


  5. #5
    Registered balsaman's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    2139
    Downloads
    0
    Uploads
    0

    Default

    I have seen encoders for as little as $39.00 USD

    www.usdigital.com

    Eric

    I wish it wouldn't crash.


  6. #6
    Registered ToyMaker's Avatar
    Join Date
    May 2003
    Location
    United States
    Posts
    325
    Downloads
    0
    Uploads
    0

    Default

    Supplying +5 to the mouse is good, but looking for the two lines to read is going to be a lost cause. The chip in the mouse encodes the signals from the wheels and switches into a serial data stream.
    You can find the data format on the web. Google "ps2 mouse data" or similar.
    Eric's suggestion of a $40 solution is good.

    robotic regards,

    Tom



  7. #7
    Registered HomeCNC's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    779
    Downloads
    0
    Uploads
    0

    Default

    The E2 encoder from USdigital I use on my servos are $36 each and work great with the Gecko drives. The 250 CPR for the G320 and the 500 CPR for the G340.

    Thanks

    Jeff Davis (HomeCNC)
    http://www.homecnc.info


    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  8. #8
    Registered balsaman's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    2139
    Downloads
    0
    Uploads
    0

    Default

    Jeff,

    if you could see this thread and shed some light on it for me:

    http://www.cnczone.com/showthread.php?threadid=802&s=

    I wish it wouldn't crash.


  9. #9
    Registered bunalmis's Avatar
    Join Date
    Jul 2003
    Location
    Turkey
    Posts
    246
    Downloads
    0
    Uploads
    0

    Default

    Hello,

    I am doing own line encoder (254 dpi).

    Laser printer resolution may be low.
    I use linotronic 630 and autocad.

    I use linotronics DPI parameters for the calculation of encoderline width. You can not use simple drawing programs.(paint brush,corel draw...)

    (if you use this programs you can see same problem at line space and width)



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Homebrew encoder?

Homebrew encoder?