Welcome to Our Community

Some features disabled for guests. Register Today.

GRBL: am I using the wrong edge of the control signal?

Discussion in 'Controller Boards' started by Tibia, Dec 7, 2022.

  1. Tibia

    Tibia New
    Builder

    Joined:
    Dec 7, 2022
    Messages:
    2
    Likes Received:
    0
    Hello,
    I have a stepper driver TB6600 connected to an Arduino GRBL axe. It works, the stepper turns, in the right direction, the right amount. Even Universal Gcode Sender is happy :)

    I have a doubt: the stepper board has only "negative" input pins, ENA-,DIR-,PUL-, like in the picture below. I believe that means "Active Low".
    I assume GRBL activates Arduino pins positive, via a rising edge "Active High".
    So here is the question: am I actually using the controller inverted? I mean, is the controller is activated when the Arduino pin pulse is returning down , on its falling edge ? Things would still work but -as a minimum- the length of the pulses is very wrong ...

    I hope I managed to explain myself. Thanks in advance to anyone that can clarify this to me .

    Tiberio
    Driver_6600_temp.png
     
    #1 Tibia, Dec 7, 2022
    Last edited: Dec 7, 2022
  2. Christian James

    Christian James Journeyman
    Builder

    Joined:
    Jun 8, 2018
    Messages:
    457
    Likes Received:
    218
    Not familiar with an Arduino Axe, but those pins connect to an Arduino Uno as follows:
    Dir uses digital pins 5, 6, and 7 on the Uno
    Pul uses digital pins 2,3, and 4 on the Uno
    Ena not used
    +5v to +5v on Uno
     
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    Tibia likes this.
  4. Tibia

    Tibia New
    Builder

    Joined:
    Dec 7, 2022
    Messages:
    2
    Likes Received:
    0
    Thank you David, that's what I was looking for !
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice