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

    Accelerometer Usage

    Scheduled Pinned Locked Moved
    Beta Firmware
    25
    191
    20.7k
    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.
    • DIY-O-Sphereundefined
      DIY-O-Sphere @jbergene
      last edited by DIY-O-Sphere

      @jbergene said in Accelerometer Usage:

      M955 P0 C"spi.cs3+spi.cs4

      I had a LIS3DH working with 3,3V
      It seams that you have swaped in and out....
      I also had that wrong with my first attempt....

      M955 P0 C"spi.cs4+spi.cs3
      

      (UTC+1)

      jbergeneundefined 1 Reply Last reply Reply Quote 0
      • jbergeneundefined
        jbergene @DIY-O-Sphere
        last edited by

        @diy-o-sphere ah sorry my bad, i have tried swapping this too without success. Just forgot to edit the text. my bad

        DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
        • DIY-O-Sphereundefined
          DIY-O-Sphere @jbergene
          last edited by

          @jbergene
          My wiring is in this thread...just for double check...
          https://forum.duet3d.com/topic/23559/accelerometer-usage/15

          (UTC+1)

          jbergeneundefined 1 Reply Last reply Reply Quote 0
          • jbergeneundefined
            jbergene @DIY-O-Sphere
            last edited by jbergene

            @diy-o-sphere switched the wiring from the daughterboard pinouts to the Paneldue pinout with same results.

            DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
            • DIY-O-Sphereundefined
              DIY-O-Sphere @jbergene
              last edited by

              @jbergene

              M955 P0 I61 C"io0.out+io0.in"               ; Define IO for accelerometer
              

              (UTC+1)

              jbergeneundefined 1 Reply Last reply Reply Quote 0
              • jbergeneundefined
                jbergene @DIY-O-Sphere
                last edited by

                @diy-o-sphere M955 P0 I61 C"io0.out+io0.in"
                Error: M955: Unknown pin name 'io0.out'

                DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                • DIY-O-Sphereundefined
                  DIY-O-Sphere @jbergene
                  last edited by

                  @jbergene
                  Sorry, thats for a Mini5+

                  (UTC+1)

                  1 Reply Last reply Reply Quote 0
                  • jbergeneundefined
                    jbergene @jbergene
                    last edited by jbergene

                    @jbergene
                    update

                    it worked when removing the Paneldue and disabling paneldue in the config file.
                    (still using Daughter board pins)

                    jbergeneundefined 1 Reply Last reply Reply Quote 0
                    • jbergeneundefined
                      jbergene @jbergene
                      last edited by

                      @jbergene Now I get another issue and that is the Duet2 just reset every time I try to record. It some how manages to record something, but the CSV file is invalid.

                      Duet also states that the LISD3H is aLIS3DSH which is incorrect. (the board have LIS3DH typed in on it)

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @jbergene
                        last edited by Phaedrux

                        @jbergene said in Accelerometer Usage:

                        Duet also states that the LISD3H is aLIS3DSH which is incorrect. (the board have LIS3DH typed in on it)

                        Photo of the board?

                        And can you send M115 to report the specific firmware version?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        jbergeneundefined 1 Reply Last reply Reply Quote 0
                        • oliofundefined
                          oliof
                          last edited by

                          @dc42 how'd you do InputShaping for IDEX machines? In independent head mode, I guess I can set the InputShaping for each head in tpre#.g, but what about copy mode / mirror mode? I guess to keep with the program, the task here is to build the IDEX machine so a common InputShaping setup for X and U is viable?

                          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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

                            @oliof said in Accelerometer Usage:

                            @dc42 how'd you do InputShaping for IDEX machines? In independent head mode, I guess I can set the InputShaping for each head in tpre#.g, but what about copy mode / mirror mode? I guess to keep with the program, the task here is to build the IDEX machine so a common InputShaping setup for X and U is viable?

                            For now, yes. In future we RRF may support different shaping on the X and U print heads.

                            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 1
                            • jbergeneundefined
                              jbergene @Phaedrux
                              last edited by

                              @phaedrux 2021-08-16 20_56_18-Foto - Google Foto.png 2021-08-16 20_56_00-MessageCenterUI.png

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

                                @jbergene can you read any markings on the accelerometer chip? You may need to find the correct lighting angle to see it.

                                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

                                jbergeneundefined 1 Reply Last reply Reply Quote 0
                                • tekstyleundefined
                                  tekstyle
                                  last edited by

                                  i got my accelerometer installed using a usb3 cable, i was able to get it working even over 3meters!! i generated the csv files but right now i am stuck at figuring out how to make use of the data. how do i know which frequency to use in M953 Fnn? do i actually need to print something to tune even with the accelerometer? i was under the impression that printing and measure ringing and calculating Hz wS only needed if you dont have an accelerometer to generate the csv files.

                                  Phaedruxundefined jbergeneundefined 2 Replies Last reply Reply Quote 1
                                  • Phaedruxundefined
                                    Phaedrux Moderator @tekstyle
                                    last edited by

                                    @tekstyle See here: https://duet3d.dozuki.com/Wiki/Accelerometers

                                    Having the accelerometer is just the first step. You will need to do some test movements to get readings and then analyze them to determine which frequencies are needed to use with the input shaper.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    oliofundefined tekstyleundefined 2 Replies Last reply Reply Quote 0
                                    • jbergeneundefined
                                      jbergene @tekstyle
                                      last edited by jbergene

                                      @tekstyle thats smart! i will try that 😄

                                      1 Reply Last reply Reply Quote 0
                                      • oliofundefined
                                        oliof @Phaedrux
                                        last edited by

                                        @phaedrux the documentation currently lacks the two crucial sentences, how to find out the dominant frequency of an axis ... but the InputShaping plugin will solve this eventually (-:

                                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                        CCS86undefined 1 Reply Last reply Reply Quote 1
                                        • jbergeneundefined
                                          jbergene @dc42
                                          last edited by jbergene

                                          @dc42 IMG_20210817_190011.jpg

                                          8937
                                          c3H
                                          0KK1F?

                                          o_lampeundefined 1 Reply Last reply Reply Quote 0
                                          • CCS86undefined
                                            CCS86 @oliof
                                            last edited by

                                            @oliof said in Accelerometer Usage:

                                            @phaedrux the documentation currently lacks the two crucial sentences, how to find out the dominant frequency of an axis ... but the InputShaping plugin will solve this eventually (-:

                                            This feature is barely in beta form. You can't really expect comprehensive documentation at this point.

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