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

Possible PWM port issue & RRF3 Question

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
34
1.4k
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.
  • undefined
    jallen810
    last edited by 14 Aug 2020, 23:49

    I have a Duet2 Wifi. I just finished extending my wiring so I could have my control board outside my enclosure.
    I plugged everything back in and powered up and all my PWM fans are now reading a voltage when they should be 0v. (F0=22v, F1=16v, F2=24v)
    I checked my fuses and everything looks okay so I'm guessing I blew the MOSFETs.
    Are there any other things I can check to see if I can reset them? Or am I screwed?

    In the meantime, I was already planning to upgrade to RRF3 tonight, I seem to recall that you can re-map via GPIO to make any fan port essentially PWM. IS this true? If so, what exactly will I need to do?
    As an example, I used to use F0 for layer fan controlled by Gcode and F1 for hotend cooling with thermostatic control. How would I remap AlwaysOn0 to act like F0, and AO1 to act like F1?

    Thanks,
    Jake

    ? 1 Reply Last reply 15 Aug 2020, 00:37 Reply Quote 0
    • ?
      A Former User @jallen810
      last edited by 15 Aug 2020, 00:37

      I seem to recall that you can re-map via GPIO to make any fan port essentially PWM. IS this true?

      yes(mostly)

      How would I remap AlwaysOn0 to act like F0, and AO1 to act like F1?

      but the always on outputs are hardwired to Vfan so you cannot remap those.

      you'd need to replace the mosfets, use an external mosfet or maybe get by with always on fan + possibly use E1 heater output as a pwm controllable fan.

      undefined 1 Reply Last reply 15 Aug 2020, 00:41 Reply Quote 0
      • undefined
        jallen810 @A Former User
        last edited by jallen810 15 Aug 2020, 00:41

        @bearer As I am completely unfamiliar with RRF code, I'm reading through the Dokuzi looking for something but I guess what I'm asking is is there a way to do this to get me by? I have spare mosfets but the last time I tried this I melted the board so I am tempted to just buy a DueX and utilize those pwm fan ports instead. I just wish I knew why they all of the sudden are reading like the Mosfets are blown. they worked perfectly yesterday when I tested my wiring and nothing has changed.

        Edit: when you say "external mosfet" do you mean there is a way to control PWM ports from a third party Mosfet? It would be wonderful if there way a fuse protected mosfet setup I could install instead..

        Edit2: I decide to troubleshoot a bit, if I hook up an voltmeter and run:
        M126 P1 S1 my voltage goes from 16v up to 23, so it seems I have some control?
        M126 P0 S1 my voltage goes from 20v up to 24v, again seems I have control?
        M126 P2 S1 no voltage change, seemed totally screwed
        So... then I remapped RRF2.03 config.g to make my Tool0 use Fan1, and was able to measure voltage and change it on my panel due. So I plugged in a fan and turned it on but the fan won't move. And yes the fan works if I plug it into an ALWAYSon port. WTF?! how does this make sense? Is this a defective board or something?

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by 15 Aug 2020, 09:11

          heat and/or high currents are the common culprits with dead mosfets - usually a result of a short circuit somewhere.

          yes, you could wire pretty much any pin from a duet2 to the gate on a compatible mosfet and set it up as a fan with M950+M160. (pull up/down and series resistance as required, refer to the duet schmeatic for examples)

          however its common for the mosfet to fail before a fuse, as the fuse just isn't fast enough to prevent the initial surge from a short circuit, its there to prevent damage from overloading the board or wires in the event of a prolonged fault current. that said its still a good idea to add a fuse.

          undefined 1 Reply Last reply 15 Aug 2020, 10:09 Reply Quote 0
          • undefined
            dc42 administrators @A Former User
            last edited by 15 Aug 2020, 10:09

            @bearer said in Possible PWM port issue & RRF3 Question:

            heat and/or high currents are the common culprits with dead mosfets - usually a result of a short circuit somewhere.

            Connecting a fan the wrong way round (i.e. wrong polarity) can also cause a mosfet to blow, depending on the fan.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            undefined 1 Reply Last reply 15 Aug 2020, 13:39 Reply Quote 0
            • undefined
              jallen810 @dc42
              last edited by jallen810 15 Aug 2020, 13:39

              @dc42 Okay. I was very diligent to mark + & - wires when extending my wiring and tested continuity to make sure, which is why the first test was fine. I had it correct.
              Then yesterday all of the sudden all three just stopped working, nothing in the wiring changed.
              So... I have a question, why are the PWM fan ports not protected by a fuse? The only issues I have ever had with this board has been these MOSFETs . I love this board, but this is a serious Debbie Downer...
              And my question still stands, if I blew the MOSFETs then why do I measure voltage change when I toggle the F0 or F1 ports with M126? Last time this happened to me with a clone board, I read 0 volts, and I learned my lesson to triple check everything before plugging back in and powering up

              What are my options here?
              1.) Could this be a bad board that I could get replaced under warranty? Purchase was in April2020 via Filastruder
              2.) Can a [DueX2 expansion](https://www.filastruder.com/collections/electronics/products/duex2-and-duex-5-expansion-board[link text](link url)) allow me to get PWM functionality back?
              3.) Or could just this Expansion Board give me a couple PWM ports back?
              4.) am I missing something else that's affordable?????

              undefined 1 Reply Last reply 16 Aug 2020, 07:40 Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 15 Aug 2020, 18:04

                Your easiest option would be as bearer suggested above and remap a spare heater output as a PWM fan control.

                If you have already upgraded to RRF3 it's quite easy. You'll need to identify what heater port you want to use, find it's pin name, and then use M950 to define that pin as a fan. Then your M106 fan command can refer to it.

                I think when you extended the wiring there was either a short or a change to polarity that caused the mosfet to fail. Perhaps at a crimp there was a stray wire?

                @jallen810 said in Possible PWM port issue & RRF3 Question:

                why are the PWM fan ports not protected by a fuse?

                They are, but as described the fuse is much too slow to protect from the initial surge. Fuses are meant to protect from a short circuit drawing too much current and setting something on fire. The mosfets are unfortunately delicate, so great care must be taken with fan wiring. And even when great care is taken, I've even seen fans from amazon that had the black and red wires switched. Peeling back the label to show the fan PCB revealed that the black and red wired were swapped at the - + silk screen terminals.

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 15 Aug 2020, 20:24 Reply Quote 0
                • undefined
                  jallen810 @Phaedrux
                  last edited by jallen810 15 Aug 2020, 20:24

                  @Phaedrux Okay. I just finished the upgrade to RRF3.
                  So by doing this M950+M160, I will be able to have a layer fan that is controllable by Gcode? and a thermostatically controlled HE fan?

                  Lastly, now that I've finished my RRF3.1 upgrade I get these 2 issues:
                  1.) My inductive probe (NC) isn't stopping now when I do a G30 and put a wrench under it
                  2.) and when I try to home X or Y, the head moves 5-10 mm and stops?

                  Can you point me to a page that explains the RRF settings for these sensors? It used to be this in my config.g for RRF2.x:

                  M574 X1 Y1 S0 ; set active low and disabled endstops (To enable Z-endstop add "Z1 or Z2" after y
                  M574 Z1 S2 ; Define Z to use probe. S2=Home to min
                  and for my ABL:
                  M307 H3 A-1 C-1 D-1 ; (Duet3d method) disable Heater7 to free up PWM channel 5 on Duex board for BLTouch
                  M558 P5 H5 F600 A1 I1 ; GLH8 EndstopABL, Mode P=5, StartProbeH=5mm, Speed=600mm/min, #probes A=3, Invert signal for Endstop I=1
                  ? undefined 2 Replies Last reply 15 Aug 2020, 20:48 Reply Quote 0
                  • ?
                    A Former User @jallen810
                    last edited by 15 Aug 2020, 20:48

                    @jallen810 said in Possible PWM port issue & RRF3 Question:

                    So by doing this M950+M160, I will be able to have a layer fan that is controllable by Gcode? and a thermostatically controlled HE fan?

                    one of them if you have heater E1 unused; so I'd wire hotend to always on and layer to heater E1 output.

                    undefined 1 Reply Last reply 15 Aug 2020, 20:52 Reply Quote 0
                    • undefined
                      jallen810 @A Former User
                      last edited by 15 Aug 2020, 20:52

                      @bearer okay so that works for me! I've already moved my HE fan to always on.

                      Just for future plans sake, if I decide I need more PWM fans, can I get either the expansion board with 2pwm ports or a Duex2/5 and restore my PWM function with those?
                      Or does the main board damage prevent me from doing that?

                      ? 1 Reply Last reply 15 Aug 2020, 21:03 Reply Quote 0
                      • ?
                        A Former User @jallen810
                        last edited by 15 Aug 2020, 21:03

                        @jallen810 said in Possible PWM port issue & RRF3 Question:

                        Or does the main board damage prevent me from doing that?

                        can't say for sure but most likely that damage is isolated to the the mosfets for the fans (mosfets can be replaced, its a bit of a tight spot and some groundplanes, but with proper tools its perfectly doable; you can ask around locally or maybe https://forum.duet3d.com/topic/13875/community-repairs)

                        as for the expansion breakout i don't think you drive a fan off that directly. duex2/5 will be fine.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Phaedrux Moderator @jallen810
                          last edited by 15 Aug 2020, 22:22

                          @jallen810 said in Possible PWM port issue & RRF3 Question:

                          @Phaedrux Okay. I just finished the upgrade to RRF3.
                          So by doing this M950+M160, I will be able to have a layer fan that is controllable by Gcode? and a thermostatically controlled HE fan?

                          Lastly, now that I've finished my RRF3.1 upgrade I get these 2 issues:
                          1.) My inductive probe (NC) isn't stopping now when I do a G30 and put a wrench under it
                          2.) and when I try to home X or Y, the head moves 5-10 mm and stops?

                          Can you point me to a page that explains the RRF settings for these sensors? It used to be this in my config.g for RRF2.x:

                          M574 X1 Y1 S0 ; set active low and disabled endstops (To enable Z-endstop add "Z1 or Z2" after y
                          M574 Z1 S2 ; Define Z to use probe. S2=Home to min
                          and for my ABL:
                          M307 H3 A-1 C-1 D-1 ; (Duet3d method) disable Heater7 to free up PWM channel 5 on Duex board for BLTouch
                          M558 P5 H5 F600 A1 I1 ; GLH8 EndstopABL, Mode P=5, StartProbeH=5mm, Speed=600mm/min, #probes A=3, Invert signal for Endstop I=1

                          The issue is probably the inversion in M558 for the probe trigger signal. I1 is replaced in RRF3 by using a ! in front of the pin name.

                          I suggest you use the configurator to generate a config for RRF3 and then compare the output to your own to see the differences.

                          https://configtool.reprapfirmware.org/Start

                          This document also has the best overview of the changes.
                          https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 15 Aug 2020, 22:35 Reply Quote 0
                          • undefined
                            jallen810 @Phaedrux
                            last edited by 15 Aug 2020, 22:35

                            @Phaedrux that is the RRF Config output! Lol That’s why I was confused. I could have selected the wrong setting somewhere.
                            Thanks for the link, I’ll dig in after the kiddos go to bed.

                            undefined 1 Reply Last reply 16 Aug 2020, 00:41 Reply Quote 0
                            • undefined
                              jallen810
                              last edited by 15 Aug 2020, 23:29

                              @Phaedrux When you tag into E1 heater and Heater 7, just to clarify, I would hook up to E1 to the positive lead to fan. Then I would hook up "13) heater4" (as an example) pin to the negative lead of the fan?

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Phaedrux Moderator @jallen810
                                last edited by 16 Aug 2020, 00:41

                                @jallen810 said in Possible PWM port issue & RRF3 Question:

                                I could have selected the wrong setting somewhere.

                                Post your config.g then. Maybe you had RRF2 selected?

                                I'm not sure what you mean by this.

                                When you tag into E1 heater and Heater 7, just to clarify, I would hook up to E1 to the positive lead to fan. Then I would hook up "13) heater4" (as an example) pin to the negative lead of the fan?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                undefined 1 Reply Last reply 16 Aug 2020, 01:19 Reply Quote 0
                                • undefined
                                  jallen810 @Phaedrux
                                  last edited by jallen810 16 Aug 2020, 01:19

                                  @Phaedrux I had a blonde moment, I can't use a normal 2pin fan can I?
                                  I need a 3+ wire fan right? (sorry never actually used PWM function of fans before)

                                  My artillery sidewinder specs:

                                  Xaxis: homes at 0, left side (Panasonic GL8H optical NPN NC sensor)
                                  Yaxis: homes at back, but 0 is actually at the front (Panasonic GL8H optical NPN NC sensor)
                                  Z = Inductive ABL probe (Panasonic GXHL15A NPN NC sensor)

                                  Lastly, here is my RRFconfigurator custom config.g for RRF3.1:

                                  ; Configuration file for Duet WiFi (firmware version 3)
                                  ; executed by the firmware on start-up
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Aug 15 2020 15:29:14 GMT-0400 (EDT)
                                  ; General preferences
                                  G90 ; send absolute coordinates...
                                  M83 ; ...but relative extruder moves
                                  M550 P"Sidewinder X1 RRF3" ; set printer name
                                  ; Network
                                  M552 S0
                                  M552 S1 P192.168.1.50 ; Assign fixed IP address
                                  M553 P255.255.255.0 ; Assign Netmask to match my network
                                  M554 P192.168.1.1 ; Assign Gateway IP address to match network
                                  M552 S1 ; enable network
                                  M586 P0 S1 ; enable HTTP
                                  M586 P1 S0 ; disable FTP
                                  M586 P2 S0 ; disable Telnet
                                  ; Drives
                                  M569 P0 S1 ; physical drive 0 goes forwards
                                  M569 P1 S0 ; physical drive 1 goes backwards
                                  M569 P2 S0 ; physical drive 2 goes backwards
                                  M569 P3 S0 ; physical drive 3 goes backwards
                                  M584 X0 Y1 Z2 E3 ; set drive mapping
                                  M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                                  M92 X80.00 Y80.00 Z400.00 E415.00 ; set steps per mm
                                  M566 X900.00 Y900.00 Z60.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
                                  M203 X9000.00 Y9000.00 Z1500.00 E3000.00 ; set maximum speeds (mm/min)
                                  M201 X500.00 Y500.00 Z20.00 E166.67 ; 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 X300 Y340 Z400 S0 ; set axis maxima
                                  ; Endstops
                                  M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
                                  M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
                                  M574 Z2 S2 ; configure Z-probe endstop for high end on Z
                                  ; Z-Probe
                                  M558 P1 C"zprobe.in" H5 F600 T6000 ; set Z probe type to unmodulated and the dive height + speeds
                                  G31 P1000 X40 Y-41 Z2.5 ; set Z probe trigger value, offset and trigger height
                                  M557 X45:295 Y10:280 S40 ; 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 ; create bed heater output on bedheat and map it to sensor 0
                                  M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
                                  M140 H0 ; map heated bed to heater 0
                                  M143 H0 S130 ; set temperature limit for heater 0 to 130C
                                  M308 S1 P"e0temp" 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 S1.00 ; disable bang-bang mode for heater and set PWM limit
                                  ; Fans
                                  M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
                                  M106 P0 C"Layer Fan 1" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
                                  M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
                                  M106 P1 C"HE Fan 2" S1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on
                                  ; 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
                                  ; Custom settings are not defined
                                  ; Miscellaneous
                                  M575 P1 S1 B57600 ; enable support for PanelDue
                                  M501 ; load saved parameters from non-volatile memory
                                  M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

                                  and for reference, here is the back up of the RRF2.03. config.g that I made just before updating to RRF3 this afternoon:

                                  ; Configuration file for Duet WiFi (firmware version 2.03)
                                  ; executed by the firmware on start-up
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat Apr 11 2020 14:47:32 GMT-0400 (Eastern Daylight Time)
                                  ; Revised by Jake Allen on 4.18.2020 @ 10:30am EST
                                  ;-----General preferences-----------------------------------------------------------------------------------------------------------------
                                  G90 ; send absolute coordinates...
                                  M83 ; ...but relative extruder moves
                                  M550 P"Sidewinder X1" ; set printer name
                                  ;-----Network----------------------------------------------------------------------------------------------------------------------------
                                  M552 S0
                                  ;M552 S1 P192.168.1.50 ; Assign fixed IP address
                                  M553 P255.255.255.0 ; Assign Netmask to match my network
                                  M554 P192.168.1.1 ; Assign Gateway IP address to match network
                                  M552 S1 ; enable network
                                  M586 P0 S1 ; enable HTTP
                                  M586 P1 S0 ; disable FTP
                                  M586 P2 S0 ; disable Telnet
                                  ;-----Drives-----------------------------------------------------------------------------------------------------------------------------
                                  M569 P0 S0 D2 ; (X-Axis) drive 0 goes forwards (Jake wrong config M569 P0 S1)
                                  M569 P1 S1 D2 ; (Y-Axis) drive 1 goes forwards
                                  M569 P2 S1 D2 ; (Z-Axis) drive 2 goes forwards
                                  M569 P3 S1 D2 ; (Extruder) drive 3 goes backward with Bondtech (titan = S0, Bondtech = S1)
                                  M584 X0 Y1 Z2 E3 ; set drive mapping
                                  M350 X16 Y16 Z16 E16 I1 ; configure micro-stepping with interpolation
                                  M92 X80.12 Y80.12 Z399.78 E415.0 ; set steps per mm (from Jake's Marlin Setup) (titan=446mm)
                                  M566 X800.00 Y980.00 Z60.00 E2500.00 ; set maximum instantaneous speed changes (mm/min) --> E180 to E2500, Z12 to Z60
                                  M203 X9000.00 Y9000.00 Z1500.00 E3000.00 ; set maximum speeds (mm/min) --> X&Y from 6000 (100mm/s) to 9000 (150mm/s)
                                  M201 X800.00 Y800.00 Z400.00 E10000.00 ; set accelerations (mm/s^2) E10000
                                  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 X300 Y340 Z400 S0 ; set axis maxima (Changed Y from 300 to 345 to compensate for offset)
                                  ;-----Endstops---------------------------------------------------------------------------------------------------------------------------
                                  M574 X1 Y1 S0 ; set active low and disabled endstops (To enable Z-endstop add "Z1 or Z2" after y
                                  M574 Z1 S2 ; Define Z to use probe. S2=Home to min
                                  ;-----Z-Probe (BLtouch)------------------------------------------------------------------------------------------------------------------
                                  M307 H3 A-1 C-1 D-1 ; (Duet3d method) disable Heater7 to free up PWM channel 5 on Duex board for BLTouch
                                  M558 P5 H5 F600 A1 I1 ; GLH8 EndstopABL, Mode P=5, StartProbeH=5mm, Speed=300mm/min, #probes A=3, Invert signal for Endstop I=1
                                  ;BLTOUCH; M558 P9 H5 F100 T9000 ; (Duet3D method) P=Select Z-probe mode=9 BLtouch. H=DiveHeight abv bed(mm), F=Speed bed moves, T=TravelSpeed btwn pts
                                  G31 P25 X40 Y-41 Z1.385 ; P=Z probe trigger value,X&Y=offset mount relative to nozzle (mm), Z=trigger height 1.84
                                  ;(4020 Mosquito J&L Mount + HL15 Zoff=0.7mm, x=40, y=-41)
                                  ;(M18 probe,z=1.85mm, x=40, y=-50)
                                  ;Stock z-end=0.58
                                  ; Change P500 to P25 and X&Y=0 to X=40 & Y=-38 for probe offset vs. nozzle (3DChanh X58 Y-36)
                                  M557 X45:295 Y10:280 S40 ; define mesh grid (S20 = 143 points, S45 = 36pts) (Prev: M557 X15:285 Y15:285)
                                  ; Change X0:225 Y45:300 S45 to--> M557 X60:300 Y0:260 S20, S20=156pts, try S24 & S40 =100 & 36pts, Previously S=30
                                  ;-----Heaters----------------------------------------------------------------------------------------------------------------------------
                                  M140 H0 ; remap heated bed to heater 1
                                  M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
                                  M305 P0 T100000 B4138 R4700 ; set Bed thermistor + ADC parameters for heater 0
                                  M143 H0 S125 ; set temperature limit for heater 0 to 125C
                                  ;M305 P1 T100000 B4138 R4700 ;104GT E3D thermistor set thermistor + ADC parameters for heater 1
                                  M305 P1 T500000 B4723 C1.196220e-7 H20 ; Slice Engr 450°C thermistor Set thermistor +ADC parameters for H1
                                  M143 H1 S320 ; set temperature limit for heater 1 to 300C
                                  ;-----Fans--------------------------------------------------------------------------------------------------------------------------------
                                  M106 P1 S0 H-1 C"Layer_Fan" F500 ; Part Cool Layer Fan (8.14.20 blew Mosfets, some cntl Fan1 port so remapped)
                                  ;M106 P1 S1 H1 T45 C"Heatsink_Fan" F500 ; Hotend Heatsink Fan
                                  ;M106 P2 S0.75 H0 T45 C"BoardCool" F500 ; Ducted 4020 DuetBoard Cooling Fan, Bed=45c turn on fan 75%
                                  ;-----Tools-------------------------------------------------------------------------------------------------------------------------------
                                  M563 P0 S"HOTEND" D0 H1 F1 ; define tool 0 (8.14.20 change from F0 to F1 bc of blown mosfet remap)
                                  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-----------------------------------------------------------------------------------------------------------------------
                                  M501 ; load saved parameters from non-volatile memory
                                  M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                                  T0 ; select first tool
                                  ? 1 Reply Last reply 16 Aug 2020, 02:35 Reply Quote 0
                                  • ?
                                    A Former User @jallen810
                                    last edited by 16 Aug 2020, 02:35

                                    @jallen810 said in Possible PWM port issue & RRF3 Question:

                                    I had a blonde moment, I can't use a normal 2pin fan can I?
                                    I need a 3+ wire fan right? (sorry never actually used PWM function of fans before)

                                    to use with E1 output? you can use 2 pin fan. 3pin fans have tachometer for RPM feedback, 4pin fans have PWM input but i'd hesitate to drive the PWM input from a pin on the duet without doin some research

                                    undefined 1 Reply Last reply 16 Aug 2020, 03:44 Reply Quote 0
                                    • undefined
                                      jallen810 @A Former User
                                      last edited by jallen810 16 Aug 2020, 03:44

                                      @bearer okay so @Phaedrux said I can tag into the E1 heater for the 24v and then pick a heater pin on the expansion slot. My question is how do I actually physically wire this thing up?

                                      Red wire [from fan +V] ---> Heater4 (pin13)
                                      Black wire [from fan -V] ----> E1+24v

                                      Like this:
                                      Duet2WiFi Pinout 2.JPG

                                      ? 1 Reply Last reply 16 Aug 2020, 09:44 Reply Quote 0
                                      • undefined
                                        dc42 administrators @jallen810
                                        last edited by dc42 16 Aug 2020, 07:40

                                        @jallen810 said in Possible PWM port issue & RRF3 Question:

                                        So... I have a question, why are the PWM fan ports not protected by a fuse? The only issues I have ever had with this board has been these MOSFETs . I love this board, but this is a serious Debbie Downer...

                                        They are, on version 1.03 and later boards... but sadly fuses blow much more slowly than mosfets do.

                                        On later production we've switched to mosfets with a higher peak current rating, although that's unlikely to help when the output is shorted.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @jallen810
                                          last edited by 16 Aug 2020, 09:44

                                          @jallen810 said in Possible PWM port issue & RRF3 Question:

                                          Red wire [from fan +V] ---> Heater4 (pin13)
                                          Black wire [from fan -V] ----> E1+24v

                                          both wires to E1 output if the fan is 24v.
                                          red wire to Vin
                                          black wire to E1-
                                          (E1- is switched to ground when the output is enabled, to use heater4 or any of the other pins on the expansion you'll need an external mosfet to sink more current than the microcontroller can handle)

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