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

Smart Effector hotend fan and Lights

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
35
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
    dc42 administrators @oryhara
    last edited by dc42 29 Nov 2019, 14:11

    @oryhara said in Smart Effector hotend fan and Lights:

    To the best of my knowledge, the V_FAN_A on the maestro goes to the +Hfan on the microfit connector and the Fan0- on the maestro goes to -Hfan on the microfit. Yet the command to turn on the fan does not turn it on.

    We recommend that you use fan 0 for the print cooling fan and fan 1 for the heatsink fan. So you should connect the Hfan pins on the Smart Effector to the Fan1 outputs on the Maestro, not the Fan0 output.

    The LED string on the Smart Effector is connected in parallel with the heatsink fan. If the LEDs light up when you connect the effector to the Maestro, but they turn off when you connect the heatsink fan as well, then the fan output that they are connected to probably has a blown mosfet.

    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
    • undefined
      oryhara
      last edited by 29 Nov 2019, 15:06

      blown mosfet means replace the maestro board?

      I was trying to work around having to do that.

      In other news: I've upgraded to RRF3, and now my tool0 heater shows as undefined.
      I think I have to use M950 to define the tool0 heater, but I'm struggling to understand the documentation as to how i should do that.

      Here's config and override:

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

      ; General preferences
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Delta Settings
      M665 L440.440 R226.821 H420 B185.0 X0 y0 z0 ; Set delta radius, diagonal rod length, printable radius and homed height
      M666 X0 y0 z0 A0.00 B0.00 ; Put your endstop adjustments here, or let auto calibration find them

      ; Network
      M550 P"Predator" ; Set machine name
      M551 P"" ; Set password
      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 S0 ; Drive 0 goes forwards
      M569 P1 S0 ; Drive 1 goes forwards
      M569 P2 S0 ; Drive 2 goes forwards
      M569 P3 S0 ; Drive 3 goes forwards - extruder
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z80.00 E415 ; Set steps per mm
      M566 X3000 Y3000 Z3000 E3000 ; Set maximum instantaneous speed changes (mm/min)
      M203 X12000.00 Y12000.00 Z12000.00 E12000 ; Set maximum speeds (mm/min)
      M201 X9000.00 Y9000.00 Z9000.00 E6000.00 ; Set accelerations (mm/s^2)
      M906 X1800.00 Y1800.00 Z1800.00 E900.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Retraction
      M207 S1.85 F7000 R0 T2500 Z0.5 ; Firmware retraction

      ; Axis Limits
      M208 Z-1 S1 ; Set minimum Z

      ; Endstops
      M574 X2 Y2 Z2 S1 ; Set active high endstops

      ; Z-Probe
      M558 P8 R0.4 F1200 H2 T5000 ; Set Z probe type to switch and the dive height + speeds
      G31 P100 X0 Y0 Z-.1 ; Set Z probe trigger value, offset and trigger height
      M557 R175 S20 ; Define mesh grid

      ; Heaters
      M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit
      M308 P0 T100000 B4300 C0 R2200 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
      M308 P1 T100000 B4725 C7.06e-8 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S290 ; Set temperature limit for heater 1 to 240C
      M307 H2 A-1 C-1 D-1 ; Disconnect H2 from being a heater - LED

      ; Fans
      M950 F0 C"fan2" Q500 ;set fan B as fan 0
      M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 T30 H100:101:102 ;sets up an electronics cooling fan that starts to turn on when the MCU temperature (virtual heater 100) reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual heaters 101 and 102) report that they are over-temperature

      ; Tools
      M563 P0 D0 H1 ; 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

      ; Automatic saving after power loss is not enabled

      ; Custom settings are not configured
      M591 D0 P2 C4 S0 ; Activate filament sensor
      M404 N1.75 ; Set for print monitor
      M592 D0 A0.011806 B0.0026876 ; Nonlinear extrusion. Set parameters for extruder drive 0 - 0.4mm
      M575 P1 B57600 S1

      ; Miscellaneous
      M501 ; Load saved parameters from non-volatile memory

      ; This is a system-generated file - do not edit
      ; Delta parameters
      M665 L440.440 R220.804 H410.714 B185.0 X-0.174 Y-0.027 Z0.000
      M666 X-0.368 Y-0.441 Z0.809 A0.00 B0.00
      ; Heater model parameters
      M307 H0 A137.8 C533.3 D1.5 S1.00 V24.3 B0
      M307 H1 A799.6 C271.4 D4.4 S1.00 V24.0 B0
      G10 L2 P1 X0.00 Y0.00 Z0.00
      G10 L2 P2 X0.00 Y0.00 Z0.00
      G10 L2 P3 X0.00 Y0.00 Z0.00
      G10 L2 P4 X0.00 Y0.00 Z0.00
      G10 L2 P5 X0.00 Y0.00 Z0.00
      G10 L2 P6 X0.00 Y0.00 Z0.00
      G10 L2 P7 X0.00 Y0.00 Z0.00
      G10 L2 P8 X0.00 Y0.00 Z0.00
      G10 L2 P9 X0.00 Y0.00 Z0.00

      blog: https://deltahedron.net

      undefined 1 Reply Last reply 29 Nov 2019, 16:34 Reply Quote 0
      • undefined
        dc42 administrators @oryhara
        last edited by 29 Nov 2019, 16:34

        @oryhara said in Smart Effector hotend fan and Lights:

        blown mosfet means replace the maestro board?

        It's possible to replace the fan mosfets.

        ; Heaters
        M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit
        M308 P0 T100000 B4300 C0 R2200 ; Set thermistor + ADC parameters for heater 0
        M143 H0 S120 ; Set temperature limit for heater 0 to 120C
        M308 P1 T100000 B4725 C7.06e-8 ; Set thermistor + ADC parameters for heater 1
        M143 H1 S290 ; Set temperature limit for heater 1 to 240C
        M307 H2 A-1 C-1 D-1 ; Disconnect H2 from being a heater - LED

        For each heater, you need define its temperature sensor first using M308, then define the heater using M950. Then define its model using M307 and if desired its temperature limit using M143.

        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
        • undefined
          oryhara
          last edited by 29 Nov 2019, 16:46

          How much solder skill is needed to replace the fan mosfet? I rate mine at 5/10.

          ok so I'm missing the M950 in there for heater 1.

          It should be:

          M950 H1 C"out1" T1

          in there between the M308 and M143 ?

          blog: https://deltahedron.net

          undefined undefined 2 Replies Last reply 29 Nov 2019, 16:51 Reply Quote 0
          • undefined
            dc42 administrators @oryhara
            last edited by 29 Nov 2019, 16:51

            @oryhara said in Smart Effector hotend fan and Lights:

            How much solder skill is needed to replace the fan mosfet? I rate mine at 5/10.

            Quite a lot. Is there a Makerspace or Hackspace near you?

            ok so I'm missing the M950 in there for heater 1.

            It should be:

            M950 H1 C"out1" T1

            in there between the M308 and M143 ?

            Yes, and move the M307 command to be after the M950 command too.

            It can be helpful to run M98 P"config.g" from the console to see if there are any error messages.

            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
            • undefined
              oryhara @oryhara
              last edited by 29 Nov 2019, 16:51

              My M950 is not working because I don't know the right name of the e0 heater pin.

              10:50:47 AMM950 H1 C"e0" T1
              Error: Unknown pin name 'e0'
              10:50:43 AMM950 H1 C"e0 heater" T1
              Error: Unknown pin name 'e0heater'
              10:49:53 AMM950 H1 C"heatere0" T1
              Error: Unknown pin name 'heatere0'
              10:49:48 AMM950 H1 C"heater" T1
              Error: Unknown pin name 'heater'
              10:49:44 AMM950 H1 C"heater0" T1
              Error: Unknown pin name 'heater0'
              10:49:25 AMM950 H1 C"out0" T1
              Error: Unknown pin name 'out0'
              10:49:10 AMM950 H1 C"e0heater" T1
              Error: Unknown pin name 'e0heater'
              10:49:03 AMM950 H1 C"e0-" T1
              Error: Unknown pin name 'e0'
              10:48:56 AMM950 H1 C"e0" T1
              Error: Unknown pin name 'e0'
              10:48:44 AMM950 H1 C"h1" T1
              Error: Unknown pin name 'h1'
              10:48:40 AMM950 H1 C"heater1" T1
              Error: Unknown pin name 'heater1'
              10:48:35 AMM950 H1 C"out1" T1
              Error: Unknown pin name 'out1'
              10:48:05 AMM950 H1
              Error: Heater 1 does not exist

              blog: https://deltahedron.net

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 29 Nov 2019, 16:53

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

                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 29 Nov 2019, 16:54 Reply Quote 0
                • undefined
                  oryhara @dc42
                  last edited by 29 Nov 2019, 16:54

                  @dc42
                  thank you. I swear i searched for that.

                  Per that list, it should be "out1" yes?
                  that did not work. that was the example in the documentation for m950, so i tried it first.

                  blog: https://deltahedron.net

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    oryhara
                    last edited by 29 Nov 2019, 16:56

                    I see my mistake.

                    it should be: !e0heat

                    blog: https://deltahedron.net

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      oryhara
                      last edited by 29 Nov 2019, 17:04

                      Got the extruder heater working, but my temp sensor readings are wonky. It thinks its a 450* C

                      blog: https://deltahedron.net

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 29 Nov 2019, 17:30

                        What type of temperature sensor are you using?

                        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
                        • undefined
                          oryhara
                          last edited by 29 Nov 2019, 17:56

                          A thermistor.

                          I checked and it actually was at 450C

                          I guess the hotend heater was turned on this whole time i've been trying to sort it out. or something.
                          I should have smelled it sooner.

                          blog: https://deltahedron.net

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            oryhara
                            last edited by 29 Nov 2019, 18:04

                            There is an error about heater 1 being overpowered. It came up when I did the PID tune.

                            blog: https://deltahedron.net

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              oryhara
                              last edited by 29 Nov 2019, 19:09

                              ok. I got most of it working. Fan 2 acts as Fan0(part cooling fan), and the bed and extruder heater operate as expected.
                              Except: G30 tries to do manual bed probing. I'm guessing that my Z-probe was not set up properly. Back to the config.g for me.

                              In case anyone is following:

                              ; Configuration file for Duet WiFi (firmware version 1.21)
                              ; executed by the firmware on start-up
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

                              ; General preferences
                              G90 ; Send absolute coordinates...
                              M83 ; ...but relative extruder moves

                              ; Delta Settings
                              M665 L440.440 R226.821 H420 B185.0 X0 y0 z0 ; Set delta radius, diagonal rod length, printable radius and homed height
                              M666 X0 y0 z0 A0.00 B0.00 ; Put your endstop adjustments here, or let auto calibration find them

                              ; Network
                              M550 P"Predator" ; Set machine name
                              M551 P"" ; Set password
                              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 S0 ; Drive 0 goes forwards
                              M569 P1 S0 ; Drive 1 goes forwards
                              M569 P2 S0 ; Drive 2 goes forwards
                              M569 P3 S0 ; Drive 3 goes forwards - extruder
                              M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                              M92 X80.00 Y80.00 Z80.00 E415 ; Set steps per mm
                              M566 X3000 Y3000 Z3000 E3000 ; Set maximum instantaneous speed changes (mm/min)
                              M203 X12000.00 Y12000.00 Z12000.00 E12000 ; Set maximum speeds (mm/min)
                              M201 X9000.00 Y9000.00 Z9000.00 E6000.00 ; Set accelerations (mm/s^2)
                              M906 X1800.00 Y1800.00 Z1800.00 E900.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
                              M84 S30 ; Set idle timeout

                              ; Retraction
                              M207 S1.85 F7000 R0 T2500 Z0.5 ; Firmware retraction

                              ; Axis Limits
                              M208 Z-1 S1 ; Set minimum Z

                              ; Endstops
                              M574 X2 Y2 Z2 S1 ; Set active high endstops

                              ; Z-Probe
                              M558 P8 R0.4 F1200 H2 T5000 ; Set Z probe type to switch and the dive height + speeds
                              G31 P100 X0 Y0 Z-.1 ; Set Z probe trigger value, offset and trigger height
                              M557 R175 S20 ; Define mesh grid

                              ; Heaters
                              M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit
                              M308 S0 P"bedtemp" Y"thermistor" F0 T100000 B4300 C0 R2200 ; Set thermistor + ADC parameters for heater 0
                              M950 H0 C"bedheat" T0
                              M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                              M308 S1 P"e0_temp" Y"thermistor" F0 T100000 B4725 C7.06e-8 ; Set thermistor + ADC parameters for heater 1
                              M950 H1 C"e0heat" T1 ; Define Heater 1
                              M143 H1 S290 ; Set temperature limit for heater 1 to 240C
                              M307 H2 A-1 C-1 D-1 ; Disconnect H2 from being a heater - LED

                              ; Fans
                              M950 F2 C"nil"
                              M950 F0 C"fan2" ;set fan B as fan 0
                              ;M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                              M106 P1 T30 H100:101:102 ;sets up an electronics cooling fan that starts to turn on when the MCU temperature (virtual heater 100) reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual heaters 101 and 102) report that they are over-temperature

                              ; Tools
                              M563 P0 D0 H1 ; 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

                              ; Automatic saving after power loss is not enabled

                              ; Custom settings are not configured
                              M591 D0 P2 C4 S0 ; Activate filament sensor
                              M404 N1.75 ; Set for print monitor
                              M592 D0 A0.011806 B0.0026876 ; Nonlinear extrusion. Set parameters for extruder drive 0 - 0.4mm
                              M575 P1 B57600 S1

                              ; Miscellaneous
                              M501 ; Load saved parameters from non-volatile memory

                              ; This is a system-generated file - do not edit
                              ; Delta parameters
                              M665 L440.440 R220.804 H410.714 B185.0 X-0.174 Y-0.027 Z0.000
                              M666 X-0.368 Y-0.441 Z0.809 A0.00 B0.00
                              ; Heater model parameters
                              M307 H0 A137.8 C533.3 D1.5 S1.00 V24.3 B0
                              M307 H1 A799.6 C271.4 D4.4 S1.00 V24.0 B0
                              G10 L2 P1 X0.00 Y0.00 Z0.00
                              G10 L2 P2 X0.00 Y0.00 Z0.00
                              G10 L2 P3 X0.00 Y0.00 Z0.00
                              G10 L2 P4 X0.00 Y0.00 Z0.00
                              G10 L2 P5 X0.00 Y0.00 Z0.00
                              G10 L2 P6 X0.00 Y0.00 Z0.00
                              G10 L2 P7 X0.00 Y0.00 Z0.00
                              G10 L2 P8 X0.00 Y0.00 Z0.00
                              G10 L2 P9 X0.00 Y0.00 Z0.00

                              blog: https://deltahedron.net

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                dc42 administrators
                                last edited by 30 Nov 2019, 11:16

                                @oryhara said in Smart Effector hotend fan and Lights:

                                M558 P8 R0.4 F1200 H2 T5000 ; Set Z probe type to switch and the dive height + speeds

                                You haven't defined the Z probe input pin. See https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M558. For a Smart Effector on a Duet Maestro, use C"zprobe.in+zprobe.mod".

                                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
                                • undefined
                                  oryhara
                                  last edited by 30 Nov 2019, 16:01

                                  yep. that did it. thank you.

                                  blog: https://deltahedron.net

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    oryhara
                                    last edited by 30 Nov 2019, 17:12

                                    @dc42

                                    regarding the fan mosfet, I reached out to filastruder(where I bought my maestro) about an RMA and they said that unless you or another duet admin authorizes the warranty repair, it's a no-go.

                                    I have my fan2 workaround functioning, so just how "not ideal" is it to have the hotend fan always-on and the print fan running from Fan 2?

                                    blog: https://deltahedron.net

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      oryhara
                                      last edited by 4 Dec 2019, 20:34

                                      so i'm getting warnings from my MCU that its at 46-47 degrees. I know 45 is the cutoff, but its holding stable just a few degrees above that.

                                      I'm concerned that my fan A mosfet may be even less functional, since that is what is running the MCU fan.

                                      Its on the Fan 1 output. I have it set to turn on if the MCU is above 30(despite the comments in my gcode above), and without the proportionaly control.
                                      Is there a way to test the speed of a 2-wire fan?

                                      or can i drive a fan from something else like one of the expansions slots or the second heater? E1, that is.

                                      blog: https://deltahedron.net

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        oryhara
                                        last edited by oryhara 12 May 2019, 16:08 5 Dec 2019, 16:07

                                        At the risk of dredging up a dead thread, i want to give one last update.
                                        I didn't calibrate the MCU temperature sensor, so i'm going to do that and it should fix the issue i mentioned in my previous post.

                                        blog: https://deltahedron.net

                                        1 Reply Last reply Reply Quote 1
                                        • undefined
                                          dc42 administrators
                                          last edited by dc42 12 May 2019, 21:41 5 Dec 2019, 21:39

                                          Re the blown fan MOSFET, it's likely that when the fan wire came loose from the connector, it shorted to something else, and that blew the MOSFET. I'm sorry, this sort of thing isn't covered by the warranty. However, Filastuder may be able to put you in touch with our stateside Duet repairer, if you haven't a local hackspace or makerspace where you can get it done. Or you could watch https://youtu.be/LADgxZgyJ04, practice on an old hard disk drive, and if that gives you enough confidence then do it yourself. If you can remove the blown MOSFET without lifting the traces, fitting the new one is easy.

                                          Re CPU temperature, 45C is not unusual. The CPU will function up to at least 85C die temperature.

                                          HTH David

                                          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
                                          13 out of 35
                                          • First post
                                            13/35
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA