Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4
-
Hi @Veti
Concerning the BLTouch, that's strange as I set it to the default 2,5 mm.
Concerning temp0 and temp1, I have the bed thermistor on temp1 and the hot-end on temp0; should it be the other way around?
I'm using the stock ender 5 plus thermistors, I believe that in the case of the hot-end it should be a 100k one from I've found in the web, but no clue on what value to use for the bed, should I be using the same as the hot-end?
thanks
-
Hi @jay_s_uk,
Oh, ok, I thought that the bed will be taking automatically power from the power in and feed OUT 0.
thanks
-
@aldiallo said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:
Concerning the BLTouch, that's strange as I set it to the default 2,5 mm.
you position of the bltouch is the same as the nozzle, this is physical impossible. you need to change the x and y value
Concerning temp0 and temp1, I have the bed thermistor on temp1 and the hot-end on temp0; should it be the other way around?
ok just checking that is was done on purpose
I'm using the stock ender 5 plus thermistors, I believe that in the case of the hot-end it should be a 100k one from I've found in the web, but no clue on what value to use for the bed.
try the values from the ender 3
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+2:+Configuration/38
Set the values for both Thermistor values as: R25 – 98801, B – 4185 -
@Veti said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:
you position of the bltouch is the same as the nozzle, this is physical impossible. you need to change the x and y value
Sorry, I got you wrong, the 2,5 mm I was reffering was the trigger height which I left at default, I'll go ahead an make the changes to the X and Y offset, thanks
ok just checking that is was done on purpose
try the values from the ender 3
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+2:+Configuration/38
Set the values for both Thermistor values as: R25 – 98801, B – 4185Will check that, thanks, will also refer back to the marlin config, which I should have done in the first place
thanks again
-
Hi everyone,
Making some progress here, manage to get a few things working but others are not working properly or not working at all.
X and Y homing ok but on the Z axis I only have one motor working, I did used the M584 command as advised but is not seem to be taking it into account, so when I try to home Z, I must do the 2nd motor manually; this is what I sent as command: M584 X0 Y1 Z2:3 E4
The Bed is not heating, I guess the wiring is not correct; not sure how it should be done on this board, I previously had cable the 2 cables going to the bed to the out 0 but that wasn't work so moved the cable to the out 0 Power In, but I still have the issue.
I'm also getting this error and not sure what's causing it: Warning: 12V under-voltage event (9.4V), might be related to the bed not heating up issue.
Have 3 fans, one for the board on out 4 working fine but the other 2 on Out 7 and 8 for the part cooling fan and the Hot end fan, both are turning, but this I assume is due to the temperature not being reached.
Also, where should the filament runout sensor should be plugged and how must one go to declare it as such? I'm guessing that the IO_x ports are my best bet.
Here's my config.g file, please let me know what errors do you see that I'm overlooking, thanks
; 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 S1 ; physical drive 0.4 goes forwards
M584 X0.0 Y0.1 Z0.2: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 Z180.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"io0.in" ; configure active-high endstop for high end on X via pin io0.in
M574 Y2 S1 P"io1.in" ; configure active-high endstop for high end on Y via pin io1.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 Z3.3 ; set Z probe trigger value, offset and trigger height
M557 X15:350 Y15:350 S20 ; 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; Tools
; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue -
@aldiallo said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:
M584 X0.0 Y0.1 Z0.2:3 E0.4 ; set drive mapping
Try Z0.2:0.3 to match the syntax of the other drivers.
Also please send M98 P"config.g" to see if you have any other configuration error messages.
Also provide the results of M122.
-
@Phaedrux said in Help needed - Installing Duet 3D 6HC in replacement of a SKR 1.4:
M98 P"config.g"
Hi Phaedrux,
here's the output:
06/10/2020 à 08:21:11 M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365CM122:
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.01-RC9 running on Duet 3 MB6HC v1.01 or later
Board ID: 08DJM-956L2-G43S8-6J9FA-3S86R-1B3AFUsed output buffers: 1 of 40 (12 max)
=== RTOS ===
Static ram: 154572
Dynamic ram: 161552 of which 44 recycled
Exception stack ram used: 216
Never used ram: 76832
Tasks: NETWORK(ready,156) ETHERNET(blocked,444) HEAT(blocked,1184) CanReceiv(suspended,3824) CanSender(suspended,1484) CanClock(blocked,1456) TMC(blocked,216) MAIN(running,5044) IDLE(ready,80)
Owned mutexes:
=== Platform ===
Last reset 00:01:15 ago, cause: software
Last software reset at 2020-10-06 08:22, reason: User, spinning module GCodes, available RAM 76800 bytes (slot 0)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x04437000 BFAR 0x00000000 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 32.0, current 32.5, max 32.7
Supply voltage: min 23.8, current 23.9, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.2, current 12.4, max 12.4, under voltage events: 0
Driver 0: standstill, reads 43487, writes 14 timeouts 0, SG min/max 0/0
Driver 1: standstill, reads 43488, writes 14 timeouts 0, SG min/max 0/0
Driver 2: standstill, reads 43488, writes 14 timeouts 0, SG min/max 0/0
Driver 3: standstill, reads 43489, writes 14 timeouts 0, SG min/max 0/0
Driver 4: standstill, reads 43489, writes 14 timeouts 0, SG min/max 0/0
Driver 5: standstill, reads 43493, writes 11 timeouts 0, SG min/max 0/0
Date/time: 1970-01-01 00:00:00
Slowest loop: 4.30ms; fastest: 0.21ms
=== Move ===
Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== AuxDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== Heat ===
Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is assembling a command in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 5.06ms; fastest: 0.03ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- Ethernet -
State: active
Error counts: 0 0 0 0 0
Socket states: 2 2 2 2 2 0 0 0
=== CAN ===
Messages sent 300, longest wait 0ms for type 0
=== Linux interface ===
State: 0, failed transfers: 0
Last transfer: 75103ms ago
RX/TX seq numbers: 0/1
SPI underruns 0, overruns 0
Number of disconnects: 0
Buffer RX/TX: 0/0-0
- Ethernet -
-
Ok, so the issue with the 2nd Z motor is sorted, thanks Phaedrux!
now need to sort out the Bed heating issue as well as the fans, the undervoltage warning and figure out how the filament runout sensor should be wired.
I'm really impressed on how smooth and silently the motors are moving compared to my previous skr board; once I managed to work my head around all of this, I might order another board for my Sidewinder X1
-
@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
concerning the under voltage, I'll make some other tests and revert back
-
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_ConnectivityThat 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.
-
@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.
-
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
-
PID tune the heaters and save the results.
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+4:+Calibration/40#s161
-
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.
-
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 PanelDueM501
-
@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 :
-
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 ? -
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 ?
-