587,492 active members*
3,591 visitors online*
Register for free
Login

Thread: Pic Step V4

Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2005
    Posts
    107

    Pic Step V4

    Hi
    I really want to make this step driver.
    I had to repeat the all thing, but I copied everything.

    I spent $150 to buy 6 (LMD18245 ST9) and made 4 pcb board in some PCB factory.

    But surprise. It doesn't work, OK.
    What did I do wrong?

    The problem is that, it only runs in one way (positive), but in the negative way, it doesn't move, It seems like it turns off itself.
    And when I tried to go fast (jostik option) it starts to lose steps.
    I'm using Mach3, and in the motor options, acceleration and velocity are very low: 5% and 10%.

    I think maybe It can be the Pic programming, because when I want to record the HEX file, I had to chose some options, and the program (IC-Prog) I'm using, it doesn't have the same option's names for:
    __CONFIG _CP_OFF & _WDT_ON & _HS_OSC & _PWRTE_ON & _LVP_OFF & _BOREN_ON & _MCLRE_OF.

    I'm using:
    VEXTA step motor PV267-02AA DC 4.8V 2 A.
    Crystal Abracon 20MHz
    47K resistors to each coil.
    PIC 16F628A-I/P

    The step motor works great with my gueko drive 212.

    Please some help:
    Attached Thumbnails Attached Thumbnails pcb.jpg   schematic.jpg  

  2. #2
    Join Date
    Jul 2005
    Posts
    107
    Please some ideas,

  3. #3
    Join Date
    Jun 2003
    Posts
    3312
    The schematic image isn't readable to comment on. Post the eagle files and maybe we can help.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  4. #4
    Join Date
    Jan 2005
    Posts
    1695
    If it only moves in one direction, the DIR input might be unconnected. Another possibility is that your parallel port is not putting enough voltage for your driver.

  5. #5
    Join Date
    Jul 2005
    Posts
    107
    Can you tell me what program did you use to program the PIC.

    The schematic and PCB were made on PROTEL 2004.

    Maybe I can export to Orcad or DXF.
    Attached Files Attached Files

  6. #6
    Join Date
    Mar 2005
    Posts
    8
    Hi, Chivo.
    Change 47K resistors to 10K on CS Out.

    By Alan:
    Use this equation to work out the resistors you need for your motor's current
    limits :-

    <resistor in ohms> = 20000 / <current in amps>

    Some example values are:-

    Resistor Current
    200K 0.1A
    40K 0.5A
    20K 1A
    10K 2A
    8K 2.5A
    6.6K 3A

  7. #7
    Join Date
    Jul 2005
    Posts
    107
    I had done 2 step drivers, and I think, it can't be bad cannection, because both behave the same.

Posting Permissions

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