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

    Klipper on Duet 3 Mainboard

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    15
    43
    11.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.
    • Luke'sLaboratoryundefined
      Luke'sLaboratory @rockydubb
      last edited by

      @rockydubb

      I have two 6hc's on my desk right now in various states of klipper-ification. We're currently trying to figure out something spooky in the clock code - it initializes serial comms on UART1 correctly, but something goes haywire immediately after and it freaks out and stops talking.

      Sorry, but we are working on it.

      Luke
      http://lukeslab.online

      rockydubbundefined slazundefined 2 Replies Last reply Reply Quote 1
      • rockydubbundefined
        rockydubb @Luke'sLaboratory
        last edited by

        @luke-slaboratory Wow, okay great to hear you guys are working on it. Thanks for letting me know! I'll be looking forward to trying it out once its ready. Thanks for the update!

        Ender 5 Plus - Duet 3 6HC / TMC5160's
        Creality CR-10 V2 - Duet 2 Wi-Fi / TMC5160's
        FlashForge Inventor Dual Extruder / Bondtech BMG Dual Extruders

        1 Reply Last reply Reply Quote 0
        • slazundefined
          slaz @Luke'sLaboratory
          last edited by

          @luke-slaboratory Is there any chance that you got further on this? Would appreciate it lots. Thanks lots in advance for all the work you do

          Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
          • Luke'sLaboratoryundefined
            Luke'sLaboratory @slaz
            last edited by

            @slaz

            I'm finally back up-and-runnning after moving my family across our state and getting started with a new job.

            Progress was essentially paused until a little bit ago.

            Sorry for the continued delay, life be busy 😕

            Luke
            http://lukeslab.online

            slazundefined 1 Reply Last reply Reply Quote 2
            • slazundefined
              slaz @Luke'sLaboratory
              last edited by

              @luke-slaboratory First of all congrats on the new job 😉 hope it's something you like. No need to be sorry, family and personal things come first 😉 I can thank you for the work you do and can say lots of people appreciate it and we are glad that you work on this. Thanks for the update and will stand by and looking forward 😉 Stay safe

              1 Reply Last reply Reply Quote 0
              • slazundefined
                slaz
                last edited by

                Hi @Luke-sLaboratory, me again bothering you. Sorry for it. Just wanted to ask if there is any more progress on this one? Can't wait for it. Thanks lots in advance

                Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                • Luke'sLaboratoryundefined
                  Luke'sLaboratory @slaz
                  last edited by

                  @slaz

                  d7eb52fe-9126-4d30-a7b7-40a76da2fe2d-image.png

                  Needs a massive re-do, but it talks. Needs USB driver next.

                  Luke
                  http://lukeslab.online

                  DxCxundefined 1 Reply Last reply Reply Quote 1
                  • slazundefined
                    slaz
                    last edited by

                    Nice nice. That is amazing. Thank you lots for the update. You are doing so great. I will go back in my shell and keep waiting and hoping 🙂 Much appreciated by the way

                    1 Reply Last reply Reply Quote 0
                    • DxCxundefined
                      DxCx @Luke'sLaboratory
                      last edited by

                      @luke-slaboratory This looks great! Kudos!
                      I just received my duet 3 board and wanting to run klipper on it..
                      Are there any news? Are you planing to contribute it back when done? (Like to offical klipper repo)

                      Also, if u need help with testing / porting i have some experience with other projects / code, maybe i can help out 🙂

                      Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                      • Luke'sLaboratoryundefined
                        Luke'sLaboratory @DxCx
                        last edited by

                        @dxcx

                        There are people far smarter than me working on it right now - they'll be officially adding it when its ready.

                        Luke

                        Luke
                        http://lukeslab.online

                        cloudseedsundefined 1 Reply Last reply Reply Quote 0
                        • flopo76undefined
                          flopo76
                          last edited by flopo76

                          Hello,i flashed my duet 3 mini,for a Voron 2.4,but klipper not recognized uart adress for the driver 5 and 6 with !1 and !2 Work only first 3 driver uart_pin 1...2..and 3. Other drivers with !1 not recognized.

                          Pins for reference:

                          Driver Step Pins - 0:PC26, 1:PC25, 2:PC24, 3:PC19, 4:PC16, 5:PC30, 6:PC18

                          Driver Dir pins - 0:PB3, 1:PB29, 2:PB28, 3:PD20, 4:PD21, 5:PB0, 6:PA27

                          Driver Enable - !PC28

                          Uart addresses - 0:0 1:1 2:2 3:3 4:!0 5:!1 6:!2 | "!" is for inverted select pin

                          Thermistor Pins - T0:PC0, T1:PC1, T2:PC2

                          Vssa Sense:PB4 | Vref Sense:PB5

                          Current Sense resistor for drivers - .076ohm

                          SPI lines:{PD11, PC7} -> Shared SerCom#7, SPIMosi:PC12, SPIMiso:PC15, SPISCLK:PC13

                          Vin Monitor:PC3, uses 11:1 voltage divider

                          LED's - Diag:PA31, Act:PA30

                          12864 LCD - LCDCSPIN:PC6, ENCA:PC11, ENCB:PD1, ENCSW:PB9, LCD A0:PA2, LCDBeep:PA9, LCD Neopixel Out:PB12 (shared with IO3.out)

                          Neopixel Out - PA8

                          Serial0 - TX:PB25, RX:PB24 (USB)

                          Serial1 - TX:PB31, RX:PB30

                          SBC SPISS pin:PA6, SBCTfrReady:PA3, SerComPins:{PA4, PA5, PA6, PA7}

                          CAN Pins - TX:PB14 RX:PB15

                          Heaters, Fan outputs - {Out0:PB17 Out1:PC10 Out2:PB13 Out3:PB11 Out4:PA11, Out5:PB2, Out6:PB1} | Out6 is shared with VFD_Out

                          GPIO_out - {IO1:PB31 IO2:PD9 IO3:PB12 IO4:PD10} IO4 is shared with PSON

                          GPIO_in - {IO1:PB30 IO2:PD8 IO3:PB7 IO4:PC5 IO5:PC4 IO6:PC31}

                          Driver Diag - {D0:PA10, D1:PB8, D2:PA22, D3:PA23, D4:PC21, D5:PB10, D6:PA27}

                          Mux Pin - PD0

                          EXP headers only support 12864 LCD's

                          Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                          • Luke'sLaboratoryundefined
                            Luke'sLaboratory @flopo76
                            last edited by

                            @flopo76 you need to invert the "select" pin, not the address pins -

                            Luke
                            http://lukeslab.online

                            flopo76undefined 1 Reply Last reply Reply Quote 0
                            • flopo76undefined
                              flopo76 @Luke'sLaboratory
                              last edited by

                              In this way?

                              [stepper_x]
                              #driver6 X in MOTOR B
                              step_pin: PC18
                              dir_pin: !PA27
                              enable_pin: !PC28
                              microsteps: 16
                              rotation_distance: 40
                              endstop_pin: ^PC31
                              position_endstop: 0
                              position_max: 450

                              [tmc2209 stepper_x]
                              uart_pin: PA1
                              tx_pin: PA0
                              select_pins: !PD0
                              uart_address: 2
                              run_current: 1
                              sense_resistor: 0.076

                              mitchundefined 1 Reply Last reply Reply Quote 0
                              • cloudseedsundefined
                                cloudseeds @Luke'sLaboratory
                                last edited by

                                @luke-slaboratory is there a fork somewhere to participate in that development / testing?

                                rockydubbundefined 1 Reply Last reply Reply Quote 0
                                • rockydubbundefined
                                  rockydubb @cloudseeds
                                  last edited by

                                  @Luke-sLaboratory Hi Luke, did you manage to get Klipper working on the Duet 3 6HC board? Thanks!

                                  Ender 5 Plus - Duet 3 6HC / TMC5160's
                                  Creality CR-10 V2 - Duet 2 Wi-Fi / TMC5160's
                                  FlashForge Inventor Dual Extruder / Bondtech BMG Dual Extruders

                                  Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                                  • Luke'sLaboratoryundefined
                                    Luke'sLaboratory @rockydubb
                                    last edited by

                                    @rockydubb

                                    Just merged. Configs to come "soon"

                                    https://github.com/Klipper3d/klipper/pull/5366

                                    eamaclean opened this pull request in Klipper3d/klipper

                                    closed Add SAM E70 support #5366

                                    Luke
                                    http://lukeslab.online

                                    dhusoloundefined 1 Reply Last reply Reply Quote 2
                                    • dhusoloundefined
                                      dhusolo @Luke'sLaboratory
                                      last edited by

                                      @luke-slaboratory That's great news. Do you know if Duet Tool Board support will be included as well?

                                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                      • jay_s_ukundefined
                                        jay_s_uk @dhusolo
                                        last edited by

                                        @dhusolo klipper doesn't support CAN-FD so I doubt 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

                                        1 Reply Last reply Reply Quote 0
                                        • ibashundefined
                                          ibash
                                          last edited by

                                          For future travelers, I was one of the folks testing Alex Maclean's work. I haven't used the latest (time) but wanted to share my config as an example. Note it might have bugs, but hopefully gets you started: https://github.com/ibash/railcore-klipper/blob/main/ibash.cfg

                                          1 Reply Last reply Reply Quote 0
                                          • zaptaundefined
                                            zapta
                                            last edited by

                                            @ibash said in Klipper on Duet 3 Mainboard:

                                            https://github.com/ibash/railcore-klipper/blob/main/ibash.cfg

                                            The Klipper config is much more readable and user friendly than the RRF config. Just saying.

                                            https://forum.duet3d.com/topic/24849/rrf-configuration-using-object-model-notation?_=1649511582658

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