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

    Coming soon: Accelerometer Support

    Scheduled Pinned Locked Moved
    Beta Firmware
    14
    76
    7.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.
    • CNCModellerundefined
      CNCModeller @dc42
      last edited by

      @dc42 said in Coming soon: Accelerometer Support:

      @aprz said in Coming soon: Accelerometer Support:

      So would the accelerometer be mounted to the frame or motor?

      It would be mounted on the print head. For a bed slinger, you would also need to take measurements with it mounted on the bed.

      @dc42 Given the bed on a bed slinger increases in mass during a print would it be beneficial to alter the ringing frequency during the print to account for the print mass?

      If so I guess we could embed input shaping gcode in the print file or something like that.

      Perhaps enter the total print mass at the start of a print and profile the shaping based on % complete and a survey of frequencies across a print mass range.

      Interesting šŸ¤“ stuff...

      Polar Duet3 Mini + 1HCL
      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
      Wanhao D4S: Duet2
      https://forum.duet3d.com/post/296755
      K40 Laser, Duet2
      https://forum.duet3d.com/post/312082
      Wanhao D5S
      https://www.youtube.com/CNCModellerUK

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

        @cncmodeller the amount of filament used is known already so it wouldn't be too difficult to track that to mass being added

        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
        • CNCModellerundefined
          CNCModeller @Nuramori
          last edited by

          @nuramori said in Coming soon: Accelerometer Support:

          @aprz This is how/where I'm mounting mine...

          174208563_10225592618951384_268673416949702885_n.jpg

          @Nuramori given these don't need to be a permanent fit, are you fitting a plug at the print head to remove it after doing the resonance survey? I will be as I have a moving bed and will also be using the board to characterise my other printers too.

          Therefore:

          Should I be adding ballast to account for the loss of mass. Probably not unless the print head is very light?

          Also should we be terminating the disconnected wire's at the connector to reduce EMF back to the Duet?

          Really looking forward to trying this out. šŸ™‚

          Polar Duet3 Mini + 1HCL
          https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
          Wanhao D4S: Duet2
          https://forum.duet3d.com/post/296755
          K40 Laser, Duet2
          https://forum.duet3d.com/post/312082
          Wanhao D5S
          https://www.youtube.com/CNCModellerUK

          o_lampeundefined Nuramoriundefined zaptaundefined 3 Replies Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @CNCModeller
            last edited by

            @cncmodeller said in Coming soon: Accelerometer Support:

            Also should we be terminating the disconnected wire's at the connector to reduce EMF back to the Duet?

            When you uninstall it, you also comment out the sensor definition. The pins involved will no longer be 'observed' by RRF

            CNCModellerundefined 1 Reply Last reply Reply Quote 0
            • CNCModellerundefined
              CNCModeller @o_lampe
              last edited by

              @o_lampe said in Coming soon: Accelerometer Support:

              @cncmodeller said in Coming soon: Accelerometer Support:

              Also should we be terminating the disconnected wire's at the connector to reduce EMF back to the Duet?

              When you uninstall it, you also comment out the sensor definition. The pins involved will no longer be 'observed' by RRF

              Yeah thinking about it I'm just going to have a temporary loom as well so it'll all get removed all the way back to the Duet.

              Polar Duet3 Mini + 1HCL
              https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
              Wanhao D4S: Duet2
              https://forum.duet3d.com/post/296755
              K40 Laser, Duet2
              https://forum.duet3d.com/post/312082
              Wanhao D5S
              https://www.youtube.com/CNCModellerUK

              o_lampeundefined 1 Reply Last reply Reply Quote 0
              • o_lampeundefined
                o_lampe @CNCModeller
                last edited by

                @cncmodeller
                Imagine we'd have to terminate all unused I/O pins on the boards 😵

                CNCModellerundefined dc42undefined 2 Replies Last reply Reply Quote 0
                • CNCModellerundefined
                  CNCModeller @o_lampe
                  last edited by

                  @o_lampe said in Coming soon: Accelerometer Support:

                  @cncmodeller
                  Imagine we'd have to terminate all unused I/O pins on the boards 😵

                  As I understand it there is a difference between unused pins and unterminated flying wires that are still connected. Unterminated wires would just act as an antenna to draw electromagnetic interference into the Duet.

                  Polar Duet3 Mini + 1HCL
                  https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                  Wanhao D4S: Duet2
                  https://forum.duet3d.com/post/296755
                  K40 Laser, Duet2
                  https://forum.duet3d.com/post/312082
                  Wanhao D5S
                  https://www.youtube.com/CNCModellerUK

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

                    @o_lampe said in Coming soon: Accelerometer Support:

                    @cncmodeller
                    Imagine we'd have to terminate all unused I/O pins on the boards 😵

                    No need.

                    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
                    • Nuramoriundefined
                      Nuramori @CNCModeller
                      last edited by

                      @cncmodeller given my liquid cooled head which is not what I’d call light, the 2-5 grams I’m adding is t something I’m going to fuss over, and I plan on just leaving it on the head. I have a toolboard on the back of the print head, so the wiring is short and sweet.

                      1 Reply Last reply Reply Quote 0
                      • aprzundefined
                        aprz @Nuramori
                        last edited by

                        @nuramori said in Coming soon: Accelerometer Support:

                        @aprz This is how/where I'm mounting mine...

                        174208563_10225592618951384_268673416949702885_n.jpg

                        I like your cooling system.

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

                          @cncmodeller, looking at your picture, the accelerometer is close to the rail and far from the nozzle. I would think that you want to measure the accelerations of the nozzle which can be different due to mechanical flex and play.

                          (I am not an expert, just speculating).

                          CNCModellerundefined arhiundefined 2 Replies Last reply Reply Quote 0
                          • CNCModellerundefined
                            CNCModeller @zapta
                            last edited by CNCModeller

                            @zapta Hi it's not my printer its @aprz

                            But as the print head is pretty much a solid item i'd think it won't really matter. Most if not all of the flex in the printer and hence the source of resonance is in the structure and drive system in my opinion.

                            Polar Duet3 Mini + 1HCL
                            https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                            Wanhao D4S: Duet2
                            https://forum.duet3d.com/post/296755
                            K40 Laser, Duet2
                            https://forum.duet3d.com/post/312082
                            Wanhao D5S
                            https://www.youtube.com/CNCModellerUK

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

                              @cncmodeller, that would something interesting to try, the effect of the position of the accelerometer on the measurement results.

                              BTW, as for same uniform accelerations on a stiff object, you don't want to be near the bow of the ship when the sea is rough. šŸ˜‰

                              1 Reply Last reply Reply Quote 0
                              • arhiundefined
                                arhi @zapta
                                last edited by

                                @zapta said in Coming soon: Accelerometer Support:

                                I would think that you want to measure the accelerations of the nozzle which can be different due to mechanical flex and play.

                                that's why I really like the klipper idea of using el-cheapo ADXL345 board (0.74EUR + free shipping on all for e.g.) is like 2 gramms, you can stick it directly to your nozzle with some double tape (or very close to it)

                                on the other side LIS3DH that is (will be) used with RRF (I understand why, it is a better chip IMHO) is zero stock on digikey, mouser .... now I do have some LIS3DH too and they are great as they can send bigger chunks of data if I remember correctly but I really hate they are not on stock at any of my suppliers and that all the boards I have it on (and that I can buy it on) are 4-5 times bigger than small boards ADXL345 comes on

                                @o_lampe copter needs a kalman so as many sensors as you can pull to work together to get to proper data. here you are interested in very short and very simple measurement so no need for additional sensors..

                                with a growing flat spot on a ball

                                for this you normally need a very different accelerometer probe and they cannot be mounted on the hotend but on the rail ... this equipment that detect balls that are starting to deteriorate start, used, at a price of a good brand name printer šŸ˜„ ... el cheapo accelerometer attached to a plastic carriage will not be detecting a flat spot on a ball in the bearing

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

                                  @arhi said in Coming soon: Accelerometer Support:

                                  zero stock on digikey, mouser

                                  There is a global shortage of semiconductors due to the pandemic and the components that are still available went up in price.

                                  "First they came for the toilet paper and I didn't speak up, then they came for the accelerometers".

                                  arhiundefined 1 Reply Last reply Reply Quote 0
                                  • arhiundefined
                                    arhi @zapta
                                    last edited by

                                    @zapta makes sense ... I just yesterday paid 2300eur for gpu that was below 1000$ when it was released šŸ˜ž crazy world šŸ˜ž

                                    I have some of the LIS3DH in stock at home, never tried them tbh so good reason to do so now šŸ˜„

                                    o_lampeundefined 1 Reply Last reply Reply Quote 0
                                    • o_lampeundefined
                                      o_lampe @arhi
                                      last edited by

                                      @arhi said in Coming soon: Accelerometer Support:

                                      I just yesterday paid 2300eur for gpu

                                      Mining for Crypto-cash? I have a 64CPU-cluster I wanted to use for mining, but never got it working...damn Linux šŸ˜‰

                                      1 Reply Last reply Reply Quote 0
                                      • wildblueundefined
                                        wildblue
                                        last edited by

                                        My ordered sensors just came in today from china. Even better, the new firmware is also available right now.

                                        @dc42 Before soldering a header to the breakout board, i would love to know If the analog inputs of the sensor will be available in reprap firmware. Just like the panelDue we have available inputs for free at no additional cost (other
                                        than you implementing the code to make then work) on our remote devices, which i already have plenty ideas of what crazy stuff we could connect to them.

                                        So please let ne know If you also have the future of what DuetFirnware could become in mind and If the analog! inputs are/will be available via gcode.

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

                                          @wildblue I don't have any plans to support the analog inputs at present.

                                          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
                                          • j3dundefined
                                            j3d @dc42
                                            last edited by j3d

                                            @dc42 said in [Coming soon: Accelerometer Support]

                                            Yes, use the temp daughterboard connector to connect an accelerometer directly. The SBC uses a separate SPI bus. However, currently accelerometer data can only be saved to file when running in standalone mode.

                                            Will this still work if you have a temperature daughterboard installed? I'm utilizing the thermocouple board on a Mini 5+.

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