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

    New firmware 1.16 RC1

    Scheduled Pinned Locked Moved
    Firmware installation
    10
    29
    4.5k
    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.
    • W3DRKundefined
      W3DRK
      last edited by

      If I were to want to use a servo on a Duet 0.6 or 0.8.5, according to the Wiki there doesn't seem to be any "servo friendly" pins available on the expansion header.

      Assuming both fan channels are occupied, what pin would you recommend for controlling a servo on a Duet 0.8.5?

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

        Most servos expect a 5V control signal. The simplest solution is probably to take one of the heater control outputs on the expansion connector and use a 74HCT04, or a small signal mosfet a pull up resistor, or a NPN transistor and two resistors, to level shift it to 5V and at the same time invert it to get the correct polarity.

        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
        • jgrouseundefined
          jgrouse
          last edited by

          I may have found a bug in 1.16rc1/1.13 web controls - When you go to the G-Code Files section it just sits there saying loading. I rolled back to the 1.12 web controls and it does the same thing. Just about to roll back to 1.15e FW to see if that fixes it. Trying this initially on my old v0.6 Duet before the Wifi.

          1 Reply Last reply Reply Quote 0
          • W3DRKundefined
            W3DRK
            last edited by

            Thanks David. So I don't seem to be able to make this work. I've got a Duet 0.6 and BLtouch on my bench for testing, and I've just updated the Duet to 1.16 RC1.

            i've added the following two lines to the config to allow two pins to be used for servos:

            M307 H3 A-1 C-1 D-1 ; Make Heater 3 (Exp Pin 21) available for PWM use
            M307 H4 A-1 C-1 D-1 ; Make Heater 4 (Exp Pin 22) available for PWM use

            With a scope connected to the relevant expansion header pins (21, 22), as a test if I send the command M280 P3 S90, the only thing I see occur is the pin state switches from high to low, and stays there until the board is reset. No sign of a PWM burst being sent.

            The same behavior occurs with P4 (formally Heater 4), the pin goes low then stays there.

            Is there something I overlooked?

            @dc42:

            Most servos expect a 5V control signal. The simplest solution is probably to take one of the heater control outputs on the expansion connector and use a 74HCT04, or a small signal mosfet a pull up resistor, or a NPN transistor and two resistors, to level shift it to 5V and at the same time invert it to get the correct polarity.

            1 Reply Last reply Reply Quote 0
            • terabyteundefined
              terabyte
              last edited by

              Great news, and thank you for getting the release candidate out! How is this different from the betas? I have been using beta10 with no problems.

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

                @jgrouse:

                I may have found a bug in 1.16rc1/1.13 web controls - When you go to the G-Code Files section it just sits there saying loading. I rolled back to the 1.12 web controls and it does the same thing. Just about to roll back to 1.15e FW to see if that fixes it. Trying this initially on my old v0.6 Duet before the Wifi.

                Strange, it works fine for me on my Duet 0.6.

                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
                • dc42undefined
                  dc42 administrators
                  last edited by

                  @W3DRK:

                  Thanks David. So I don't seem to be able to make this work. I've got a Duet 0.6 and BLtouch on my bench for testing, and I've just updated the Duet to 1.16 RC1.

                  i've added the following two lines to the config to allow two pins to be used for servos:

                  M307 H3 A-1 C-1 D-1 ; Make Heater 3 (Exp Pin 21) available for PWM use
                  M307 H4 A-1 C-1 D-1 ; Make Heater 4 (Exp Pin 22) available for PWM use

                  With a scope connected to the relevant expansion header pins (21, 22), as a test if I send the command M280 P3 S90, the only thing I see occur is the pin state switches from high to low, and stays there until the board is reset. No sign of a PWM burst being sent.

                  The same behavior occurs with P4 (formally Heater 4), the pin goes low then stays there.

                  Is there something I overlooked?

                  I have tested this functionality on a Duet WiFi but not yet on a wired Duet. I shall try to find time to do this today.

                  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
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    @terabyte:

                    Great news, and thank you for getting the release candidate out! How is this different from the betas? I have been using beta10 with no problems.

                    The main changes since beta 10 are the per-tool fan mapping and the SD card file time stamping.

                    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
                    • AndreSundefined
                      AndreS
                      last edited by

                      Hi

                      I have a problem in gcode-file section, too.
                      I have 34 files and 6 directories, so 40 data entries. Directory is loaded well in WebControl.
                      If I add the next file, it will upload but at loading the entries again it throws an ajax error and disconnets.
                      After connecting again, you cant list this directory, its throws the error and disonnects.
                      I tried this with 33/7 and 32/8. Its allways the 41st entry that produces the error.
                      This was on my Duet 0.8.5.
                      I can connect and list this directory with ftp. I deleted one file over ftp and can now list the directory with WebControl.

                      Can someone please verify the problem with the 41st entry in a directory.

                      I may have found a bug in 1.16rc1/1.13 web controls - When you go to the G-Code Files section it just sits there saying loading.

                      This occured at mine too. But after reloading with F5 and checking that now you have under settings-general the correct WebInterface Version it dissappeard.

                      Andre

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

                        @AndreS:

                        Hi

                        I have a problem in gcode-file section, too.
                        I have 34 files and 6 directories, so 40 data entries. Directory is loaded well in WebControl.
                        If I add the next file, it will upload but at loading the entries again it throws an ajax error and disconnets.
                        After connecting again, you cant list this directory, its throws the error and disonnects.
                        I tried this with 33/7 and 32/8. Its allways the 41st entry that produces the error.
                        This was on my Duet 0.8.5.
                        I can connect and list this directory with ftp. I deleted one file over ftp and can now list the directory with WebControl.

                        I have reproduced a similar issue. I will liaise with chrishamm to sort out a fix.

                        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
                        • AndreSundefined
                          AndreS
                          last edited by

                          @W3DRK:

                          Thanks David. So I don't seem to be able to make this work. I've got a Duet 0.6 and BLtouch on my bench for testing, and I've just updated the Duet to 1.16 RC1.

                          i've added the following two lines to the config to allow two pins to be used for servos:

                          M307 H3 A-1 C-1 D-1 ; Make Heater 3 (Exp Pin 21) available for PWM use
                          M307 H4 A-1 C-1 D-1 ; Make Heater 4 (Exp Pin 22) available for PWM use

                          With a scope connected to the relevant expansion header pins (21, 22), as a test if I send the command M280 P3 S90, the only thing I see occur is the pin state switches from high to low, and stays there until the board is reset. No sign of a PWM burst being sent.

                          The same behavior occurs with P4 (formally Heater 4), the pin goes low then stays there.

                          Is there something I overlooked?

                          I can confirm that on a Duet 0.8.5, tried with H2 and H5.
                          After M42 P2/5 S# the pin goes low and stays there. No PWM.

                          Andre

                          1 Reply Last reply Reply Quote 0
                          • chrishammundefined
                            chrishamm administrators
                            last edited by

                            @roboduet:

                            I have included a beta of Chrishamm's 1.13 Duet Web control in the release folder. My thanks for Chrishamm for his work on this. I'll leave it to him to tell you all about it.

                            There will be AJAX errors fixed?

                            This problem should be fixed in an upcoming DuetWiFiServer version. Fortunately I managed to compile all the source files yesterday, so I'm going to check how this can be resolved. AFAIK the problem concerning empty JSON responses doesn't show up on wired Duets, so it must be related to bad communication between the client and the ESP8266 chip. Nevertheless I've fixed another problem in the AJAX error handler and I hope this will make things a bit more stable.

                            Here the preliminary changelog for DuetWebControl 1.16:

                            • Implemented control buttons, axis positions and home warnings for optional UVW axes
                            • Added new "time" key to rr_connect and to rr_upload requests for RTC support
                            • Added tooltip to G-Code file list to display last modified date and time (if available)
                            • Added new "Last modified" column to "Macros" and "System Directory" pages
                            • Second SD card can be mounted on the "G-Code Files" page (DuetWiFi only)
                            • Updated translations for v1.16
                            • Bug fix: CPU temperature was not displayed; Min+max values are shown via title
                            • Bug fix: Error reason wasn't explicitly converted to string in the AJAX error handler
                            • Bug fix: Print status response was not requested when Settings page was active
                            • Bug fix: Uploads should work well if an older Safari version or IE/Edge is used

                            Duet software engineer

                            1 Reply Last reply Reply Quote 0
                            • pkmundefined
                              pkm
                              last edited by

                              I updated firmware and DWC, now it can't print a G-code file after uploading, throwing error:

                              M32 s/Plate.gcode
                              GCode file "s/Plate.gcode" not found
                              Failed to open file s/Plate.gcode

                              But the uploaded file can be printed from G-Code Files section.

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

                                Unless you have a folder called /gcode/s containing a file called Plate.gcode, that was never going to work.

                                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
                                • pkmundefined
                                  pkm
                                  last edited by

                                  I understand that.
                                  But the error appears when I use "upload and print" button. So I guess that the system issues "M32 s/Plate.gcode" instead of "M32 Plate.gcode" after uploading.
                                  I tried different files, the error always pops out. But files upload correctly, I can print them from the list later.

                                  1 Reply Last reply Reply Quote 0
                                  • chrishammundefined
                                    chrishamm administrators
                                    last edited by

                                    Sorry pkm, my bad. This version should fix it: https://www.dropbox.com/s/hbzhwws1dfk01pw/DuetWebControl-1.13-rc2.bin?dl=0

                                    Please let me know if it's working.

                                    Duet software engineer

                                    1 Reply Last reply Reply Quote 0
                                    • W3DRKundefined
                                      W3DRK
                                      last edited by

                                      Thanks David!

                                      @dc42:

                                      I have tested this functionality on a Duet WiFi but not yet on a wired Duet. I shall try to find time to do this today.

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

                                        @W3DRK:

                                        Thanks David. So I don't seem to be able to make this work. I've got a Duet 0.6 and BLtouch on my bench for testing, and I've just updated the Duet to 1.16 RC1.

                                        i've added the following two lines to the config to allow two pins to be used for servos:

                                        M307 H3 A-1 C-1 D-1 ; Make Heater 3 (Exp Pin 21) available for PWM use
                                        M307 H4 A-1 C-1 D-1 ; Make Heater 4 (Exp Pin 22) available for PWM use

                                        With a scope connected to the relevant expansion header pins (21, 22), as a test if I send the command M280 P3 S90, the only thing I see occur is the pin state switches from high to low, and stays there until the board is reset. No sign of a PWM burst being sent.

                                        The same behavior occurs with P4 (formally Heater 4), the pin goes low then stays there.

                                        Is there something I overlooked?

                                        I have reproduced this and fixed it. I intend to release rc2 later today or tomorrow.

                                        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
                                        • W3DRKundefined
                                          W3DRK
                                          last edited by

                                          That's fantastic, thanks so much for your efforts!

                                          @dc42:

                                          I have reproduced this and fixed it. I intend to release rc2 later today or tomorrow.

                                          1 Reply Last reply Reply Quote 0
                                          • Adamfilipundefined
                                            Adamfilip
                                            last edited by

                                            After updating to RC1 my endstop E0 endstop for my Zprobe always says its triggered even if i reverse it.

                                            M574 X1 Y2 S1 ; Reverse Microswitches
                                            M574 E0 S0 ; Endstop for Zprobe on E0
                                            M558 P4 X0 Y0 Z1 H4 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
                                            G31 P600 X0 Y0 Z-1.1 ; Set Z probe trigger value, offset and trigger height

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