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.
    • o_lampeundefined
      o_lampe @A Former User
      last edited by o_lampe

      @94v0 said in Accelerometer Usage:

      I'm a bit curious if these "LIS3DSH" boards being sold on aliexpress, ebay, adafruit and others are actually using a LIS3DSH. The chip is no longer manufactured, there's only a small number of them in stock on digikey and practically nowhere else and for much greater cost than the breakout boards are.

      I ordered the last LIS3DSH board listed on ebay.de, will report what the label says when it arrives. In China you can still get them for less than 2$ each...

      With all the wiring issues mentioned here and there, I want to point out (again) that there's a Blutooth version of the LIS3DH board....maybe an option for SBC users?

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

        There are still some LID3dSH board available in UK, e.g. https://www.ebay.co.uk/itm/272706183865.

        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

        gloomyandyundefined 1 Reply Last reply Reply Quote 0
        • gloomyandyundefined
          gloomyandy @dc42
          last edited by

          I bought one from this listing: https://www.ebay.co.uk/itm/313603433596 came within a few days and seems to be a LID3dSH.

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

            Hello
            I have connected the Adafruit LIS3DH exactly as mentioned on the Accelerometer page, to my duet 2.

            I Get "M955 P0 C"spi.cs4+spi.cs3"
            Error: M955: Accelerometer not found on specified port"

            I have tried switching MISO and MOSI, and Cs3 and cs4 ports to just check against myself.

            I have also quadruple checked the wiring and its exactly the same. Wire length is 500mm. (bl touch extension wires)

            However many images I see on this post is people have wired the VIN instead of 3v?

            Web control, firwmare etc are all the latest beta 3.4.

            2021-08-15 12_37_10-MessageCenterUI.png

            DIY-O-Sphereundefined jbergeneundefined 2 Replies Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA