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

New firmware release 1.16rc2

Scheduled Pinned Locked Moved
Firmware installation
5
27
4.3k
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
    W3DRK
    last edited by 11 Jun 2016, 03:46 5 Nov 2016, 22:59

    Thanks David! So I am getting a PWM (or technically PPM in this case) signal on the heater pins now, but it's in 1ms frames rather than the typical 20ms most hobby servos expect.

    Is the frequency something I need to configure, or can the firmware simply default to 20ms when M280 is used since that's what servos expect anyway?

    The top trace is the signal as it is on the Duet expansion header, the bottom trace is the signal inverted with a small N-channel MOSFET which I have connected to the servo.

    1 Reply Last reply Reply Quote 0
    • undefined
      roboduet
      last edited by 11 May 2016, 23:40 5 Nov 2016, 23:33

      Just updated to this version. What does this mean for just homed delta printer and still energized at 100% steppers?

      Driver 0: stalled standstill
      Driver 1: stalled standstill
      Driver 2: stalled standstill

      During long vertical movement to X0 Y0 Z1:

      Driver 0: ok
      Driver 1: ok
      Driver 2: ok
      Driver 3: stalled standstill

      And after movement to X0 Y0 Z1:

      Driver 0: stalled standstill
      Driver 1: standstill
      Driver 2: standstill
      Driver 3: stalled standstill

      Seems like this values a bit random for me at this moment (values changing randomly depending on motor position). Or I'm doing something wrong?
      Also turned off motors (M84 command) does not change driver's status.

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by 6 Nov 2016, 06:22

        The stall detection threshold has to be tuned to match the motors and it is not reliable at low speeds. So you can ignore the stall status. The OK status just means that nothing else was reported. Other status items that can be reported are temperature warning, temperature shutdown, short to ground, and open load.

        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
          W3DRK
          last edited by 6 Nov 2016, 12:34

          Any thoughts on my observation? I'm not getting any servo movement from the 1khz signal, but I'm certain slowing it to 50hz would do the trick.

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 6 Nov 2016, 13:30

            @ronnien58:

            It looked like it did update to latest firmware however the system screen still shows previous update

            Software Information
            Firmware Name: RepRapFirmware for Duet WiFi
            Firmware Version: 1.15e (2016-10-02)
            WiFi Server Version: 1.02
            Web Interface Version: 1.12
            Web Interface by Christian Hammacher
            Licensed under the terms of the GPL v

            Files in System directory:

            DuetWebControl-1.13-rc1.bin 3.0 MiB
            DuetWebControl.bin 3.0 MiB
            DuetWiFiFirmware-1.16rc2.bin 248.7 KiB
            DuetWiFiServer-1.02.bin 288.3 KiB
            DuetWiFiServer.bin

            It looks like the update failed. Did you update over the web interface? If instead you copied the files directly on to the SD card on a PC, then you need to rename them to DuetWiFiFirmware.bin and DuetWebControl.bin before running M997 S0 and M997 s2.

            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
              dc42 administrators
              last edited by 6 Nov 2016, 13:38

              @W3DRK:

              Thanks David! So I am getting a PWM (or technically PPM in this case) signal on the heater pins now, but it's in 1ms frames rather than the typical 20ms most hobby servos expect.

              Is the frequency something I need to configure, or can the firmware simply default to 20ms when M280 is used since that's what servos expect anyway?

              The top trace is the signal as it is on the Duet expansion header, the bottom trace is the signal inverted with a small N-channel MOSFET which I have connected to the servo.

              https://i.imgur.com/FfVUPD7.jpg

              I'm sorry, I missed this post earlier. Which heater channel are you using? I am getting 20ms repeat interval in my tests, but I haven't tried every heater channel yet. Also, it is a Duet WiFi or a wired Duet?

              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
                demonio669
                last edited by 6 Nov 2016, 13:44

                Where can I download chrishamm's DWC 1.13rc1 for Duet 0.8.5? in chrishamm github the newest version is 1.12

                1 Reply Last reply Reply Quote 0
                • undefined
                  W3DRK
                  last edited by 6 Nov 2016, 13:46

                  No problem! It's a Duet 0.6 and I'm using heater 3 which is pin 21 on the expansion header.

                  I setup the pin for PWM using the following in config.g:

                  [c]M307 H3 A-1 C-1 D-1 ; Make Heater 3 (Exp Pin 21) available for PWM use[/c]

                  And commanding a servo angle using [c]M280 P3 S90[/c]

                  @dc42:

                  I'm sorry, I missed this post earlier. Which heater channel are you using? I am getting 20ms repeat interval in my tests, but I haven't tried every heater channel yet. Also, it is a Duet WiFi or a wired Duet?

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 6 Nov 2016, 13:48

                    @demonio669:

                    Where can I download chrishamm's DWC 1.13rc1 for Duet 0.8.5? in chrishamm github the newest version is 1.12

                    It's at https://github.com/dc42/RepRapFirmware/tree/dev/Release/Duet-0.6-0.8.5/Edge alongside the firmware.

                    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
                      dc42 administrators
                      last edited by 6 Nov 2016, 13:50

                      @W3DRK:

                      No problem! It's a Duet 0.6 and I'm using heater 3 which is pin 21 on the expansion header.

                      I setup the pin for PWM using the following in config.g:

                      [c]M307 H3 A-1 C-1 D-1 ; Make Heater 3 (Exp Pin 21) available for PWM use[/c]

                      And commanding a servo angle using [c]M280 P3 S90[/c]

                      @dc42:

                      I'm sorry, I missed this post earlier. Which heater channel are you using? I am getting 20ms repeat interval in my tests, but I haven't tried every heater channel yet. Also, it is a Duet WiFi or a wired Duet?

                      OK, I just tested all 5 external heaters on a Duet WiFi and they all have 20ms period, but I didn't check the interval on the wired Duet. I'll do that next.

                      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
                        W3DRK
                        last edited by 6 Nov 2016, 13:54

                        Excellent, thank you for all your hard work!

                        @dc42:

                        OK, I just tested all 5 external heaters on a Duet WiFi and they all have 20ms period, but I didn't check the interval on the wired Duet. I'll do that next.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          demonio669
                          last edited by 6 Nov 2016, 14:22

                          @dc42:

                          @demonio669:

                          Where can I download chrishamm's DWC 1.13rc1 for Duet 0.8.5? in chrishamm github the newest version is 1.12

                          It's at https://github.com/dc42/RepRapFirmware/tree/dev/Release/Duet-0.6-0.8.5/Edge alongside the firmware.

                          Thank You!!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 6 Nov 2016, 14:52

                            I have just released 1.16rc3 for the wired Duet only to correct this issue. Thanks for reporting 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
                            • undefined
                              W3DRK
                              last edited by 6 Nov 2016, 14:53

                              I'm heading over to my bench to try this out now, thanks!!

                              @dc42:

                              I have just released 1.16rc3 for the wired Duet only to correct this issue. Thanks for reporting it.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                W3DRK
                                last edited by 11 Jun 2016, 15:26 6 Nov 2016, 15:09

                                Perfect, that did the trick! I'm now able to control a BLtouch using M280. Thanks! Now to mount it on my ORD Bot and figure out how to setup Z-probing with a servo activated switch…

                                https://www.youtube.com/watch?v=W2N8Pkw_umM

                                Timing looks great… The voltage of the inverted signal is a little low due to the BLtouch dragging down the 100K pull-up resistor, but it doesn't seem to matter.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 6 Nov 2016, 16:46

                                  100K is a very high value for a pullup resistor on an output. Try 4.7K.

                                  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
                                    demonio669
                                    last edited by 6 Nov 2016, 17:35

                                    I hav Duet 0.8.5 I upload 1.16rc3 firmware and DWC 1.13rc1 and I have a problem:
                                    When I upload a gcode using Upload&Print button DWC gives me the error (I don't know if DWC or the firmware adds a "s/" in the begining of the filename )

                                    M32 s/GCODE_FILE_NAME.gcode
                                    Failed to open

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators
                                      last edited by 6 Nov 2016, 19:34

                                      Chrishamm has kindly fixed this in DWC 1.13rc3, which I have just added to the Release folders of my RepRapFirmware repository.

                                      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
                                        ronnien58
                                        last edited by 6 Nov 2016, 21:09

                                        @dc42:

                                        @ronnien58:

                                        It looked like it did update to latest firmware however the system screen still shows previous update

                                        Software Information
                                        Firmware Name: RepRapFirmware for Duet WiFi
                                        Firmware Version: 1.15e (2016-10-02)
                                        WiFi Server Version: 1.02
                                        Web Interface Version: 1.12
                                        Web Interface by Christian Hammacher
                                        Licensed under the terms of the GPL v

                                        Files in System directory:

                                        DuetWebControl-1.13-rc1.bin 3.0 MiB
                                        DuetWebControl.bin 3.0 MiB
                                        DuetWiFiFirmware-1.16rc2.bin 248.7 KiB
                                        DuetWiFiServer-1.02.bin 288.3 KiB
                                        DuetWiFiServer.bin

                                        It looks like the update failed. Did you update over the web interface? If instead you copied the files directly on to the SD card on a PC, then you need to rename them to DuetWiFiFirmware.bin and DuetWebControl.bin before running M997 S0 and M997 s2.

                                        Thanks David, I loaded the on the SD card and that did the trick. I am up and back to printing.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          demonio669
                                          last edited by 6 Nov 2016, 23:27

                                          @dc42:

                                          Chrishamm has kindly fixed this in DWC 1.13rc3, which I have just added to the Release folders of my RepRapFirmware repository.

                                          I download DWC 1.13rc3 and install in my duet and I try it and now it works!!!

                                          Thank you Chrishamm and dc42 !!!!!!!!

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