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

    Warning Light for Bed temp

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    8
    19
    1.2k
    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.
    • jay_s_ukundefined
      jay_s_uk @PaulHew
      last edited by

      @paulhew You can use the hotend too.

      The A parameter can be used to assign a fan to a different output pin, for example a spare heater output (use a M307 command to disable the heater and free up the pin first).

      From the info for M106 from the wiki.
      Is your case cooling fan always on? If so, switch that to one of the always on fan outputs.

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      1 Reply Last reply Reply Quote 1
      • PaulHewundefined
        PaulHew
        last edited by

        So I have issued the following command to disable the heater2, my spare heater port.
        M307 H2 A-1 C-1 D-1

        When I send the next command I get this
        M42 P3 S0
        Error: M42: Logical pin 3 is not available for writing

        Obviouly I am doing something wrong, I am not a GCode wizard!
        This board is a Duet Maestro

        RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
        Voron 2.4 disassembled..... Waiting for the RailCore Mini....

        dc42undefined 1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @PaulHew
          last edited by dc42

          @paulhew said in Warning Light for Bed temp:

          M42 P3 S0
          Error: M42: Logical pin 3 is not available for writing

          P3 is Heater 3. Use P2 in that M42 command.

          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

          PaulHewundefined 1 Reply Last reply Reply Quote 0
          • PaulHewundefined
            PaulHew @dc42
            last edited by

            @dc42 Thank You David.
            Doh! LED now works.
            I was going to write a line like this which I use for my can fan control
            M106 P2 T25:65 L128 H100:101:102 ;Case fan temp control

            So
            M106 P2 T35:100 H0
            But I can already see the issue in regards to the P2. Can I map the logical pin2 to a new fan number, so I can use P3 in that line?
            Or am I going about this the wrong way?

            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

            dc42undefined 1 Reply Last reply Reply Quote 0
            • DocTruckerundefined
              DocTrucker
              last edited by

              80C thermal normaly open (at room temp) switch. No software involvement needed.

              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

              PaulHewundefined 1 Reply Last reply Reply Quote 1
              • PaulHewundefined
                PaulHew @DocTrucker
                last edited by

                @doctrucker said in Warning Light for Bed temp:

                80C thermal normaly open (at room temp) switch. No software involvement needed.

                Sorry, I do not understand.
                I would like the lamp to be lit if the bed is still hot, I have a glass bed and it takes a while to cool and I do not always have DWC open, hence by using code so it can read the temp and light the LED if conditions are met.

                RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                DocTruckerundefined 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  Search for KSD-01F and you'll find lots of cheap chinesium parts that will work, just pick a temperature and a normally open (NO) part.

                  Run the lamp in series with the bimetallic switch attached to the bed, it will only conduct if above its marked temperature. It will work with the only requirement being that power supply is on.

                  1 Reply Last reply Reply Quote 0
                  • DocTruckerundefined
                    DocTrucker @PaulHew
                    last edited by

                    Hi @paulhew. @bearer beat me to it.

                    In a nutshell it's the reverse of a kettle bimetallic switch, but self resets.

                    It closes once the switch hits a certain temperature and opens once it cools below that temp give or take a little hysteresis. Commonly used as a really simple fan controller.

                    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @PaulHew
                      last edited by

                      @paulhew said in Warning Light for Bed temp:

                      But I can already see the issue in regards to the P2. Can I map the logical pin2 to a new fan number, so I can use P3 in that line?

                      Yes, you can use:

                      M106 P3 A2

                      then fan 3 will be mapped to heater 2 output.

                      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

                      PaulHewundefined 1 Reply Last reply Reply Quote 0
                      • PaulHewundefined
                        PaulHew @dc42
                        last edited by

                        @dc42 said in Warning Light for Bed temp:

                        M106 P3 A2

                        Thanks DC.
                        After disabling H2 again, even though it is in my config.g, I tested to make sure the LED illuminates which it does, then issued your string.
                        M106 P3 A2
                        Error: M106: Fan number 3 is invalid, must be between 0 and 2

                        Should it work with a Duest Maestro?

                        P.

                        RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                        Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @PaulHew
                          last edited by

                          @paulhew said in Warning Light for Bed temp:

                          @dc42 said in Warning Light for Bed temp:

                          M106 P3 A2

                          Thanks DC.
                          After disabling H2 again, even though it is in my config.g, I tested to make sure the LED illuminates which it does, then issued your string.
                          M106 P3 A2
                          Error: M106: Fan number 3 is invalid, must be between 0 and 2

                          Should it work with a Duest Maestro?

                          P.

                          Good point, the Maestro is limited to 3 fans in RRF 2. The RRF3 early beta for the Maestro supports 4 fans, but the way you setup the pin mapping is different. See https://forum.duet3d.com/post/91906 if you want to try it.

                          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
                          • PaulHewundefined
                            PaulHew
                            last edited by

                            Thanks David.
                            I could move one of my fans, like the case fan.
                            I was going to ask in the rrf3 forum, but can I take a decent ssd card, format it and drop rrf3 on it an keep my original card and swap if need be?
                            Thanks again David and all, it is appreciated.
                            Ask me a network question or something about model helicopters and I could help back!

                            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                            dc42undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators @PaulHew
                              last edited by

                              @paulhew, a copy of your existing config should work except as described at https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview.

                              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
                              • Phaedruxundefined
                                Phaedrux Moderator @PaulHew
                                last edited by

                                @paulhew said in Warning Light for Bed temp:

                                Thanks David.
                                I could move one of my fans, like the case fan.
                                I was going to ask in the rrf3 forum, but can I take a decent ssd card, format it and drop rrf3 on it an keep my original card and swap if need be?
                                Thanks again David and all, it is appreciated.
                                Ask me a network question or something about model helicopters and I could help back!

                                The firmware doesn't reside on the SD card itself, rather, the bin file for the firmware is written onto the board itself, so to swap between firmwares you would need to reflash each time.

                                Z-Bot CoreXY Build | Thingiverse Profile

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