586,923 active members*
2,755 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > PIC Programing / Design > 3 axis stepper motor driver using a single PIC
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2007
    Posts
    17

    3 axis stepper motor driver using a single PIC

    What kind of signals does Mach3 output to the stepper driver? What inputs should I have if I want to design a stepper driver with a PIC?

    Thanks

    David.

  2. #2
    Join Date
    Jun 2003
    Posts
    3312
    the most common method is step/direction controllers. mach3, cncpro,turbocnc, kcam etc.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  3. #3
    Join Date
    Feb 2007
    Posts
    532
    Quote Originally Posted by david90 View Post
    What kind of signals does Mach3 output to the stepper driver? What inputs should I have if I want to design a stepper driver with a PIC?

    Thanks

    David.
    I did this with a PIC16F870 for my first CNC last year: (Simple half-step unipolar design)

    http://www.trash.co.nz/3step

    (That website may vanish, it was a work in progress last year, and I'm about to shift it to another site and finish it)

    The thread on the machine, which mentions the controller a bit is here:

    http://www.cnczone.com/forums/showthread.php?t=33153

    You'll find that you have problems with simultaneous pulses if you go down this path, I used caps on the inputs to stretch the input pulses then clear the cap ("Latch") with another pin after servicing the input.

    Cheers, Chris H.

  4. #4
    Join Date
    Feb 2007
    Posts
    532
    Just replying to myself for the benefit of anyone who reads this thread in the future, I've shifted the 3step design info to http://ohmark.co.nz/3step.html

    I'll finish writing up the 'building' page with some more info on the powersupply / power resistors tonight.

  5. #5
    Join Date
    Jun 2005
    Posts
    87

    Help rs232

    Ok I looked at your site and noticed you were using RS232 with a max 232 I think none the less, I need a link to the standards used like with KCam, ect, not the rs232 protocol but the data that we will insert in , example xstep how do we send that ystep ydir xdir how do we send this is there a standard, or do we just send it in with the serial send command, once I have communication with the PIC I need help after that point, please do not refer me to serial protocols that is not what I am looking for, just the nuts and bolts of the control board, I need to know how it sees the xstep, and I will be running from there. please help me, as I have asked many and they all keep sending me back to the serial protocol that is not what I want.

  6. #6
    Join Date
    Feb 2007
    Posts
    532
    Quote Originally Posted by frog View Post
    Ok I looked at your site and noticed you were using RS232 with a max 232 I think none the less, I need a link to the standards used like with KCam, ect, not the rs232 protocol but the data
    Hi-ho,

    Sorry, I think you've been looking at the stuff on the site about the process controller project I'm working on which is serial based.

    The 3Step stepper controller uses a standard parallel port interface. Take a look at the PDF circuit diagram at http://ohmark.co.nz/3stepfiles.html.

    I might change the layout of the site menu a bit so it's more obvious which pages go with which project, as I'm intending to put quite a bit of stuff on there this year...

    Cheers, Chris H.

Similar Threads

  1. Beltdrive-stepper motor-stepper motor driver
    By Georg in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 10-16-2007, 10:56 PM
  2. Stepper Motor Driver
    By droddis in forum DIY CNC Router Table Machines
    Replies: 5
    Last Post: 07-31-2007, 01:03 AM
  3. single axis driver and a b.o.b.,or multi-axis driver board
    By .xXACEXx. in forum Stepper Motors / Drives
    Replies: 3
    Last Post: 07-03-2007, 05:13 AM
  4. Dual and single shaft stepper motor differences?
    By Menatep in forum Stepper Motors / Drives
    Replies: 5
    Last Post: 04-09-2007, 04:22 PM
  5. servos motor controled by stepper motor driver?
    By mike10 in forum Servo Motors / Drives
    Replies: 1
    Last Post: 01-04-2005, 12:05 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
  •