Breakout board produces no 5v signals



  • I'm trying to drive an External stepper driver using the breakout board on a new Duet Ethernet. I assuming the signals from the board will be boost up from 3.3 to 5v but I'm afraid I misunderstood. When I measure with a multimeter there's 3.3v DC on the dir+ and dir- and en+ and en- when idle. When I try to move the y-axes there appears hardly no voltage on the pul+ and pul- signal. I want to drive a Nema 23 but for testing purposes I hooked up an Nema17. No movement at all. My external driver is a TB6600 see picture below and hier a piece of my config:
    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    ;M569 P1 S1 ; Drive 1 goes forwards
    M569 P1 R1 T3
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M584 X0 Y5 Z2 E3 ; Apply custom drive mapping

    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z4000 E420 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
    M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
    M906 X800 Y5000 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S60 ; Set idle timeout

    What can I do to boost up the signal to 5v if that's the problem.

    I'm stuck on this way to long so any help would be great.

    Kind regards,
    Leon.
    0_1539179722232_external stepperdriver.jpg


  • administrators

    @leonknook do you have a link to the datasheet for that external driver. most allow you to switch the -ve line of the pair and connect the +'ve line to 5V+ on the expansion board.


  • administrators

    @leonknook said in Breakout board produces no 5v signals:

    M569 P1 R1 T3

    Did you mean to use P5 instead of P1 in that command? I think that is the real problem. Most external drivers work with the voltage levels provided by the expansion breakout board, but few if any work with the fast step pulse timing that the Duet uses by default.



  • @dc42 said in Breakout board produces no 5v signals:

    M569 P1 R1 T3

    Thanks for the help but it did not work.

    I have tried all these settings also on P1.
    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    ;M569 P1 S1 ;does not work
    ;M569 P5 S0 ;does not work
    ;M569 P5 R1 ;does not work
    ;M569 P5 R1 T1 ;does not work
    M569 P5 R1 T2 ;does not work

    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards

    M584 X0 Y5 Z2 E3 ; Apply custom drive mapping

    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z4000 E420 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
    M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
    M906 X800 Y5000 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S60 ; Set idle timeout

    De second LED on de stepperdriver flashes like it is pulsing, but there is no movement in de stepper motor at all.
    Set the current on the stepper driver from 1 to 5 amp but no effect. Current in de config is set to 5000.

    Please help me out I don't want to struggle another day 😉

    regards,
    Leon.



  • @t3p3tony

    Here the specs if this is what you need for the TB6600.

    The stepperdriver is connected to a 48v dc powersupply.

    Specification
    Input Current: 0~5A
    Output Current: 0.5~4.0A
    Control Signal 3.3~24V
    Power (MAX): 160W
    Micro Step:1, 2/A, 2/B, 4, 8, 16, 32
    Temperature: -10~45℃
    Humidity:No Condensation
    Weight: 0.2 kg
    Dimension: 96 * 71 * 37 mm

    Or a link to this wiki here

    Please explain how I can switch to 5v, Is there somebody out there who have done this.

    Thanks for the help.
    regards,
    Leon.



  • according to that spec, 3.3v should work fine.

    Did you see @dc42's post?



  • @adavidm
    Yes I have changed P1 to P5 and nothing.
    I thought the drive mapping should do the job but I understand you have to assign the drive (on the break out board) in the M569 also.


  • administrators

    @leonknook said in Breakout board produces no 5v signals:

    M569 P5 R1 T2 ;does not work

    The breakout board handles the inversion of the enable signal, so you need R0 in that command, not R1. If it still doesn't work, try T4 instead of T2.



  • @dc42 said in Breakout board produces no 5v signals:

    M569 P5 R1 T2

    No, sorry no results. Second led is pulsing but it seems there is no current at all to drive the motor.
    Extra info: the stepper driver has a 48v dc connection
    The attached motor is a standard nema 17 to see if it works (must be later on a nema23)

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    ;M569 P1 S1 ;does not work
    ;M569 P5 S0 ;does not work
    ;M569 P5 R1 ;does not work
    ;M569 P5 R1 T1 ;does not work
    ;M569 P5 R1 T2 ;does not work
    ;M569 P5 R1 T5 ;does not work
    ;M569 P5 R0 T2 ;does not work
    M569 P5 R0 T4 ; does not work

    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards

    M584 X0 Y5 Z2 E3 ; Apply custom drive mapping
    M564 S0 H0


  • administrators

    Which is the "second LED" you refer to?

    After you send the command to move Y, do you get +3.3V or greater on ENA+ relative to ENA- ? It should be the other way round after you reset the Duet and before you send the first command to move Y.



  • @dc42

    After a reset off everything I measure this -3.53v
    After pushing the y move button the voltage change to plus +3.53v

    The led down under is bright all the time
    The led above is pulsing when pushing the move button.

    Same measurement on the breakout board self without stepper driver connected.

    0_1539245494118_en measure.jpg



  • My problem is still not solved. If there are no options left over please let me know.
    I will trow this well developed board out of the window and never look at it again.


  • administrators

    The LEDs suggest that your driver module is receiving the signals from the Duet. Are you certain that you have connected the stepper motor correctly, and set an appropriate microstepping and motor current on the switches? Does the motor spindle lock when the ENA voltage changes from negative to positive?

    You can increase the drive voltage to 5V by connecting +ENA, +PUL and +DIR to +5V (which is available on the servo connector of the breakout board) instead of to the individual + outputs; but I really don't think that drive voltage is the problem.



  • @dc42
    The TB6600 stepper driver seems to be not a suitable driver for the duet.
    This week arrived the DM556 drivers and they work without any problems.

    Thanks for all the help!

    Kind regards,
    Leon.



  • To complete this thread for others. I had to use the 5v connection from the breakout board to make the DM556 to work properly. For some reason the 3.3v voltage from the +signals ENA PUL and DIR does not do the job for this driver.


  • administrators

    Thanks for the info. We will feed this input into planned design changes, and consider getting a TB6600-based driver to test.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.