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.
    • 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
                                      • dc42undefined
                                        dc42 administrators @j3d
                                        last edited by

                                        @j3d said in Coming soon: Accelerometer Support:

                                        @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+.

                                        Yes, but as described in the wiki page the CD and INT pins of the accelerometer must be connected to one of the IO ports.

                                        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

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

                                          Apropos accelerometers mounted on 3D printer gantries, this guy uses an Android accelerometer app to measure fan vibrations and fixes it by balancing the fan with a small piece of adhesive tape.

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

                                          1 Reply Last reply Reply Quote 2
                                          • keyz182undefined
                                            keyz182
                                            last edited by

                                            Does anyone know if the accelerometer can be wired to a Toolboard? I ordered one over the weekend from Ooznet (UK) - so assuming it'll be a v1.0 not v1.1. Would make things a bit easier šŸ™‚

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