Duet Wifi Powers Off when turning on Hot End



  • Hi,

    I'm setting up a newish CR10s.
    Have used the board successfully before.
    The Duet Wifi powers off immediately when I try to set any hot end temp.
    Wire connections all appear solid.
    Thermocouple reads approx room temp.

    Heated bed works fine (although it is a KEENOVO mains powered via a relay).

    Here is the config.g and M122 console log after the power down

    ; config.g

    ; config file for Duet WiFi

    ; General
    G90 ; absolute coordinates
    M83 ; relative extruder moves
    M550 P"CR10S" ; printer name

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S0 ; drive 0 (x-axis) goes backwards
    M569 P1 S0 ; drive 1 (y-axis) goes backwards
    M569 P2 S1 ; drive 2 (z-axis) goes forwards
    M569 P3 S1 ; drive 3 (extruder) goes forwards
    M584 X0 Y1 Z2 E3 ; drive mapping
    M350 X16 Y16 Z16 E16 I1 ; microstepping
    M92 X80 Y80 Z400 E420 ; steps per mm
    M566 X900 Y900 Z12 E120 ; maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z2000 E1200 ; maximum speeds (mm/min)
    M201 X500 Y500 Z20 E250 ; accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; motor currents (mA) and motor idle factor (%)
    M84 S60 ; idle timeout

    ; Axis Limits
    M208 X-30 Y-20 Z-10 S1 ; axis minima
    M208 X280 Y280 Z360 S0 ; axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; active-high x-axis endstop low end
    M574 Y1 S1 P"ystop" ; active-high y-axis endstop low end
    M574 Z1 S1 P"zstop" ; active-high z-axis endstop low end

    ; Z-Probe
    M950 S0 C"exp.heater7" ; servo pin 0 for BL Touch
    M558 P9 C"^zprobe.in" ; Z probe type - bltouch
    M558 P9 H5 F120 T6000 ; dive height + speeds
    G31 P500 X25 Y0 Z2.5 ; Z probe trigger value, offset + trigger height
    M557 X25:275 Y-5:285 S50 ; define mesh grid

    ; Bed
    M308 S0 P"bedtemp" Y"thermistor" ; sensor 0 as thermistor on pin bedtemp
    M308 S0 T100000 B4138 ; thermistor resistance and beta value
    M950 H0 C"bedheat" T0 ; output on bedheat and map to sensor 0
    M143 H0 S120 ; bed temperature limit - 120C
    M140 H0 ; map heated bed to heater 0

    ; Hot-End
    M308 S1 P"e0temp" Y"thermistor" ; sensor 1 as thermistor on pin e0temp
    M308 S1 T100000 B4138 ; thermistor resistance and beta value
    M950 H1 C"e0heat" T1 ; output on e0heat and map to sensor 1
    M143 H1 S280 ; hot-end temperature limit - 280C
    M307 H1 B0 S1.00 ; disable bang-bang and set PWM limit
    M303 H1 S240 ; test

    ; Fans
    M912 P0 S-8.7 ; calibrate the MCU temp
    M950 F0 C"fan0" Q500 ; fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. thermostatic control is turned on
    M106 P2 T28:65 H100:101:102 ; turn on MCU fan at 30

    ; 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
    T0 ; select first tool

    M122 after shutdown
    M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later
    Board ID: 08DGM-9T6BU-FG3S0-7J9FJ-3SN6L-KS6VG
    Used output buffers: 1 of 24 (10 max)
    === RTOS ===
    Static ram: 30516
    Dynamic ram: 91680 of which 32 recycled
    Exception stack ram used: 224
    Never used ram: 8620
    Tasks: NETWORK(ready,688) HEAT(blocked,1232) MAIN(running,3748) IDLE(ready,156)
    Owned mutexes:
    === Platform ===
    Last reset 00:00:20 ago, cause: power up
    Last software reset at 2021-02-19 13:46, reason: User, spinning module GCodes, available RAM 8620 bytes (slot 1)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 17.2, current 20.0, max 20.1
    Supply voltage: min 24.0, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2021-02-19 16:40:20
    Cache data hit count 43016209
    Slowest loop: 1.17ms; fastest: 0.09ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, 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
    === AuxDDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    Heater 1 is on, I-accum = 0.0
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 22.52ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.22
      WiFi MAC address 84:f3:eb:42:ac:44
      WiFi Vcc 3.46, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 29408
      WiFi IP address 10.0.0.15
      WiFi signal strength -69dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0




  • Check the resistance of the cartridge. 30W at 24V should be ~19.2 ohms. If the resistance is a lot lower, you could have a bad cartridge or a short. If the resistance is correct, check the PSU. Put a few amps of load on it and see if it cuts out.



  • I'm thinking your hotend heater is not electrically isolated from the rest of your system.

    • Try disconnecting the heater wires at the DUET and see if you can set a temp.
    • Try reconnecting them, and disconnecting them at the cartridge heater.

    Do you have a meter?

    Turn everything off, unplug, disconnect the heater wires at the Duet and get some Ohm reading from each wire to the Duet's GROUND. (Power-supply ground will be fine.)



  • Thanks for the Ideas guys.

    Checked the resistance at 21.6 ohms, so I am guessing that's close enough.

    While checking the PSU, ran into a "small" problem.
    How can I test a few amps of load on it?

    I thought, simple, just connect the heater cartridge directly across it.
    I "probably" should have been testing the 24v side, but no,
    somehow I connected it across 115vac.
    Turns out the heater cartridge probably worked, as it went from
    room temp to white hot in less than a second.
    I'll be ordering a new PSU this weekend.☹

    Looking on the bright side, It was probably that anyway 🙂

    Report back in a few days

    Pete


  • Moderator

    Trial by fire! 😳



  • @Phaedrux Literally!!!
    Still have a lingering smell of heater cartridge inners.



  • @PeteIHughes said in Duet Wifi Powers Off when turning on Hot End:

    Thanks for the Ideas guys.

    Checked the resistance at 21.6 ohms, so I am guessing that's close enough.

    While checking the PSU, ran into a "small" problem.
    How can I test a few amps of load on it?

    I thought, simple, just connect the heater cartridge directly across it.
    I "probably" should have been testing the 24v side, but no,
    somehow I connected it across 115vac.
    Turns out the heater cartridge probably worked, as it went from
    room temp to white hot in less than a second.
    I'll be ordering a new PSU this weekend.☹

    Looking on the bright side, It was probably that anyway 🙂

    Report back in a few days

    Pete

    😳
    I hope it is the PSU and not a MOSFET on the board.
    Good luck.


Log in to reply