Ender 5 Pro Upgraded with Duet 2 Maestro - Help



  • Hi all,

    I'm the new guy around here! 😁

    I bought a Duet 2 Maestro to update my new Ender 5 Pro, so I could control it remotely. I had the new Creality 1.1.5 board. When I went to update Marlin, the board didn't have the memory for all the options I wanted.

    Before the upgrade, I must say...my printer was pretty dialed in. Nice clean prints, was just about to attempt my first "BIG and LONG" print but decided to wait for the upgrade.

    I was naively hoping for just a plug and play. Followed all the guides I could find and even downloaded a few Config's from people who had them online for their Ender 5...to no avail...

    The problem I am having is that when I home, I am getting some weird noises from the motors and the bed is moving way too slow. Being new to Reprap, I tried looking through all the guides, but they all seem to refer to different types of printers that don't quite fit my stock build.

    Can anyone help me out with a config file that can get me started, I would sincerely appreciate it! 😁



  • @Damien Please post your config.g and your Gcode start scripts from your slicer, so we can help you better.

    KR
    Paul



  • Hi @PaulHew Thank you for ther help!

    Config.g file


    ; Configuration file for Duet Maestro (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 20 2020 22:11:40 GMT-0500 (EST)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender 5" ; set printer name
    M918 P1 E4 F2000000 ; configure direct-connect display

    ; Network
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E93.00 ; set steps per mm
    M566 X600.00 Y600.00 Z60.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X500.00 Y500.00 Z5.00 E25.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
    M906 X850 Y800 Z700 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X220 Y220 Z300 S0 ; set axis maxima

    ; Endstops
    M574 X1 Y1 S1 ; set active high endstops
    M574 Z1 S2 ; set endstops controlled by probe

    ; Z-Probe
    M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P0 X-44 Y-16 Z0 ; set Z probe trigger value, offset and trigger height
    M557 X15:6 Y15:195 S20 ; define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 R2200 ; set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R2200 ; set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S1 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S0.3 I0 F500 H-1 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 F0 ; define tool 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

    ; Custom settings are not defined


  • Moderator

    We're gonna need to see all the homing files.

    In general, here's what you need to do to define your coordinate system. The FT5 is a little tricky because by default it puts the origin at the rear right, and has some printed grid on the bed surface (I think?) but really it's all arbitrary.

    First, choose a FRONT for the printer so that when you're looking at it standing in front of it 0,0 is the front left corner, X+ goes to the right, Y+ goes to the back. This does not change because it's describing the physical layout of the printer.

    Next, Measure the axis length for X and Y and enter that in your M208 command to set the axis limits. 0 at the low end (or even negative if the head leaves the bed surface to hit the endstop). This does not change because it's describing the physical layout of the printer.

    Now identify where your endstops are located. They can be at the low or high end of the axis. Define them with M574. M574 X1 Y1 for low side, M574 X2 Y2 for high side, or any combo thereof. This does not change because it's describing the physical layout of the printer.

    Now setup your homing movements. If the endstop is at the low end of the axis, the homing move must be negative. And vice versa. This does not change because it's describing the physical layout of the printer.

    Now test the motor movement direction. If X+ moves to the right, you're good to go. If it moves left, you need to change the motor rotation for the X driver by changing the M569 S0/S1 command in config.g. Same goes for Y+ moving to the back. If you've connected the motors to their default drivers, it should be mapped like this:

    M569 P0 S0 ; Drive 0 (x) goes backwards
    M569 P1 S0 ; Drive 1 (y) goes backwards
    M569 P2 S0 ; Drive 2 (z) goes backwards
    M569 P3 S0 ; Drive 3 (e) goes backwards
    If you follow those steps your printed parts will match the orientation in the slicer and won't be mirrored.

    You can also find an example config here that may help you out, but be careful using other peoples config files. It's far better to try and figure out the configuration yourself to ensure it matches your machine.

    https://forum.duet3d.com/topic/10842/config-file-for-ft5-r2?_=1584811072015


  • Moderator

    Also take a look at this guide series which should help you get up to speed. It's for a maestro and ender 3, but is still applicable to the ender 5 in most ways.

    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+1:+Wiring/37



  • Sorry for the delay in getting back.

    I have tried EVERYTHING I can think of to get this printer configured for my Ender 5 Pro and my Duet 2 Maestro.....

    If I could get someone who understands all of this help set me up, just to get printing (i.e. all Motors settings, max speeds, accel., etc) I would really appreciate it! I've tried other json's that other people have posted on other places on this site. All of them are ender 5's. I know that they are almost exactly the same, but there seems to be some differences, since theirs doesn't seem to work with my stock setup.

    It'd be a great service for Duet to offer their patrons the stock settings for all the major printers, just to get people up and running. Then any custom(non-stock) parts can be configured from a good "base config."

    I figured out how to make home the center of the bed, with consideration to z-probe offset. Got my mesh grid sorted too. Now I am trying to figure out the motor settings and keep hitting dead ends...

    If you guys could help me (and any other poor soul that try's this upgrade...)I and posterity will thank you and be much appreciative!

    homez.g homey.g homex.g homeall.g config.json config.g bed.g Hi all,

    [0_1585260683428_download (1).zip](Uploading 100%)



  • @Damien said in Ender 5 Pro Upgraded with Duet 2 Maestro - Help:

    I've tried other json's that other people have posted on other places on this site. All of them are ender 5's.

    It'd be a great service for Duet to offer their patrons the stock settings for all the major printers,

    Do you see the disconnect above? That's why they don't/can't.



  • @Damien said in Ender 5 Pro Upgraded with Duet 2 Maestro - Help:

    Now I am trying to figure out the motor settings and keep hitting dead ends...

    We'd love to help. Tell us more about what you have, and what is happening?



  • Not sure I understand what mean about the disconnect?

    I’ll explain my situation.

    I have figured out all the issues with the bed. My origin is center and I have the BLTouch correctly calibrated so it home to center. I have my mesh grid coordinates sorted.

    My only confusing part is the settings for my motors. When I had my creality board hooked up, the motors were pretty much silent and I was getting good prints, to be honest.

    I wanted to be able to stop prints when I am not around, remotely. Which is why I decided to upgrade to the Maestro.

    Since the first time I hooked up the motors and did a homing, no matter what settings I put in, I seem to have the loud sound that comes from the motors. I have tried everything from putting the settings to 16 steps, copying the settings that I found on the config from the marlin; to raising the steps to 256(I read somewhere that that would help make the motors more quiet) making sure to adjust the steps, to no avail.

    I’ve tried different mA settings I have found all over the net for the motors. Still no joy...😖 The motors are either loud, move too slow or too fast. Tbh, I expected the printer to be much quieter with this board.

    If I could just find the right settings for the motors for my ender 5 pro, i’m sure I can figure the rest out. I just cant find anything thats specific to my printer.

    Thank you for your help!



  • @Damien
    Please can you re-post your config.g as it sounds like it may have changed considerably.
    Also the results from a M115 and while you are at it a M122

    Is the PSU on your printer 12v or 24v as that will make a difference on the motor noise.

    Like you, my Ender3 was good before I went to the Maestro board. It took a little time but my prints are much better and the printer is silent.

    The guide @Phaedrux posted the link to is a godsend. It was not around when I converted but I still refer to it.

    Hope to hear from you soon!

    Regards,
    Paul.



  • @PaulHew

    Here is my most reason version of the config.g file.

    config.g

    The following is what pops up in the console when I M115, after M122'ing:

    m115
    FIRMWARE_NAME: RepRapFirmware for Duet 2 Maestro FIRMWARE_VERSION: 2.05.1 ELECTRONICS: Duet Maestro 1.0 FIRMWARE_DATE: 2020-02-09b1

    The PSU is 24V.

    I am pretty confident I have everything wired correctly.

    I'm not sure of what to make of the FT5 link. How does that apply to my printer?

    Thanks again for your help!



  • @Damien

    This line

    M203 X30000.00 Y30000.00
    

    I suggest you lower this value, Just incase something breaks. My Ender 3 is 9000.
    Max I run on my CoreXY 24000 and that has linear Rails.

    Out of interest, did you change the connectors for the stepper motors so you could plug them into the board or did you jam them on? (I did originally as I did not have the tool!)
    I noticed Phaedrux sent you the link for wiring, maybe he thinks there is an issue there.

    The reason I asked for your voltage is that Stealthchop does not really work @12v, from what I read. Also I do not know if you have to enable it or it is enabled..
    My M569 commands have no extra parameters in them.
    Is the 'noise' on one particular move or all of them? So moving X Y and Z separately they all sound 'noisy'? Maybe a little video showing individual moves.

    I include my config.g from my Ender3 Pro, which has been modified. Extruder, BLT, Z axis for you to see.

    M550 P"Ender 3 Pro"                                ; set printer name
    M918 P1 E4 F2000000                                ; configure direct-connect display
    
    ; Network
    M552 P192.168.0.8 S1                               ; enable network and set IP address
    M553 P255.255.255.0                                ; set netmask
    M554 P192.168.0.1                                  ; set gateway
    M586 P0 S1                                         ; enable HTTP
    M586 P1 S0                                         ; disable FTP
    M586 P2 S0                                         ; disable Telnet
    
    ; Drives
    M569 P0 S0                                         ; physical drive 0 goes backwards
    M569 P1 S0                                         ; physical drive 1 goes backwards
    M569 P2 S1                                         ; physical drive 2 goes forwards
    M569 P3 S1                                         ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3                                   ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z1600.00
    M92 E862                 ; set steps per mm
    ; TechOut PET-G Red, green E817
    ; White PLA E800 ;Chroma E800 ;TechOut PLA E825
    
    M566 X1200.00 Y1200.00 Z12.00 E1500.00             ; set maximum instantaneous speed changes (mm/min)
    M203 X9000.00 Y9000.00 Z300.00 E300000.00          ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00               ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E1200 I50                      ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                            ; Set idle timeout
    
    ; Axis Limits
    ;M208 X0:235 Y0:235 Z0:235 S0                       ; set axis minima:maxima
    M208 X0:235 Y-20:225 Z0:235 S0                       ; set axis minima:maxima
    
    ; Endstops
    M574 X1 S1 P"xstop"                                ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop"                                ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
    
    
    ; Z-Probe
    M558 P9 C"zprobe.in" H5 F120 T60000 A10 R0.75 S0.02                 ; set Z probe type to bltouch and the dive height + speeds
    M950 S0 C"^zprobe.mod"                             ; create servo pin 0 for BLTouch
    G31 P500 X42 Y-1 Z1.420
    ;Z1.158                            ; set Z probe trigger value, offset and trigger height
    ;M557 X15:215 Y15:195 S20                           ; define mesh grid
    M557 X42:220 Y20:220 S20
    
    
    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" A"Bed Temp" T100000 B4092     ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0                              ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S100                                       ; set temperature limit for heater 0 to 150C
    M307 H0 A170.5 C635.1 D0.5 V24.1 B0                ; disable bang-bang mode for the nozzle heater and set PWM limit
    ;
    M308 S1 P"e0temp" Y"thermistor" A"E3D-DD" T100000 B4725 C7.060000e-8     ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1                               ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S275                                       ; set temperature limit for heater 1 to 275C
    M307 H1 A403.4 C216.0 D4.6 V24.2 B0                ; disable bang-bang mode for the nozzle heater and set PWM limit
    
    ; Fans
    M950 F0 C"fan0" Q500                               ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1                                     ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T40                                  ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500                               ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H1:0 T45                                ; set fan 2 value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 S"E3D-DD" D0 H1 F0                         ; define tool 0
    G10 P0 X0 Y0 Z0                                    ; set tool 0 axis offsets
    G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
    
    ; Custom settings are not defined
    
    ; Miscellaneous
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    T0                                                 ; select first tool
    
    

    P.



  • @PaulHew

    I've just changed them to 9000 as recommended. Those were auto inputted by the online reprap configuration tool.

    The guide I used to do the wiring (start at 15:58) initially. Having reviewed the link, I'm confident that i've hooked everything up correctly:

    https://youtu.be/PpLEjwLZwBw

    I just cut the "tangs" off and plugged them in.

    Like the guide says, I would prefer to set my micro-stepping to 128 for greater resolution. Did you try this? For now, I just copied your settings. Going to input and try a test print to see how things work out.

    I'm all little worried about the motor current mA you have set on your extruder, but i'll try it. I know that the ender 3/3 Pro/5/5 Pro have their similarities, but I wonder if they are using the same stepper motors on the same axis?

    How do you check if Stealthchop is enabled?

    I'll upload a video of my printer after I've made the changes if there are any issues still.


  • Moderator

    @Damien said in Ender 5 Pro Upgraded with Duet 2 Maestro - Help:

    I am getting some weird noises from the motors and the bed is moving way too slow.

    It would help to hear the noises.

    When is the bed moving way too slow?

    Your config looks ok. homeall looks ok.

    What exactly are the issues?

    My post about the FT5 was a copy and paste from a different thread, but they are very similar machines. The bulk of that post is talking about getting your coordinate system defined properly, which is usually the largest issue people have when getting a new printer setup.

    Stealthchop can be configured with the D parameter of M569. Stealthchop is quiet, but it also has a limit to how fast you can go before you risk losing steps. That's why it's important to configure the point where it will switch over to spreadcycle. Even Prusa has quiet mode which uses stealthchop but it also limits things like top speed and acceleration.

    https://duet3d.dozuki.com/Wiki/Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing

    M569 also has a few other parameters that you can experiment with to try and tune the drivers for the motors. Unfortunately it's not a very intuitive process and there is no one set of settings that someone can give you that will just work.

    Creality seems to use the same range of motors for all it's printers. Economies of scale and all that. Unfortunately, they tend to be a bit louder with the Duet controller I think. They were obviously chosen and tuned for the creality board and drivers. Same way that Prusa has chosen their motors and tuned for them with their printers. Part of the disadvantage of the build your own approach is less integration.


Log in to reply