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

    Adding support for the enraged rabbit carrot feeder (ERCF)

    Scheduled Pinned Locked Moved
    Accessories and Add-ons
    12
    64
    11.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.
    • dc42undefined
      dc42 administrators @PCR
      last edited by

      @pcr you need both a Tx (normally Pad 0) pin and a Rx (any pad) pin on the same UART to control the TMC drivers. You've chosen to use PA12 for the Tx pin, so one option would be to use PA13 for the Rx pin and move STEP_1 to another PA pin. Or you could use PA20 and PA22 for the UART as we do on the tool board.

      Another constraint is that every pin used as a digital input pin (including the two DIAG inputs from the TMC2209s) should be on a separate EXINT number.

      You can choose whether to run the SAMC21 at 3.3V or 5V. The TMC2209s must use the same voltage on the VCCIO pin.

      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

      PCRundefined 1 Reply Last reply Reply Quote 1
      • o_lampeundefined
        o_lampe @pfn
        last edited by

        @pfn said in Adding support for the enraged rabbit carrot feeder (ERCF):

        the kit I got has a less-than-straight D-shaft

        I studied the build instructions and to me it seems, it's pretty easy to bend the D-shaft during assembly.
        There are some points were it can go wrong.

        • Wrong height of the center bearing support
        • Wrong length of the smooth rod assembly
        • or just from handling the lower assembly without the top assembly
        pfnundefined 1 Reply Last reply Reply Quote 0
        • pfnundefined
          pfn @o_lampe
          last edited by

          @o_lampe it's certainly a possibility that this is self inflicted. I already have 3 more rods on the way to help make sure it's less likely I end up with a bent rod if that's the case.

          o_lampeundefined danzaywerundefined 2 Replies Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @pfn
            last edited by

            @pfn
            I didn't want to blame you, but prepare for the new d-shaft.

            pfnundefined 1 Reply Last reply Reply Quote 1
            • pfnundefined
              pfn @pfn
              last edited by

              new demo video:

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

              Alex.crundefined 1 Reply Last reply Reply Quote 5
              • Alex.crundefined
                Alex.cr @pfn
                last edited by Alex.cr

                @pfn

                My tip forming isn't tuned yet, but at the moment it's a 10mm extrusion at 5mm/s, followed by unloading 80mm at 5mm/s; this part is actually really what takes longest

                In regard to tip forming, I have been working on tuning this while my kit comes in.
                Below is what is working for me in ABS so far if you are interested. I am using a Mosquito and LGX.

                ;called to unload filament from the nozzle to support the ERCF
                
                G1 E4.0 F500 
                G1 E-10.0 F1500
                G4 S1 
                G1 E-10.0 F300
                G4 S1
                G1 E-20.0 F700
                G1 E-60.0 F1000
                
                

                Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                1 Reply Last reply Reply Quote 1
                • pfnundefined
                  pfn @o_lampe
                  last edited by

                  @o_lampe I think most of the stalling issues are related to poor dimensional accuracy/warping on my abs prints, I have no enclosure, so stuff isn't perfectly accurate.

                  1 Reply Last reply Reply Quote 0
                  • pfnundefined
                    pfn @pfn
                    last edited by pfn

                    It prints!

                    alt text

                    Still some issues to resolve:
                    cooling moves performed by superslicer immediately before changing filaments cause RRF to constantly flag that there's a filament-error: "tooLittleMovement" is detected. I don't know how to get around this yet. I'll try to generate a print job that replicates the cooling move and see how this triggers RRF into erroring.

                    Errors during filament swapping while printing don't necessarily get handled well, M98 R1 doesn't seem to behave exactly as I expect, sometimes my macros appear to continue executing to the end (macroRestarted is false) and silently failing even though my full call stack has M98 R1 set.

                    Some other tuning needs to be done around final filament parking and documenting how this could be used by more folks.

                    Alex.crundefined 1 Reply Last reply Reply Quote 3
                    • PCRundefined
                      PCR @dc42
                      last edited by

                      @dc42

                      67598415-8c3f-48d7-a511-eb6685370187-grafik.png

                      Just update the schmematic. 😉 I compeltly forgot about hte RX TX thign honestly. Last time i made a board wtih Stepper UART contoll it was the same mistake

                      1 Reply Last reply Reply Quote 0
                      • Alex.crundefined
                        Alex.cr @pfn
                        last edited by Alex.cr

                        @pfn

                        I just got my ERCF installed and working on tuning now. I am just getting started but most things seem to be working. I am having two issues and curious what your thoughts are.

                        I am running the following setup, SBC+6HC+3HC+1LC. The ERCF has everything using the 3HC. Extruder on the 1LC. Running 3.4.0beta6 (2021-11-06 11:38:57). I am also using your most recent set of uploads to github as of 3 hours ago.

                        Here are the two alarms,Untitled picture.png

                        I am hoping the first one doesn't matter too much and corrects itself based upon when the ERCF extruder is selected. This may or may not be true and may need some rethinking if people do not have the encoder on the same board as their main extruder?

                        I think the second error seems like an SBC issue? @chrishamm ? Are you running on an SBC or standalone?
                        Here is the .g file that it references:

                        echo >{global.ercf_selector_file} "; AUTOGENERATED FILE DO NOT EDIT"
                        echo >>{global.ercf_selector_file} "set global.ercf_selector_pos = " ^ global.ercf_selector_pos
                        echo >>{global.ercf_selector_file} "set global.ercf_extruder_loaded = " ^ global.ercf_extruder_loaded
                        

                        And a screen shot of the variables:
                        Untitled picture2.png

                        Curious what your thoughts are. Thanks for the hard work!

                        Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                        pfnundefined 1 Reply Last reply Reply Quote 0
                        • pfnundefined
                          pfn @Alex.cr
                          last edited by

                          @alex-cr the first error is legitimate, you cannot use runout sensing during printing if the sensor and print extruder are not on the same board.

                          A filament sensing workaround will need to be developed. Should be pretty easy, a macro called from daemon.g while a print is running and reconcile pulse count with extruded distance. And leave the encoder trigger always enabled.

                          For now, you can comment out the M591 of filament-sensing.g; filament runout sensing is not necessary for normal ERCF operation. It's an added bonus of having an ERCF. Runout sensing would be necessary for a future endless spool mode which has not yet been implemented.

                          With regard to SBC mode, it's something I, personally, won't use until a killer application becomes available. The second error is likely due to SBC. I do not know how this could be worked around. There's likely some fixes that would need to be done to support the sbc gcode parsing disparity.

                          Good luck and thanks for being a willing guinea pig!

                          PCRundefined Alex.crundefined 2 Replies Last reply Reply Quote 0
                          • PCRundefined
                            PCR @pfn
                            last edited by

                            @pfn think @T3P3Tony mentioned that in some further release they will allow a simple runout switch without the extruder on the same board. Something for 3.4 stable?

                            1 Reply Last reply Reply Quote 1
                            • danzaywerundefined
                              danzaywer @pfn
                              last edited by danzaywer

                              @pfn
                              Hi, I am happy to have found your configuration and I want to study it. I have been using a Smuff V6 for some time and am printing the ERCF to exchange it. My general configuration is the following:
                              duet 2 wifi + duex5 powered with ATX (5v rail on duex)
                              endstop on smuff instead of the encoder
                              endstop in the extruder (afterburner with v6)
                              servo
                              V axis for feed
                              U axis for the selector
                              the logic I use is (not exaustive):
                              Load

                              • check presence of endstop smuff
                              • check presence of endstop extruder
                              • possible error management (half-finished wire or selector not free)
                              • home selector if not homed and move to position {((global.selectorOffSetfromEndstop) + (state.nextTool * global.toolDistance))}
                              • servo on
                              • switch "V" endstop to smuff endstop high
                              • extrude to the first endstop
                              • switch "V" endstop to stall detection
                              • extrude to stall
                              • switch "V" endstop to extruder endstop high
                              • assignment of motor "E" and motor "V" to the V axis
                              • extrude V (double motor) up to second endstop
                              • servo off
                              • restore one motor for V axis and one for extruder
                              • switch "V" endstop to none
                              • extrude to hotend

                              Unload

                              • macro execution tip
                              • servo on
                              • unload with E and V fixed distance to bring the filament out of the extruder (there is no need for endstop so no motor reassignment)
                              • switch "V" endstop to smuff endstop low
                              • while endstop not triggered
                                • Unload with V to endstop in Smuff
                                • if more than 2 try send message to continue try so I can remove clogg
                              • switch "V" endstop to none
                              • Unload with V a fixed quantity to free the selector (50mm for SmuFF)
                              • servo off

                              if you want I can post my files but they are not well commented

                              pfnundefined 1 Reply Last reply Reply Quote 0
                              • danzaywerundefined
                                danzaywer @pfn
                                last edited by

                                @pfn
                                I didn't understand how you invoke the macros during the tool change, do you have to insert the macro call in the slicer?

                                pfnundefined 1 Reply Last reply Reply Quote 0
                                • danzaywerundefined
                                  danzaywer @pfn
                                  last edited by

                                  @pfn
                                  where you buy D-shaft rod?

                                  1 Reply Last reply Reply Quote 0
                                  • Alex.crundefined
                                    Alex.cr @pfn
                                    last edited by

                                    @pfn
                                    Thanks for the feedback.

                                    @alex-cr the first error is legitimate, you cannot use runout sensing during printing if the sensor and print extruder are not on the same board.

                                    I knew this was the case, what I didn't realize is that your software was turning the encoder into a filament monitor. Neat feature but I will skip it for now. I now realize that you are reading the individual pulses and your software routes around that limitation. Nice work!

                                    With regard to SBC mode... I do not know how this could be worked around...

                                    I have a work around. Comment out the line below and everything works great!:

                                    echo >{global.ercf_selector_file} "; AUTOGENERATED FILE DO NOT EDIT"
                                    

                                    Good luck and thanks for being a willing guinea pig!

                                    Not a problem, thanks for contributing the lions share of the work!

                                    I have most of the initial setup completed now. Had to work through issues with the selector axis losing steps. Took me a while to figure that out...

                                    Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                                    Alex.crundefined 1 Reply Last reply Reply Quote 0
                                    • Alex.crundefined
                                      Alex.cr @Alex.cr
                                      last edited by

                                      @pfn

                                      In regards to the encoder trigger rate. Are you having any issues with the rate at which the trigger#.g file fires to accurately count the filament as it loads to the extruder? It appears to be VERY feedrate dependent.

                                      I am wondering if this is another issue with SBC. Ill have to dig through the upgrade notes again and see if I can find anything on max trigger values.

                                      Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                                      pfnundefined 1 Reply Last reply Reply Quote 0
                                      • pfnundefined
                                        pfn @danzaywer
                                        last edited by

                                        @danzaywer logic wise, it's pretty similar, there's a few things I could handle better that isn't done yet: detecting a jam in the selector, and handling mid-bowden stoppages.

                                        I'd also like to use stall detection for loading, but it seems my ERCF build isn't robust enough to grip filament sufficiently tightly to stall 😞

                                        There's no endstops in my implementation, so there's no motor reassignment for the extruder loading move, it's just a single 2 axis move G1 Ex Vx Fy the encoder detects whether filament was successfully loaded into the extruder.

                                        Another difference is that state is saved, so that reboots and power cycles assume the ERCF remains in its previous position, homing is really only done once, and otherwise to recover from selector jams.

                                        danzaywerundefined 1 Reply Last reply Reply Quote 0
                                        • pfnundefined
                                          pfn @danzaywer
                                          last edited by pfn

                                          @danzaywer until I decide to use Tx to switch tools, the current mechanism is to add machine specific toolchange gcode: M98 P"ercf/lib/load-tool.g" Tx

                                          There's also some problems around properly changing temperatures if changing material type that comes with not using Tx, I'm not sure if I want to cave and use the tool notation for changing filaments.

                                          You can buy D shafts from powge on aliexpress.

                                          In the US, you can buy 5mm precision round stainless rod from McMaster which you would then have to grind yourself.

                                          danzaywerundefined Alex.crundefined 2 Replies Last reply Reply Quote 0
                                          • pfnundefined
                                            pfn @Alex.cr
                                            last edited by

                                            @alex-cr on my duet2, for testing, I was able to reliably get 70-100 pulses per second in some standalone experiments
                                            https://forum.duet3d.com/post/252836

                                            I did initial development of the ERCF gcode on duet2, but never tried with feed rates greater than 40mm/s (having jamming problems really got in the way of going any faster).

                                            On the duet3, I haven't tested to see how fast the encoder can trigger, however, I load at 150mm/s completely reliably, the pulse count generally matches what I expect for an ~800mm bowden. Again, a less than perfect build prevents me from loading at much faster than 150mm/s with any level of reliability.

                                            This might be another sbc difference, it seems triggers would have to be invoked from the duet to the sbc for processing, and that appears to introduce latency that would limit the max pulse/second rate.

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