Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    D3M5+ Resets Whenever I turn on Bed Heater? Fan Control?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    143
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pickettundefined
      Pickett
      last edited by Phaedrux

      Hello Fellow Member of this forum I have installed RRF 3.3.0-1 and have figured out a lot of the issues I was having previously. I definitely do not have a bad board lols though for a minute or two I did think that it was a bad board. Anywho the only issues I am facing at this moment are mostly simple at least it seems simple at this moment. Anyways here are the issues that I am facing currently:

      1. Why cant I control the speed of my connected fans? They are connected properly the fans are 24v 100ma. 24v 200ma and a 5v .12amps. No matter which fan I try to control the speed irregardless of which outX I put it in I can not control the speed of said fans:

      2. I can not seem to get the bed to heat up via the mosfet I have installed. It is a good working MOSFET. However when I go to put the bed temp at 60 (or any temp really?) it resets the board and when it boots back up, which is pretty darn quick, it goes back to its (the board's) normal state and has essentially ignored the command to bring the bed temp up to 60c or any temp for the matter?

      Here is my M122/Diagnostic Data from my Duet 3 Mini 5+
      7/7/2021, 3:05:02 PM m122

      === Diagnostics ===
      RepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus WiFi (SBC mode)
      Board ID: FWP8R-JV9RL-D65J0-40KMJ-MSW2Z-Z7VWS
      Used output buffers: 1 of 40 (11 max)
      === RTOS ===
      Static ram: 102724
      Dynamic ram: 98088 of which 36 recycled
      Never used RAM 42856, free system stack 206 words
      Tasks: SBC(ready,4.4%,332) HEAT(notifyWait,0.0%,263) Move(notifyWait,0.1%,338) CanReceiv(notifyWait,0.0%,941) CanSender(notifyWait,0.0%,371) CanClock(delaying,0.0%,340) TMC(notifyWait,0.6%,115) MAIN(running,94.1%,558) IDLE(ready,0.0%,29) AIN(delaying,0.8%,273), total 100.0%
      Owned mutexes: HTTP(MAIN)
      === Platform ===
      Last reset 00:51:19 ago, cause: power up
      Last software reset at 2021-07-06 13:55, reason: StuckInSpinLoop, Display spinning, available RAM 42856, slot 1
      Software reset code 0x408f HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0000080f BFAR 0xe000ed38 SP 0x20002a4c Task IDLE Freestk 43 ok
      Stack: 00087e75 000888a6 61000000 a5a5a5a5 00087e75 a5a5a5a5 a5a5a5a5 2000390c 0000739b 20019104 2002ec9c 20002a68 200190fc 00000004 2001e0dc 2001e0dc 20002a68 2001e0d4 00000001 20002ac4 4e49414d 00000000 00000000 00000001 00000001 09dd625f 00000000
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU revision 3, ADC conversions started 3079706, completed 3079704, timed out 0, errs 0
      Step timer max interval 766
      MCU temperature: min 26.7, current 28.9, max 28.9
      Supply voltage: min 24.1, current 24.2, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 30994, writes 11, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 30994, writes 11, timeouts 0, DMA errors 0
      Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 30994, writes 11, timeouts 0, DMA errors 0
      Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 30993, writes 11, timeouts 0, DMA errors 0
      Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 30996, writes 9, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-07-07 15:05:00
      Cache data hit count 4294967295
      Slowest loop: 2.09ms; fastest: 0.08ms
      === Storage ===
      Free file entries: 10
      SD card 0 not detected, interface speed: 0.0MBytes/sec
      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1, chamberHeaters = -1 -1
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP* is doing "M122" 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 idle 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
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === CAN ===
      Messages queued 27714, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17), ts 15399/0/0
      Tx timeouts 0,0,15398,0,0,12314 last cancelled message type 30 dest 127
      
      === SBC interface ===
      State: 4, failed transfers: 0, checksum errors: 0
      Last transfer: 3ms ago
      RX/TX seq numbers: 49337/41189
      SPI underruns 0, overruns 0
      Disconnects: 0, timeouts: 0, IAP RAM available 0x10638
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.3.0
      Code buffer space: 4096
      Configured SPI speed: 8000000Hz
      Full transfers per second: 5.65, max wait times: 2860.6ms/0.0ms
      Codes per second: 0.01
      Maximum length of RX/TX data transfers: 3400/996
      

      And Finally here is my Config.g file:

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Jul 06 2021 22:29:41 GMT-0500 (Central Daylight Time)
      
      ; General preferences
      G90                                                   ; send absolute coordinates...
      M83                                                   ; ...but relative extruder moves
      M550 P"Duet 3"                                        ; set printer name
      M918 P1 E4 F2000000                                   ; configure direct-connect display
      
      ; Drives
      M569 P0.0 S0                                          ; physical drive 0.0 goes backwards
      M569 P0.1 S0                                          ; physical drive 0.1 goes backwards
      M569 P0.2 S1                                          ; physical drive 0.2 goes forwards
      M569 P0.3 S0                                          ; physical drive 0.3 goes backwards
      M584 X0.0 Y0.1 Z0.2 E0.3                              ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                               ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E420.00                     ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E300.00                   ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z600.00 E3600.00               ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z200.00 E2500.00                 ; set accelerations (mm/s^2)
      M906 X1000 Y1150 Z1250 E850 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 X400 Y400 Z450 S0                                ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"io5.in"                                  ; configure active-high endstop for low end on X via pin io5.in
      M574 Y1 S1 P"io6.in"                                  ; configure active-high endstop for low end on Y via pin io6.in
      M574 Z1 S2                                            ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M950 S0 C"io3.out"                                    ; create servo pin 0 for BLTouch
      M558 P9 C"^io3.in" H5 F120 T6000                      ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X19 Y15 Z2                                   ; set Z probe trigger value, offset and trigger height
      M557 X15:385 Y15:385 S20                              ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp1" Y"thermistor" T98801 B4185           ; configure sensor 0 as thermistor on pin temp1
      M950 H0 C"out1" T0                                    ; create bed heater output on out1 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"temp2" Y"thermistor" T98801 B4185           ; configure sensor 1 as thermistor on pin temp2
      M950 H1 C"out2" T1                                    ; create nozzle heater output on out2 and map it to sensor 1
      M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S320                                          ; set temperature limit for heater 1 to 320C
      
      ; Fans
      M950 F0 C"out3" Q500                                  ; create fan 0 on pin out3 and set its frequency
      M106 P0 C"Nozzle_Fan" S0 H-1                          ; set fan 0 name and value. Thermostatic control is turned off
      M950 F1 C"out4" Q500                                  ; create fan 1 on pin out4 and set its frequency
      M106 P1 C"Tool_Heatsink_Fan" S1 H1:0 T45              ; set fan 1 name and value. Thermostatic control is turned on
      M950 F2 C"out5" Q500                                  ; create fan 2 on pin out5 and set its frequency
      M106 P2 C"SMD_Fan" S1 H1:0 T45                        ; set fan 2 name and value. Thermostatic control is turned on
      M950 F3 C"out6" Q500                                  ; create fan 3 on pin out6 and set its frequency
      M106 P3 C"PWR_Strip_Fan" S1 H0:1 T45                  ; set fan 3 name and value. Thermostatic control is turned on
      M950 F4 C"vfd" Q500                                   ; create fan 4 on pin vfd and set its frequency
      M106 P4 C"LED" S1 H-1                                 ; set fan 4 name and value. Thermostatic control is turned off
      
      ; Tools
      M563 P0 S"V6 w/ TI HEATBREAK & Copper Block" 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
      M575 P1 S1 B57600                         ; enable support for PanelDue
      M501                                                  ; load saved parameters from non-volatile memory
      M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"    ; set vozxccc ltage thresholds and actions to run on power loss
      T0                                                    ; select first tool
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by Phaedrux

        @pickett said in D3M5+ Resets Whenever I turn on Bed Heater? Fan Control?:

        Why cant I control the speed of my connected fans? They are connected properly the fans are 24v 100ma. 24v 200ma and a 5v .12amps. No matter which fan I try to control the speed irregardless of which outX I put it in I can not control the speed of said fans:

        Please show us a photo of how you have them connected, or show on a wiring diagram where they are connected.

        @pickett said in D3M5+ Resets Whenever I turn on Bed Heater? Fan Control?:

        I can not seem to get the bed to heat up via the mosfet I have installed. It is a good working MOSFET. However when I go to put the bed temp at 60 (or any temp really?) it resets the board and when it boots back up, which is pretty darn quick, it goes back to its (the board's) normal state and has essentially ignored the command to bring the bed temp up to 60c or any temp for the matter?

        It sounds like a wiring problem with the board or the power supply is faulting. Provide more detail on the bed and the mosfet and PSU. Show your wiring.

        Can you also send M98 P"config.g" and post the response if any.

        Z-Bot CoreXY Build | Thingiverse Profile

        Pickettundefined 1 Reply Last reply Reply Quote 0
        • Pickettundefined
          Pickett @Phaedrux
          last edited by

          @phaedrux yes sir let me get on that let me go get my phone from one of my kids lols.....

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA