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

Accelerometer Usage

Scheduled Pinned Locked Moved
Beta Firmware
25
191
19.9k
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.
  • undefined
    dc42 administrators @oliof
    last edited by 16 Aug 2021, 07:34

    @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
    • undefined
      jbergene @Phaedrux
      last edited by 16 Aug 2021, 18:57

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

      undefined 1 Reply Last reply 16 Aug 2021, 19:20 Reply Quote 0
      • undefined
        dc42 administrators @jbergene
        last edited by 16 Aug 2021, 19:20

        @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

        undefined 1 Reply Last reply 17 Aug 2021, 17:15 Reply Quote 0
        • undefined
          tekstyle
          last edited by 16 Aug 2021, 19:34

          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.

          undefined undefined 2 Replies Last reply 16 Aug 2021, 19:40 Reply Quote 1
          • undefined
            Phaedrux Moderator @tekstyle
            last edited by 16 Aug 2021, 19:40

            @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

            undefined undefined 2 Replies Last reply 17 Aug 2021, 09:30 Reply Quote 0
            • undefined
              jbergene @tekstyle
              last edited by jbergene 17 Aug 2021, 08:37

              @tekstyle thats smart! i will try that 😄

              1 Reply Last reply Reply Quote 0
              • undefined
                oliof @Phaedrux
                last edited by 17 Aug 2021, 09:30

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

                undefined 1 Reply Last reply 17 Aug 2021, 18:35 Reply Quote 1
                • undefined
                  jbergene @dc42
                  last edited by jbergene 17 Aug 2021, 17:15

                  @dc42 IMG_20210817_190011.jpg

                  8937
                  c3H
                  0KK1F?

                  undefined 1 Reply Last reply 18 Aug 2021, 05:30 Reply Quote 0
                  • undefined
                    CCS86 @oliof
                    last edited by 17 Aug 2021, 18:35

                    @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
                    • undefined
                      oliof
                      last edited by 17 Aug 2021, 19:11

                      I am not expecting comprehensive documentation at this point. As I wrote I am looking forward to the eventual solution via the InputShaping plugin.

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

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        tekstyle @Phaedrux
                        last edited by 18 Aug 2021, 03:01

                        @phaedrux i have the accelerometer plugin. i was able to visual the graph for all 3 axis. i just dont know what to look for as the link provided isnt clear on how to interpret the data to figure out which hz to use. or i am just not understanding the content.

                        undefined 1 Reply Last reply 18 Aug 2021, 03:56 Reply Quote 0
                        • undefined
                          Phaedrux Moderator @tekstyle
                          last edited by Phaedrux 18 Aug 2021, 03:56

                          @tekstyle No you're right. That part is coming and hopefully will be more automated by the plugin to suggest what it should tune out, among other things.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 18 Aug 2021, 04:37 Reply Quote 0
                          • undefined
                            tekstyle @Phaedrux
                            last edited by 18 Aug 2021, 04:37

                            @phaedrux oh ok. i'll wait for that in the meantime. Thank you.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              o_lampe @jbergene
                              last edited by 18 Aug 2021, 05:30

                              @jbergene
                              mine says "DSH" clearly, not sure what a DH should show? Anyone?

                              undefined 1 Reply Last reply 18 Aug 2021, 05:42 Reply Quote 0
                              • undefined
                                oliof
                                last edited by oliof 18 Aug 2021, 05:37

                                18.8.2021, 07:37:18 M955 P0
                                Accelerometer 0 type LIS3DH with orientation 20 samples at 1344Hz with 10-bit resolution, SPI frequency 2000000

                                PXL_20210818_054059932~2.jpg

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

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  jbergene @o_lampe
                                  last edited by 18 Aug 2021, 05:42

                                  @o_lampe Yeah 😕 maybe ill just try the DSH that arrived yesterday. that one says
                                  2304 - DSH - YP3HC"

                                  Do you know the orientation of the purple LISD3DSH board? X Y Z
                                  I cant find that information anywhere2021-08-18 07_42_02-FNY2jF2qeWGBwKnk.huge (675×1200).png

                                  undefined 1 Reply Last reply 18 Aug 2021, 05:58 Reply Quote 0
                                  • undefined
                                    o_lampe @jbergene
                                    last edited by o_lampe 18 Aug 2021, 05:58

                                    @jbergene
                                    lis3dsh_pinout.jpg

                                    According to this picture

                                    • positive X goes to the right
                                    • positive Y goes to the back
                                    • positive Z goes up

                                    lis3dsh_XY.jpg

                                    undefined 1 Reply Last reply 18 Aug 2021, 07:49 Reply Quote 3
                                    • undefined
                                      jbergene @o_lampe
                                      last edited by 18 Aug 2021, 07:49

                                      @o_lampe thank you:)

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        tekkydave @gloomyandy
                                        last edited by tekkydave 22 Aug 2021, 08:20

                                        @gloomyandy I bought one from that seller. The board seems to indicate a LIS3DSH but the chip has 3CH on it which is a LIS3DH. Have you connected it up & what does the Duet report?

                                        I bought two boards from different sellers. One should be a LIS3DH and the other a LIS3DSH. They look identical to me and both have 3CH on the chip.
                                        The only difference is one has OED26 after the 3CH and the other OED27.
                                        I have only connected the OED26 to the Duet so far.

                                        2021-08-19 14.21.37.jpg

                                        They both look like this on the back:

                                        2021-08-21 16.32.15.jpg

                                        I'm assuming that the Duet will report the correct chip.

                                        Edit: I have soldered a connector to the other one (OED27) and tested it with the Duet. Also get same message as the other one

                                        Accelerometer 0 type LIS3DH with orientation 14 samples at 1344Hz with 10-bit resolution, SPI frequency 2000000
                                        

                                        Hmmmpphhh!

                                        Edit:
                                        Further tests connecting the device to an Arduino confirm it is a LIS3DH as it returns device id = 51 (0x33). So despite it being advertised as a LIS3DSH and the pcb indicating that it is - well it isn't. So be careful when buying these folks and check the code on the chip:
                                        3CH = LIS3DH
                                        DSH = LIS3DSH

                                        I have ordered another one from the link given by @dc42 above. Let's see what turns up 🙂

                                        ~ tekkydave ~
                                        D-Bot: 300x300mm | Duet WiFi + Duex2 | 3 independent z motors | X,Y & Z linear rails | E3D Titan Aero + V6 | Precision Piezo z-probe
                                        FreeCAD, PrusaSlicer

                                        undefined undefined 2 Replies Last reply 22 Aug 2021, 08:45 Reply Quote 0
                                        • undefined
                                          gloomyandy @tekkydave
                                          last edited by 22 Aug 2021, 08:45

                                          @tekkydave Mine is marked C3H OED27. Not had chance to try it yet.

                                          undefined 1 Reply Last reply 22 Aug 2021, 10:00 Reply Quote 0
                                          159 out of 191
                                          • First post
                                            159/191
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA