Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4


  • Moderator

    @aldiallo said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:

    RepRapFirmware for Duet 3 MB6HC version 3.01-RC9 running on Duet 3 MB6HC v1.01 or later

    First step will be to update your firmware to 3.1.1

    Upload this zip file as is (don't extract it) to the /system folder via DWC.

    https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

    then we need some more info on your hardware.
    What kind of endstops are they? How are they wired?
    What kind of filament sensor is it? It would be wired to an io pin as well.

    Heaters should be PID auto tuned to give the firmware a model of their performance. That will solve the not heating fast enough error.

    When does the under voltage event occur?



  • Hi Phaedrux,

    Ok, will do the update now, concerning the hardware, is just the stock hardware for an Ender 5 plus, yes the endstops are wired, same thing for the filament sensor is the stock on and yes also wired, I have it connected to the IO_2.

    Shouldn't I be doing the PID auto tune once both (hot-end and bed) are heating properly?

    My issue seems to be wire related, you can see on the pic below that the 2 thin cables going out of the mofset where plugged on my previous board and provided electricity to the bead to heat up, now on the new board, it seems that it should not be plugged that way, please note that currently the cables are plug into OUT 0

    bed wiring

    concerning the under voltage, I'll make some other tests and revert back


  • Moderator

    I would abandon the creality mosfet and use the Duet 3 to power the bed directly as it's rated to 15a. Keep in mind that the bed heater ports on the Duet (out0) are powered from the adjacent out0_in ports which should get power directly from the PSU or be bridged from the VIN.

    6-way barrier strip: two pins for main VIN and GND; two pins for the VIN and GND supply for the OUT_0 terminals; and positive and negative OUT_0 terminals. OUT_0 is intended to drive a bed heater. The ground side of OUT_0 is switched by the mosfet and the positive side is protected by a 15A fuse. If using the OUT0 terminal to drive a SSR, take note that their polarity is opposite to the polarity of the VIN terminals.
    https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Hardware_Overview#Section_Connectivity

    That may be why your bed isn't heating at all. From you photo it looks like you don't have power going to out0_in.

    If the filament sensor is just a simple switch for filament presence detection you can check out the M591 command.

    https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_filament-out_sensors

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

    Which ever io port you connect the filament sensor to would be used in the C parameter of M591.



  • Ok so you recommend to remove the mofset completely, correct?

    Ok I'll work on that tomorrow, any way I'm swapping the power unit so will do that then

    Yes the filament sensor, is just simple switch for filament presence, I might change that in the future with something a little more feature rich.

    Tried updating the firmware but no luck, it starts loading the files but never seem to stop, it gets to file 6/18 and then it just keeps uploading without saying what or stopping.


  • Moderator

    @aldiallo said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:

    Ok so you recommend to remove the mofset completely, correct?

    Correct. I'd trust the Duet 3 more than anything Creality has ever produced and if you're using the stock ender 5 bed the Duet 3 is more than up to the task.

    @aldiallo said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:

    Tried updating the firmware but no luck, it starts loading the files but never seem to stop, it gets to file 6/18 and then it just keeps uploading without saying what or stopping.

    In that case please try this method of updating as you may be missing a few files.

    https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Updating_Duet_3_from_RRF3_0_Beta_12_to_3_0_Final_via_DWC



  • Got the board up to date on 3.1.1 now, thanks.

    went on a removed the mofset and cable the bed wires but still not luck as I'm getting the error below:

    Error: Heater 0 fault: temperature rising much more slowly than the expected 1.7°C/sec

    OUT0 Power in is is now directly connected to the psu and the bed is wired directly to OUT 0


  • Moderator



  • Hi @Phaedrux ,

    Thanks, got the bed working properly now. just need to add the filament sensor details in the config.g and I should be able to try a first print!



  • Hello there,

    I'm upgrading to my creality ender 5+ with the duet 3 6HC.

    @aldiallo
    Are you done and ok with the configuration ?
    If yes, can you share with us your last config ?

    Thanks a lot.



  • @FLoRo

    Hello,

    My setup still needs some tweaking to be 100% operational, I can print and the prints come out very nice, I'm really impressed, but they're still a few things that I need to iron out.

    For example, when doing a mesh compensation, I have several point that are unreacheable so need to dig a bit on that as well as on a issue when homing the Y when running the home all command.

    Are you using stock Ender 5+ or have you added any mods to it, reason I'm asking is that I tried inspiring myself from 5+ users setups but they were not neceserally stock as mine isn't but the difference in components has some impacts on the setup.

    Here's my config.g file if that can help, please note that I'm using a microswiss direct drive so my E steps will need to be changed on your side unless you're using the same hotend.

    Please note also that you'll need to modify in order to match your wiring.

    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 04 2020 22:37:40 GMT+0200 (heure d’été d’Europe centrale)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender 5 Plus" ; set printer name

    ; 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.0 S0 ; physical drive 0.0 goes backwards
    M569 P0.1 S0 ; physical drive 0.1 goes backwards
    M569 P0.2 S0 ; physical drive 0.2 goes backwards
    M569 P0.4 S0 ; physical drive 0.4 goes backwards
    M584 X0.0 Y0.1 Z0.2:0.3 E0.4 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E130.00 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z1200.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 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 X350 Y350 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"io1.in" ; configure active-high endstop for high end on X via pin io1.in
    M574 Y2 S1 P"io2.in" ; configure active-high endstop for high end on Y via pin io2.in
    M574 Z2 S2 ; configure Z-probe endstop for high end on Z

    ; Z-Probe
    M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
    M558 P9 C"^io4.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X-42 Y-20 Z2.503 ; set Z probe trigger value, offset and trigger height
    M557 X15:350 Y15:350 S30 ; define mesh grid

    ; Heaters
    M308 S0 P"temp1" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin temp1
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"temp0" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin temp0
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
    M106 P0 C"Part cooling fan" S0 H1 T45 ; set fan 0 name and value. Thermostatic control is turned on
    M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
    M106 P1 C"Hot-end fan" S1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on
    M950 F2 C"out4" Q500 ; create fan 2 on pin out4 and set its frequency
    M106 P2 C"Motherboard fan" S1 H-1 ; set fan 2 name and value. Thermostatic control is turned off
    M950 F3 C"out9" Q500 ; create fan 2 on pin out4 and set its frequency
    M106 P3 C"Case fan" S1 H-1 ; set fan 2 name and value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"E0" 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
    M563 P1 S"E1" D1 H2 F0 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Filament runout sensor
    ;M581 E2 T1 S0 C1 ; Filament run-out sensor triggers a pause

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue

    M501



  • @aldiallo Thank you for the sharing and the infos.
    I'll take attention to the difference.

    At the moment, I'm using a stock ender 5+ and I want to fisrt setup the duet with this configuration before going on other mod.

    I didn't find other user with stock ender5+ (only 5 and 3)

    I also got a lot of issue understanding the mesh compensation en duet 2 with the homemade printer at the point that I switch back to an optical endstop.

    I'll let you know.



  • Hi @aldiallo
    I'm getting down the configuration.

    But at the moment, I'm stuck with 2 problem :

    1. the BLTouch is in error directly when switching on the duet...
      Last time I used the ender with the creality board, it was working fine...
      Did you got that too ?

    2. Heated bed not heating up :
      As read above, and said by @Phaedrux I took out the creality mossfet .
      Wired the 24V power in the VIN and connect my 24V bed directly on the OUT0
      Should I double the wire to OUT0_input from the same power station ?


  • Moderator

    @FLoRo Check the wiring for the BLTouch, post your config.

    @FLoRo said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:

    Should I double the wire to OUT0_input from the same power station ?

    I'm not sure what you mean by this. OUT0_input should either have a direct connection back to the PSU intended to supply the bed heater, or a short jumper connection to the main VIN input right beside it.


Log in to reply