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

    Maestro To WiFi v1.04 SD files

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    24
    1.6k
    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.
    • NoSkillzEngineerundefined
      NoSkillzEngineer
      last edited by

      Hope this is in the right section, if it's not tell me.

      So my mind is made up about abandoning the Duet Maestro because I have had nothing but problems with the Extruder Drivers on the Maestro, always giving me a "Short-to-ground" error when I start printing. I can send commands to the board through the DWC and it extrudes perfectly. Go to print and it errors out. Only at 700 milliamps and on the Discord server I was told those amperages were too high and the driver likely overheated. Regardless, I'm done with it, I've never had that issue with a duet wifi so whatever.

      I'm curious what needs to be changed assuming all the same hardware is being used that was previously functional on the Maestro.

      The wiring of the BL Touch I changed from black and brown GND being connected to the proper Z probe GND and pin #2 on the expansion header just as the duet wiki suggests. Orange is connected to #8 and red is #1.

      My current config from my Maestro has:

      M574 Z1 S2
      M558 P9 H5 F100 T2000

      And according to the forum link that is to be referenced, it appears I must add:

      M307 H3 A-1 C-1 D-1 ; use pin 3 on header for bltouch

      In the SD card files under sys I also notice "DuetMaestroFirmware.bin"

      Can I legitimately just swap this file for the "DuetWiFiServer.bin" file that came pre-installed on the WiFi's SD card and call it a day?

      Is there any other changes that I must make between the two? Using a regular thermistor so no daughterboard stuff. Same voltages, same amperages, and the WiFi vs Ethernet should be automatic, and I shouldn't have to change anything regarding networking I'm assuming.

      Is there anything I'm not catching? Anything else I need to do?

      Thank you in advance.

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        The firmware bin files are just backups of the firmware files. During an update they get applied to the internal firmware space. The files on the SD card aren't used after that. So the wifi board you change to will already have the wifi firmware on it.

        You'll also have to change the deployprobe and retractprobe macros to reference the new servo pin number you've chosen, which looks like #3.

        Your motor currents may need to be updated in config.g. For the Wifi target 70-85% of max rated.

        I can't think of anything else that needs to be changed but I could be wrong.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • NoSkillzEngineerundefined
          NoSkillzEngineer
          last edited by

          I have all the motors at 1000 for the amperage, shouldn't be an issue, I've gone significantly higher with similar motors.

          It looks like

          Deployprobe.g needs to contain the line:
          M280 P3 S10 I1

          And Retractprobe.g needs to contain the line:
          M280 P3 S90 I1

          Pin #1 should be 3.3v and I believe pin #8 should be 5v. This sound right? But it looks like dc42 says not to use "I1" in the M280 command....looks like it comes out.

          Deployprobe.g needs to contain the line:
          M280 P3 S10;

          And Retractprobe.g needs to contain the line:
          M280 P3 S90;

          ......now he said it is needed? Grrr...I'm confused. The forum posts were back in 2017, not sure what applies to the Duet 2 Wifi 1.04.

          Hesitant to turn it on without knowing.

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            The I1 will likely be needed. I think it's different if you're using a duex to connect the probe.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • NoSkillzEngineerundefined
              NoSkillzEngineer
              last edited by

              Okay, thank you! I'll see what happens! Haha

              1 Reply Last reply Reply Quote 0
              • aidarundefined
                aidar
                last edited by

                And of course you need to change your network part in config.

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

                  The TMC2224 drivers on the Maestro can handle 700mA easily. The maximum recommended current is 1400mA but you need to cool the board well at such high currents.

                  My guess is that you have the extruder driver configured to run in stealthChop mode even at high speeds, and this is causing a problem during retraction and re-prime moves, but not at the lower speeds used for extrusion. You can control the speed at which the driver changes over from stealthChop to spreadCycle using the M569 V parameter. I suggest you try V4000 in the M569 commands for your extruder drive. Alternatively, put the driver into spreadCycle mode at all speeds by using D2 on the M569 command.

                  If you want to switch to a Duet WiFi, you have already identified the changes to the bltouch configuration. The other changes are WiFi networking vs. Ethernet. The M552 S parameter is still used to enable/disable networking, however if you were setting a static IP address in M552 then for the WiFi that needs to be set in the M587 command used to set up your access point parameters.

                  The main firmware file for the Duet WiFi is now Duet2CombinedFirmware.bin. Also copy file iap4e.bin into /sys because it is needed to do firmware updates (on the Maestro it is iap4s.bin).

                  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

                  NoSkillzEngineerundefined 1 Reply Last reply Reply Quote 0
                  • NoSkillzEngineerundefined
                    NoSkillzEngineer @dc42
                    last edited by

                    @dc42 Wow! Thank you very much, that was way more than I expected. So I'll keep the amperage down a bit to test it on the WiFi until I can print the case/enclosure for the duet. I'll test that solution for the Maestro and see if that solves my problems with it. I will update the firmware and bring the files over to the SD card as well, I forgot that the "iap4e.bin" was needed, I forgot that is what was responsible for it. I'll test all that today and post my results! Thank you so much!

                    1 Reply Last reply Reply Quote 0
                    • NoSkillzEngineerundefined
                      NoSkillzEngineer
                      last edited by NoSkillzEngineer

                      So I'm connected to my WiFi and X and Y both home correctly.

                      The BL Touch does not deploy so it will inevitably crash if I let it.

                      Question:

                      ; Duet Wifi v1.04
                      ; deployprobe.g
                      ; called to deploy a physical Z probe
                      ;
                      ; generated by RepRapFirmware Configuration Tool v2 on Wed Feb 13 2019 21:37:53 GMT-0500 (Eastern Standard Time)
                      M280 P8 S10 I1

                      Where should I connect the BL Touch and what should my M280 command be, what pin should I be connected to, and how does the M307 relate to the BL Touch for remapping?

                      ; BLTouch config updated-02.13.2019
                      M574 Z1 S2 ; Set endstops controlled by probe
                      M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                      M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
                      G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
                      M557 X35:220 Y35:220 S20 ; Define mesh grid

                      The probe does it's little power-on self-test it does with the board turns on, but I get

                      Error: M280: Invalid servo index 8 in M280 command

                      Error: M280: Invalid servo index 3 in M280 command

                      Error: M280: Invalid servo index 2 in M280 command

                      If I try to change the pin number in the M280 command and send M401 (deploy probe) manually.

                      The red wire, which should be 5v is connected to pin 1, the brown which should be GND is connected to pin 2 and the Orange which should be the signal or servo wire is connected to pin 8 which should be Heater 3 right? What am I doing wrong?? Running the latest firmware.

                      For the record, I have gone through the documentation and the forum linked in the documentation and it's hard for me to discern which applies to my application. I've read through

                      https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

                      G-Code wiki on M280 and M307, the wiki on BL Touch and it feels like I'm missing a deeper understanding of the connection between these. I don't understand what I'm doing wrong.

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

                        If you have connected the servo control wire to the heater 3 pin on the expansion connector, you need to use P3 in the M280 commands, not P8. You also need to use M307 H3 A-1 C-1 D-1 in config.g to disable heater 3. It's all covered at https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch.

                        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

                        NoSkillzEngineerundefined 1 Reply Last reply Reply Quote 0
                        • NoSkillzEngineerundefined
                          NoSkillzEngineer @dc42
                          last edited by NoSkillzEngineer

                          @dc42

                          M280 P3 S10 I1

                          M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch

                          And Orange physically connected to pin 3 or pin 8 and it still gives me

                          Error: M280: Invalid servo index 3 in M280 command

                          Is this line correct?

                          M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds

                          I thought this configuration was correct. I do not understand what I'm doing wrong.

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            Check this out: https://forum.duet3d.com/topic/7325/finally-got-the-bltouch-working-on-the-maestro/2

                            Z-Bot CoreXY Build | Thingiverse Profile

                            NoSkillzEngineerundefined 1 Reply Last reply Reply Quote 0
                            • NoSkillzEngineerundefined
                              NoSkillzEngineer @Phaedrux
                              last edited by

                              @phaedrux Yeah, no, I got the BL Touch working on the Maestro, but now I'm on the WiFi and I do not understand why I can't get it working on the WiFi.

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @NoSkillzEngineer
                                last edited by

                                @noskillzengineer 🤦 Sorry. Brain malfunction.

                                Do you have a config-override.g? It's possible that your M037 H3 A-1 C-1 D-1 is being overwritten.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                NoSkillzEngineerundefined 1 Reply Last reply Reply Quote 0
                                • NoSkillzEngineerundefined
                                  NoSkillzEngineer @Phaedrux
                                  last edited by

                                  @phaedrux why yes, I do. I'll try putting that in the override file.

                                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator @NoSkillzEngineer
                                    last edited by

                                    @noskillzengineer You can add a ; to comment out any existing M307 in there.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    NoSkillzEngineerundefined 1 Reply Last reply Reply Quote 0
                                    • NoSkillzEngineerundefined
                                      NoSkillzEngineer @Phaedrux
                                      last edited by NoSkillzEngineer

                                      @phaedrux

                                      [;M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0]

                                      M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch

                                      Apparently I was overwriting my M307 command.

                                      Commented out that line and for good measure added M307 H3 A-1 C-1 D-1 into my Config override file, restarted the board, and it works 😂

                                      Thank you, I wouldn't have thought of that!

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        Glad you got it working.

                                        I should have linked this yesterday. https://duet3d.dozuki.com/Wiki/BLTouch_Troubleshooting

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        NoSkillzEngineerundefined 1 Reply Last reply Reply Quote 0
                                        • NoSkillzEngineerundefined
                                          NoSkillzEngineer @Phaedrux
                                          last edited by

                                          @phaedrux lmao yeah, I wish I knew that link existed. That needs to be linked in the wiki under "Connecting Z Probe" under "BLTouch" with the other links there. That would've solved my problems haha.

                                          I just noticed my temperature sensors read 37 and 39 C for the hot end and bed, respectively. Same configuration that I had on my Maestro. Why would it be so far off from room temperature?

                                          Phaedruxundefined Vetiundefined 2 Replies Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator @NoSkillzEngineer
                                            last edited by

                                            @noskillzengineer said in Maestro To WiFi v1.04 SD files:

                                            That needs to be linked in the wiki under "Connecting Z Probe" under "BLTouch" with the other links there.

                                            Done.

                                            What thermistor are you using?

                                            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