585,670 active members*
4,397 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > Cheap MPG for CNC using optical mouse center encoder
Page 2 of 3 123
Results 21 to 40 of 48
  1. #21
    Join Date
    Aug 2007
    Posts
    45
    Quote Originally Posted by abasir View Post
    I still want to make another pendant using PIC microcontroller with just switches and potentiometer... no encoder required... I believe it will allow better positioning control than regular encoder based pendant... still thinking what features to include...
    Will update later when it's more crystallized...

    Cheers,
    Just for thought..

    Can we eliminate the use of keyboard and mouse in Mach 3 and just control all by pendant??

    I assume it may not be possible as we need to load the files.

    As for the buttons, I suggest to add to the existing design:

    1. E-Stop
    2. Cycle Start
    3. Feed stop
    4. Home
    http://9w2dtr.blogspot.com/

  2. #22
    Quote Originally Posted by dex918 View Post
    Just for thought..

    Can we eliminate the use of keyboard and mouse in Mach 3 and just control all by pendant??

    it can t be eliminated 100% but you can do a keyboard hack and use momentary buttons for the hotkey functions , inside the keyboard is a small board that all the swithes can be connected to ,simple stuff , just takes patience and time , i built a complete control panel this way , worked great so i have scrapped that panel and am currently working on a better version



    this is an old thread which i may update , ive got a far better board setup from the one posted
    http://www.cnczone.com/forums/showth...cking+keyboard
    A poet knows no boundary yet he is bound to the boundaries of ones own mind !! ........

  3. #23
    Join Date
    Apr 2003
    Posts
    361
    Mr Chip,
    Checkout my new pendant in progress on this thread...
    Decided to do away with the potentiometer plans... not required after testing the design without it... Still thinking on suitable enclosure... ready made enclosure are too thick... most likely will mill mine as before

    Quote Originally Posted by Mr.Chips View Post
    Keep us in the loop when that latest idea crystallizes. Looking forward to it.
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  4. #24
    Join Date
    Mar 2005
    Posts
    303
    how are you setup for your pentdan in mach3?

  5. #25
    Join Date
    Sep 2004
    Posts
    10
    Good idea. Very interesting.

  6. #26
    Join Date
    May 2006
    Posts
    2420
    I just remembered about another source of encoders, the rotary encoder on a dead inkjet printer is quite a large count depending on the model, they are usually fairly large (2 inch and bigger) and are already mounted on a shaft (the paper feed roller).

    I have a few lying around at home from different projects, will try one out one day. Also dead inkjets are practically free these days.

    Russell.

  7. #27
    Join Date
    Apr 2005
    Posts
    124
    So I've got an optical interrupter from something. It looks to be 5v. So I can use this as simple as it sounds in this post? I will be using it as spindle speed, different use same concept.

  8. #28
    Join Date
    Apr 2003
    Posts
    361
    If you get clean 5V signal then all is okay for your to start experimenting... you may need to provide 5V pull-up resistors for some parallel port...

    Quote Originally Posted by antichip View Post
    So I've got an optical interrupter from something. It looks to be 5v. So I can use this as simple as it sounds in this post? I will be using it as spindle speed, different use same concept.
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  9. #29
    Join Date
    Apr 2005
    Posts
    124
    Awesome. I will test it out maybee in a few day or so. I got the interrupt mounted so I hope it will work. Thanks for the input.

  10. #30
    Join Date
    Apr 2007
    Posts
    323
    dang !! so much electronics stuff (spoken from a guy who is clueless about electronics)


    i will put the idea out there..it may have been already covered someplace else.i have no idea how to make any of it work just wanted to see if yall thought it would be possable to use an old ball mouse with a wheel and use the rollers inside the mouse to use as encoders for a servo type drive motor ,or the hand wheel (mpg)...you all seem to already have the ideas...just wanted to contribute some ideas would be sweet to make some servo motors using old mouse parts .

    also any body look into using a ball mouse to make a sort of digital readout ,again dont have a clue how it could be done but might be an idea,using a rack and pinion type interface (i saw something several years ago on this idea but never don anything about it as i dont have any machines)

    all of this may be totally impossable but there ya go..some more ideas to tinker with
    "witty comment"

  11. #31
    Join Date
    Aug 2007
    Posts
    422
    any updates on these ideas?? i like the inkjet idea,would like to see it attempted. i would try but my machine is still " in process"

  12. #32
    Join Date
    Apr 2003
    Posts
    361
    While it is technically possible to do it, the main problem is coupling the flimpsy plastic optical slot inside the mouse to anything else. Another issue that the optical encoder on the PCB has been position precisely for the plastic optical slot. As for me... been there, done that... not worth the trouble :-)
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  13. #33
    Epson printers (probably other makes, too) use an optical encoder strip for head positioning. It looks like a greyish plastic strip, the stripes on it are very fine. Look just above and behind the print head.

  14. #34
    Join Date
    May 2006
    Posts
    2420
    Quote Originally Posted by AlienSteve View Post
    Epson printers (probably other makes, too) use an optical encoder strip for head positioning. It looks like a greyish plastic strip, the stripes on it are very fine. Look just above and behind the print head.
    Yup this would work, I have tested this one, but I left all the moving parts on the printer, hooked up a servo drive and powered up the print head enough to read the quadrature signals from the head, just so happens I have a video :

    [ame="http://au.youtube.com/watch?v=noyN6BmUSh8"]YouTube - CNC Print Head Jogging[/ame]

    Cheers.

    Russell.

  15. #35
    Join Date
    Apr 2003
    Posts
    361
    Nice test there... inkjet works in 'clean' mode... our cnc does not... dust/chip will be flying all over the place... the encoder will have to be protected from it... :-)
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  16. #36
    Join Date
    May 2006
    Posts
    2420
    Yeah, this was just a test to see how the linear encoder from a printer worked when connected to a cnc servo drive, to use this it would have to be protected from "nasties" for sure, but it proved the concept, and quite well.

    I imagined it would be jerky due to the coarse resolution when compared to the real thing but it was very smooth and stable, I didn't calibrate it to work out the exact resolution but I would imagine it would be reasonable.

    Cheers.

    Russell.

  17. #37
    Join Date
    Apr 2003
    Posts
    361
    Typical 4-colors inkjet printers have 1440/2880dpi resolution and most have their nozzles staggered. I would expect a 1440 dpi printer to have optical encoder that is 1440/4->360lpi and the 2880 dpi would be about 720lpi... still very good by my cnc standard... (3mils & 1.5mils)... :-)
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  18. #38
    Join Date
    Aug 2007
    Posts
    422
    Well it looks like the theory is good, I'd love to see it put into application.

  19. #39
    Join Date
    Jun 2003
    Posts
    3312
    Pretty awesome Russell!
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  20. #40
    Join Date
    May 2006
    Posts
    2420
    Quote Originally Posted by abasir View Post
    Typical 4-colors inkjet printers have 1440/2880dpi resolution and most have their nozzles staggered. I would expect a 1440 dpi printer to have optical encoder that is 1440/4->360lpi and the 2880 dpi would be about 720lpi... still very good by my cnc standard... (3mils & 1.5mils)... :-)
    I guess I shouldn't be lazy and actually calibrate it to find out the resolution, should be easy enough as I left the (hacked) wiring on the print head after the test, I did use the servo drive/H Bridge from that on my router but now it is spare again so I can hook it up without much fuss.

    A little trial and error and a quick calculation should have it sorted in no time.

    Quote Originally Posted by rcpilot82 View Post
    Well it looks like the theory is good, I'd love to see it put into application.
    I was planning on using three of these to make a small PCB milling/drilling table, I started a thread but as these things go I got distracted and it is on the shelf for now, literally. I need to build my shed to house all of this stuff so that is first on the list...

    It just so happens the linear encoder is a little over 300mm in length so fits perfectly for a 300mm by 300mm blank PCB. Of course the one for the Z axis would need to be shortened as one foot is a little too much travel for PCB milling/drilling

    Quote Originally Posted by pminmo View Post
    Pretty awesome Russell!
    Cheers Phil !:cheers:

    Russell.

Page 2 of 3 123

Similar Threads

  1. Cheap optical encoders
    By invertedflight in forum CNC Machine Related Electronics
    Replies: 20
    Last Post: 02-04-2008, 07:45 PM
  2. Turn an optical mouse in an XY encoder
    By NitroXide in forum Linear and Rotary Motion
    Replies: 12
    Last Post: 06-10-2007, 10:02 PM
  3. Optical encoder index - what is it good for?
    By medved in forum CNC Machine Related Electronics
    Replies: 8
    Last Post: 10-03-2005, 11:26 PM
  4. easy tacho or encoder: cny70 reflective optical sensor
    By gcamlibel in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 10-12-2004, 08:38 PM
  5. Optical Encoder Differential Line Driver
    By azsigns in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 03-04-2004, 10:41 AM

Posting Permissions

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