585,676 active members*
4,132 visitors online*
Register for free
Login
Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2003
    Posts
    361

    Another homebrew pendant...

    In the process of building my own homebrew pendant to work with Mach3 on my small Sherline mill. It uses a PIC to simulate the quadrature signal normally associated with regular MPG... Tested the code last night and it works fine... no add-on required thus it will work with any version of Mach3...

    It has 4 dedicated buttons for Axis +, Axis -, Axis Select and MPG Mode. A visual confirmation of selected axis (X, Y, Z) and mode (X1, X10, X100, continuous) via LEDs. The remaining 9 switches are wired but actual functions are configured in Mach3... Power is taken from USB port...

    Will be working on suitable casing tonight (if I can find the time)... :rainfro:
    I'll provide more photo and details at my blog
    Attached Thumbnails Attached Thumbnails DSC01382.jpg  
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  2. #2
    Join Date
    Nov 2006
    Posts
    90
    That sure is neat and tidy .
    Those extra keys ought to offer a great degree of functionality, while allowing you to get close to the work piece.
    Ahhh, don't ya just love the power and flexibility of those PIC chips.

    Crikey, I remember when I used to build everything without the help of these beauties!! Oh boy, what a lot of solder boulders!


    Great work there .

    Cheers and CNCs,
    Steve.

  3. #3
    Join Date
    Jan 2004
    Posts
    668
    What are those switches called?. I'd like to use that kind for a keypad controller I'm trying to conjure up.

  4. #4
    Join Date
    Apr 2003
    Posts
    361
    Speedre,

    I don't really know the actual name but here's the description from Digikey...
    SWITCH TACT SPST 12MM MOM N/O The TACT stands for tactile...
    I just browse in parts store here and picked from their racks...

    Photos of the almost complete casing below...
    Attached Thumbnails Attached Thumbnails DSC01407.jpg   DSC01414.jpg  
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  5. #5
    Join Date
    Apr 2003
    Posts
    361
    My current thinking on label and buttons mapping...
    Attached Thumbnails Attached Thumbnails PendantA Label.jpg  
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  6. #6
    Join Date
    Apr 2003
    Posts
    361
    Somebody ask me for a little more detail on the setup at my blog, so here I go...

    4 top right hand switches are connected to PIC, i.e., Axis +, Axis -, Axis Select, Jog Mode
    4 PIC outputs are connected to parallel port, i.e., Quadrature A/B, Axis Select, MPG Mode
    The remaining PIC outputs are connected to the LEDs...

    On Axis Select, PIC check current axis selection then pulse the axis select output for about 250ms... to make sure Mach3 registers it...

    Same on Jog Mode... only two Mach3 mode used (Velocity and MultiStep)... the right number of pulse must be sent to change to the right mode...

    On Axis+/-, PIC check current mode and send relevant number of pulses (1, 10 or 100 or continuous)... output is quadrature... similar to normal MPG...


    I'll put up the PCB file and the PIC hex file here if there is any interest...
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  7. #7
    Join Date
    May 2005
    Posts
    1810
    Nice work!

    Scott
    Consistency is a good thing....unless you're consistently an idiot.

  8. #8
    Join Date
    Apr 2003
    Posts
    361

    It's done... I'm all too happy...

    Did the label works last night... The label was printed on color laser printer and subsequently laminated on one side with laminating machine... Punched the LED holes with paper puncher... The button holes were cut using circle cutter... 3M spray adhesive complete the process... result below... :rainfro:

    p/s: Just realized the X-Axis LED label is wrongly labeled as Z-Axis... dang, I'm just gonna let it be...
    Attached Thumbnails Attached Thumbnails DSC01432.jpg  
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  9. #9
    Join Date
    Aug 2006
    Posts
    225
    Looks great. Keep up the good work. Looking orward to seeing the files uploaded. You've built something that alot of us wish to have 'one-day'.

    Daniel

  10. #10
    Join Date
    Apr 2003
    Posts
    361

    And the files are here...

    The zip file contains
    - the PCB design and components placement
    - sample label above (with the mistake corrected)
    - the hex file to burn into the PIC16F628
    Attached Files Attached Files
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  11. #11
    Join Date
    Aug 2007
    Posts
    45
    Completed mine.... but not using the PIC... since I already have the MPG...
    Photos here...
    http://9w2dtr.blogspot.com/

  12. #12
    Join Date
    Aug 2006
    Posts
    225
    Thanks very much for the files. I have already started to serach for the PICs and a programmer. Was your programmer a ready to buy or did you build one. I look forward to building the pendant. Will post photo for you when done if you like.

    Daniel

  13. #13
    Join Date
    Apr 2003
    Posts
    361
    I have two programmers... latest from this site...
    So far so good... just be careful when using it... not well protected like the original stuff...

    Quote Originally Posted by twistedfuse View Post
    Thanks very much for the files. I have already started to serach for the PICs and a programmer. Was your programmer a ready to buy or did you build one. I look forward to building the pendant. Will post photo for you when done if you like.

    Daniel
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  14. #14
    Join Date
    Mar 2005
    Posts
    303
    how to setup pentdan with mach3

    thanks you

Similar Threads

  1. My Homebrew
    By Danka in forum Community Club House
    Replies: 0
    Last Post: 12-31-2007, 06:59 PM
  2. homebrew CNC Controller
    By gbowne1 in forum PIC Programing / Design
    Replies: 8
    Last Post: 09-08-2006, 12:21 AM
  3. Homebrew welder
    By DSL PWR in forum Welding Brazing Soldering Sealing
    Replies: 13
    Last Post: 01-05-2006, 06:51 AM
  4. Homebrew CNC Lathe
    By Deviant in forum Uncategorised MetalWorking Machines
    Replies: 24
    Last Post: 03-06-2005, 04:38 PM
  5. Homebrew driver - HELP!
    By chuckknigh in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 11-11-2004, 04:20 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
  •