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

    all duex heaters shorted...

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    38
    1.7k
    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.
    • matt3oundefined
      matt3o @jens55
      last edited by

      well let's see if someone can help find the problem, visually the 74HCT02 seems totally fine and the USB connection actually works... so could be something else. I'm located in Italy, btw

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        I can't see anything in the photos, but they are a tad dim. There may not be any visible damage either.

        You might inquire here if you don't know of anyone local that can do SMD repair.

        https://forum.duet3d.com/topic/13875/community-repairs

        If you disconnect everything from the Duex except VIN do the heaters still enable immediately?

        Z-Bot CoreXY Build | Thingiverse Profile

        matt3oundefined 1 Reply Last reply Reply Quote 0
        • matt3oundefined
          matt3o @Phaedrux
          last edited by matt3o

          @phaedrux said in all duex heaters shorted...:

          If you disconnect everything from the Duex except VIN do the heaters still enable immediately?

          damn! that was a good idea, unfortunately the heaters are still enabled (just to be clear, only the heater that is configured in the config is enabled... the LED turns on immediately)

          jens55undefined 1 Reply Last reply Reply Quote 0
          • jens55undefined
            jens55 @matt3o
            last edited by

            @matt3o, hold on a minute .... the only thing that you have going to the board is Vin and presumably ground and the only heater that powers up is the one configured in the config file ???? Something is fishy in Italy ....
            This is without the ribbon cable connected between the Duet and the Duex? It should not care what is in the config file! If any heater port powers up with only Vin and ground connected then there is a hardware fault with that heater port. If only one powers up than that would seem to suggest only one defective heater output and not all of them. You should be able to configure a different (free) heater port and be off to the races .....

            matt3oundefined 1 Reply Last reply Reply Quote 0
            • matt3oundefined
              matt3o @jens55
              last edited by

              @jens55 I disconnected everything except the ribbon and power.

              any heater I configure goes full throttle as soon as I give power

              jens55undefined 1 Reply Last reply Reply Quote 0
              • jens55undefined
                jens55 @matt3o
                last edited by

                Based on that, I would say that the issue is firmware related and not hardware related. I am not very good with config files but you could post your config.g and somebody who knows their stuff might be able to see something that isn't right.

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Is it all heaters or only the configured heater?

                  What happens when the ribbon is disconnected as well? If it's a heater mosfet that has failed closed circuit it would enable the heaters automatically.

                  If it's only your configured heater than perhaps the configuration is not correct. Perhaps the pin has been inverted so that it's on by default.

                  Please post your config.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  matt3oundefined 1 Reply Last reply Reply Quote 0
                  • matt3oundefined
                    matt3o @Phaedrux
                    last edited by matt3o

                    @phaedrux said in all duex heaters shorted...:

                    Is it all heaters or only the configured heater?

                    What happens when the ribbon is disconnected as well? If it's a heater mosfet that has failed closed circuit it would enable the heaters automatically.

                    If it's only your configured heater than perhaps the configuration is not correct. Perhaps the pin has been inverted so that it's on by default.

                    Please post your config.

                    I checked with a multimeter and all heaters are shorted (at the same time). I thought it was just the one configured because it's the only one that lights the LED. I tried all the heaters anyway and they all behave the same except the 2 on the duet

                    I'm pretty sure it's not the config because as soon as I set the heater to one on the duet2 (not the duex) everything works and the only thing that changes is the heater name. I'll try to disconnect the ribbon and also post the config just in case

                    jens55undefined 1 Reply Last reply Reply Quote 0
                    • jens55undefined
                      jens55 @matt3o
                      last edited by

                      @matt3o, I am not sure if I am looking at the right schematic but what I am seeing is that the LED is connected directly to the output pin. If the output is switched low then the LED will light up. That seems at odds with the report of only one light lighting up.
                      Could you explain how you measure the fact that the output is shorted?

                      1 Reply Last reply Reply Quote 0
                      • matt3oundefined
                        matt3o
                        last edited by

                        this is all very weird and erratic.

                        so first time it happened I checked the heaters with a multimeter and all of them were shorted (I just check resistance @jens55 ).

                        I tried to disconnect the ribbon cable as @Phaedrux suggested and everything's fine, of course the duet doesn't com with the duex but the heaters are all open (off).

                        I reconnected the ribbon (with printer off of course) and now the heaters are all open (off) except for the one that is configured that goes in full blast as soon as I give power. In fact the heater LED turns on right away.

                        If I set the heater to any one on the duet2 everything works as expected.

                        jens55undefined 1 Reply Last reply Reply Quote 0
                        • jens55undefined
                          jens55 @matt3o
                          last edited by

                          @matt3o, I don't know what else to suggest. From my end it sounds as if the board is fine and the issue is in the config file but as you say, it works if configured to run the heaters on the Duet.
                          Sorry ....

                          matt3oundefined 1 Reply Last reply Reply Quote 0
                          • matt3oundefined
                            matt3o @jens55
                            last edited by

                            @jens55 thanks for your help anyway, really appreciated it. I'll do some more testing but I'm out of ideas

                            engikeneerundefined 1 Reply Last reply Reply Quote 0
                            • engikeneerundefined
                              engikeneer @matt3o
                              last edited by

                              @matt3o what happens if you take the sd card out of the Duet, then power it all up? That way you know the config is not doing anything.
                              Are the outputs shorted when you don't power on the Duet & Duex? I wonder if the resistance measurement is interfering with things...
                              Also, what happens if you actually connect a heater to each of the outputs? Do they get hot or does the board blow fuse? Guessing it will already be blowing the fuse if it's actually shorted on the board.

                              E3D TC with D3Mini and Toolboards.
                              Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                              i3 clone with a bunch of mods

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                Please post your config.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                matt3oundefined 1 Reply Last reply Reply Quote 0
                                • matt3oundefined
                                  matt3o @Phaedrux
                                  last edited by matt3o

                                  @phaedrux sure thing

                                  ; --------------------------------------------------
                                  ; General preferences
                                  ; --------------------------------------------------
                                  
                                  G90                                                       ; send absolute coordinates...
                                  M83                                                       ; ...but relative extruder moves
                                  M550 P"Agony"                                            ; set printer name
                                  
                                  M552 S1                                                   ; enable network
                                  M586 P0 S1                                                ; enable HTTP
                                  M586 P1 S0                                                ; disable FTP
                                  M586 P2 S0                                                ; disable Telnet
                                  
                                  
                                  ; --------------------------------------------------
                                  ; Drives
                                  ; --------------------------------------------------
                                  
                                  M569 P2 S1                                                ; X1 (Z stepper)
                                  M569 P1 S0                                                ; X2 (Y stepper)
                                  M569 P0 S0                                                ; Y1 (X stepper)
                                  M569 P3 S1                                                ; Y2 (E0 stepper)
                                  M569 P4 S1                                                ; Z1 (E1 stepper)
                                  M569 P5 S1                                                ; Z2 (E2 stepper DEX)
                                  M569 P6 S1                                                ; Z3 (E3 stepper DEX)
                                  M569 P7 S1                                                ; Extruder1 (E4 stepper DEX)
                                  
                                  M584 X2:1 Y0:3 Z4:5:6 E7                                  ; set drive mapping
                                  
                                  M906 X1300 Y1300 Z1300 E500 I40                           ; set motor currents (mA) and motor idle factor in per cent
                                  M350 X16 Y16 Z16 E16 I1                                   ; configure microstepping with interpolation
                                  M92 X160.00 Y160.00 Z1600.00 E698                         ; set steps per mm
                                  M84 S30                                                   ; Set idle timeout
                                  
                                  M566 X900.00 Y900.00 Z60.00 E120.00                       ; set maximum instantaneous speed changes (mm/min)
                                  M203 X30000.00 Y30000.00 Z600.00 E7200.00                 ; set maximum speeds (mm/min)
                                  M201 X6000.00 Y6000.00 Z20.00 E600.00                     ; set accelerations (mm/s^2)
                                  
                                  
                                  ; --------------------------------------------------
                                  ; Axis Limits
                                  ; --------------------------------------------------
                                  
                                  M208 X0 Y0 Z0 S1                                          ; set axis minima
                                  M208 X380 Y385 Z350 S0                                    ; set axis maxima
                                  
                                  ; Leadscrews position
                                  M671 X368.5:-21.5:173.5 Y341.85:341.85:1.85 S20
                                  
                                  ; Endstops
                                  M574 X2 S1 P"xstop"                                       ; configure active-high endstop for high 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 P5 C"^zstop" H5 F120 T6000 A3                        ; set Z probe type to switch and the dive height + speeds
                                  G31 P500 X-5.85 Y33 Z3.85                                 ; set Z probe trigger value, offset and trigger height
                                  M557 X20:370 Y20:370 S50                                  ; define mesh grid
                                  
                                  
                                  ; --------------------------------------------------
                                  ; Heaters
                                  ; --------------------------------------------------
                                  
                                  M308 S0 P"bedtemp" Y"thermistor" T100000 B4138            ; configure sensor 0 as thermistor on pin bedtemp
                                  M950 H0 C"bedheat" T0 Q10                                 ; create bed heater output on bedheat and map it to sensor 0
                                  M307 H0 B0 R0.724 C695.9 D3.76 S0.80                      ; auto-tune
                                  M140 H0                                                   ; map heated bed to heater 0
                                  M143 H0 S120                                              ; set temperature limit for heater 0 to 120C
                                  M308 S1 P"e4temp" Y"thermistor" T500000 B4723 C1.19622e-7 ; 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
                                  M307 H1 B0 R2.573 C190.5:106.0 D4.28 S1.00                ; auto-tune
                                  M143 H1 S350                                              ; set temperature limit
                                  
                                  
                                  ; --------------------------------------------------
                                  ; Fans
                                  ; --------------------------------------------------
                                  
                                  M950 F0 C"duex.fan3" 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"duex.fan4" Q500                                      ; create fan 1 on pin fan1 and set its frequency
                                  M106 P1 S1 H1 T45                                         ; set fan 1 value. Thermostatic control is turned on
                                  
                                  
                                  ; --------------------------------------------------
                                  ; Tools
                                  ; --------------------------------------------------
                                  M563 P0 S"Mosquito" 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
                                  
                                  
                                  ; --------------------------------------------------
                                  ; Closing
                                  ; --------------------------------------------------
                                  M593 F48 ; input shaper
                                  T0                                             ; select tool
                                  

                                  it's configured with the heater on the duet2, all I have to do to make it fail is to use any duex heater name like (duex.e2heat)

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by Phaedrux

                                    https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet

                                    Notice how the Duex heater pins are inverted in the listing.

                                    exp.heater3, exp.8, !duex.e2heat, !duex.pwm1
                                    exp.heater4, exp.13, !duex.e3heat, !duex.pwm2
                                    exp.heater5, exp.18, !duex.e4heat, !duex.pwm3
                                    exp.heater6, exp.23, !duex.e5heat, !duex.pwm4
                                    exp.heater7, exp.31, !duex.e6heat, !duex.pwm5
                                    

                                    So try using: !duex.e2heat

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    jens55undefined 1 Reply Last reply Reply Quote 0
                                    • jens55undefined
                                      jens55 @Phaedrux
                                      last edited by

                                      @phaedrux said in all duex heaters shorted...:

                                      https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet

                                      Notice how the Duex heater pins are inverted in the listing.

                                      exp.heater3, exp.8, !duex.e2heat, !duex.pwm1
                                      exp.heater4, exp.13, !duex.e3heat, !duex.pwm2
                                      exp.heater5, exp.18, !duex.e4heat, !duex.pwm3
                                      exp.heater6, exp.23, !duex.e5heat, !duex.pwm4
                                      exp.heater7, exp.31, !duex.e6heat, !duex.pwm5
                                      

                                      So try using: !duex.e2heat

                                      You mean to say duex.e2heat (no bang) ?

                                      matt3oundefined 1 Reply Last reply Reply Quote 0
                                      • matt3oundefined
                                        matt3o @jens55
                                        last edited by

                                        I'm lost, it's inverted so it should not have the " ! ", right?

                                        jens55undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                                        • jens55undefined
                                          jens55 @matt3o
                                          last edited by

                                          @matt3o, that is my interpretation .... but then I am no expert on config.g .....

                                          SIamundefined 1 Reply Last reply Reply Quote 0
                                          • SIamundefined
                                            SIam @jens55
                                            last edited by SIam

                                            @jens55

                                            Example:
                                            
                                            !fan2
                                            
                                            This means the pin labelled FAN2 on the Duet, but with the drive signal inverted.
                                            

                                            Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                                            Duet WiFi 1.02 or later + DueX5
                                            RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                                            Duet WiFi Server: 1.26
                                            Duet Web Control 3.4.0beta4 (2021-09-27)

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