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

Duet 2 Ethernet and SBC

Scheduled Pinned Locked Moved
Beta Firmware
29
302
32.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.
  • undefined
    wilriker @SAtech
    last edited by 13 Oct 2020, 07:14

    @SAtech said in Duet 2 Ethernet and SBC:

    The only thing that is a little troublesome is sometimes the movement is quite jerky. Like in a long travel move it will just stop for a few ms and resume, as if the duet is choking on step generation. I don't think this is happening, but that's how I can best describe it.

    If that persists please open a new thread (since this one is getting very long and a bit hijacked 😉 ) and include your config.g as well as the M122 output that @bearer mentioned and a sample GCode file.

    Manuel
    Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
    with probably always latest firmware/DWC (incl. betas or self-compiled)
    My Tool Collection

    1 Reply Last reply Reply Quote 0
    • undefined
      wilriker
      last edited by 21 Oct 2020, 11:26

      @smoki3 After what felt like ages (sorry for that) I finally got to rig up a Duet 2 + DueX5 + SBC. It's just a bench setup but at least I attached steppers, a thermistor and a PT1000. I intentionally ran all stepper wires over the SPI wires but I cannot see a single checksum error or any problems at all.

      wiringmess.jpg

      Did you retest with latest RRF 3.2-beta2? If you still experience your problems please provide me with your full 0:/sys directory contents as well as all possibly other required macros and a GCode file so I can try to reproduce it.

      Manuel
      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
      with probably always latest firmware/DWC (incl. betas or self-compiled)
      My Tool Collection

      undefined undefined 2 Replies Last reply 21 Oct 2020, 11:42 Reply Quote 0
      • undefined
        smoki3 @wilriker
        last edited by 21 Oct 2020, 11:42

        @wilriker I have only tested with 3.2 beta 1.

        Have you tried stall detection on a core xy? The tool changer has 6 axis and all are homed with stall detection.

        If I find some time I will assemble my duet Ethernet again to check if its fixed on beta 2.

        undefined 1 Reply Last reply 21 Oct 2020, 11:44 Reply Quote 0
        • undefined
          wilriker @smoki3
          last edited by 21 Oct 2020, 11:44

          @smoki3 As you can see it's simply something cobbled together on my desk. It is configured as a simple 3 axis Cartesian and is only pseudo-homed using G92 XYZ. So maybe that is the problem already. If possible you could test if it works for you if you use G92 as well. Maybe it's just stallDetect that fails.

          Manuel
          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
          with probably always latest firmware/DWC (incl. betas or self-compiled)
          My Tool Collection

          undefined 1 Reply Last reply 21 Oct 2020, 11:46 Reply Quote 0
          • undefined
            smoki3 @wilriker
            last edited by 21 Oct 2020, 11:46

            @wilriker said in Duet 2 Ethernet and SBC:

            @smoki3 As you can see it's simply something cobbled together on my desk. It is configured as a simple 3 axis Cartesian and is only pseudo-homed using G92 XYZ. So maybe that is the problem already. If possible you could test if it works for you if you use G92 as well. Maybe it's just stallDetect that fails.

            As far I remember homing was one of the main issue. But let me check again with beta 2. I will come back to you

            undefined 1 Reply Last reply 21 Oct 2020, 11:58 Reply Quote 0
            • undefined
              seraser
              last edited by seraser 21 Oct 2020, 11:48

              Can anybody explain me advantages of sbc attached to duet?

              ? undefined undefined 3 Replies Last reply 21 Oct 2020, 12:54 Reply Quote 0
              • undefined
                wilriker @smoki3
                last edited by 21 Oct 2020, 11:58

                @smoki3 said in Duet 2 Ethernet and SBC:

                As far I remember homing was one of the main issue. But let me check again with beta 2. I will come back to you

                I tried stallGuard as endstop now (manually blocking the motor shafts) and still no problems. So maybe putting the LinuxInterface into its own FreeRTOS task solved it eventually. Looking forward to your feedback.

                Manuel
                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                with probably always latest firmware/DWC (incl. betas or self-compiled)
                My Tool Collection

                undefined 1 Reply Last reply 30 Oct 2020, 09:44 Reply Quote 0
                • ?
                  A Former User @seraser
                  last edited by 21 Oct 2020, 12:54

                  @seraser said in Duet 2 Ethernet and SBC:

                  Can anybody explain me advantages of sbc attached to duet?

                  for now not much more than being able to run DWC on a hdmi touch screen instead of paneldue (and more flexible networking as you'll have both wifi and ethernet).

                  but as plugins are added to DSF it will offer added functionality (and of course its easier to develop your own stuff on the pi rather than in the reprap firmware)

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    arhi @seraser
                    last edited by 21 Oct 2020, 15:36

                    @seraser said in Duet 2 Ethernet and SBC:

                    Can anybody explain me advantages of sbc attached to duet?

                    none attm

                    probbly "plugins" in future, plugins that will be capable of modifying g-code real time while printing (like octoprint for e.g.)

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      seraser
                      last edited by 21 Oct 2020, 15:45

                      Thank you @bearer and @arhi so I will not play with my rasp4.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        jay_s_uk @seraser
                        last edited by 21 Oct 2020, 15:58

                        @seraser the wifi is much better using an SBC than the wifi onboard. That's about it

                        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

                        undefined undefined 2 Replies Last reply 21 Oct 2020, 16:10 Reply Quote 0
                        • undefined
                          seraser @jay_s_uk
                          last edited by 21 Oct 2020, 16:10

                          @jay_s_uk I know WiFi is weak in duetwifi so I've installed wifi repetier near for three printers with duetwifi, thank you.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            arhi @jay_s_uk
                            last edited by 21 Oct 2020, 16:24

                            @jay_s_uk rpi's wifi is not that good neither 😄

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              smoki3 @wilriker
                              last edited by 30 Oct 2020, 09:44

                              @wilriker so I assembled again my duet 2 ethernet/sbc today to my tool changer. I tried beta 2 and self compiled version from today. Both are not working. Still not able to home my axis. The printer is hanging for ever.

                              I still get some of these in my console:

                              	Warning: Lost connection to Duet (Timeout while waiting for transfer ready pin)
                              

                              Please find attached the macros and config

                              https://drive.google.com/file/d/1FoRAUD1e0sretY_o9-dE64mefawPdo6K/view?usp=sharing
                              https://drive.google.com/file/d/1e9l60tG5hqTCH676g0_RTc9dDypd09Uk/view?usp=sharing

                              undefined undefined 2 Replies Last reply 30 Oct 2020, 10:09 Reply Quote 0
                              • undefined
                                jay_s_uk @smoki3
                                last edited by 30 Oct 2020, 10:09

                                @smoki3 that error pretty much always points to a wiring issue.
                                We get that a lot on the LPC/STM port when new users first start out so I would go back to inspecting your wiring.

                                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

                                undefined 1 Reply Last reply 30 Oct 2020, 10:16 Reply Quote 1
                                • undefined
                                  arhi @smoki3
                                  last edited by 30 Oct 2020, 10:14

                                  @smoki3 are you using duex too? if I remember correctly duet2+sbc is not working if you use duex too ... I might be wrong

                                  undefined 1 Reply Last reply 30 Oct 2020, 10:15 Reply Quote 0
                                  • gloomyandyundefined
                                    gloomyandy
                                    last edited by 30 Oct 2020, 10:15

                                    @smoki3 "Warning: Lost connection to Duet" may mean that the firmware has stopped responding. Are you getting any sort of firmware reset/crash?

                                    undefined 1 Reply Last reply 30 Oct 2020, 10:17 Reply Quote 0
                                    • undefined
                                      smoki3 @arhi
                                      last edited by smoki3 30 Oct 2020, 10:15

                                      @arhi said in Duet 2 Ethernet and SBC:

                                      @smoki3 are you using duex too? if I remember correctly duet2+sbc is not working if you use duex too ... I might be wrong

                                      We try to debug it. As you read this thread completely... This was the reason for starting of this thread. It never was about the hardware/pcb design

                                      undefined 1 Reply Last reply 30 Oct 2020, 11:37 Reply Quote 0
                                      • undefined
                                        smoki3 @jay_s_uk
                                        last edited by 30 Oct 2020, 10:16

                                        @jay_s_uk doesn't seems to be any wiring issue. As you read in the thread I already tested all of different wirings...

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          smoki3 @gloomyandy
                                          last edited by 30 Oct 2020, 10:17

                                          @gloomyandy said in Duet 2 Ethernet and SBC:

                                          @smoki3 "Warning: Lost connection to Duet" may mean that the firmware has stopped responding. Are you getting any sort of firmware reset/crash?

                                          Sometimes it crashes sometimes it hangs forever until I do a manual reset.

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