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

    LIS3DSH orientation on a Delta printer

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    6
    22
    868
    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.
    • oliofundefined
      oliof @Velvia
      last edited by

      @Velvia I am looking for the Pin 1 indicator from your reference sheet

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

      oliofundefined Velviaundefined 2 Replies Last reply Reply Quote 0
      • oliofundefined
        oliof @oliof
        last edited by oliof

        You can already see the chip has two sides with three legs, and two with 5. The bottom view says that the Pin 1 is VDD IO. Assuming Pin1 is where the white dot is on the PCB, Z is up the way the header pins point, Y is in the direction of the CS/DO pins and X is in the direction of the short edge where the VCC pin is.

        For a delta, assuming the XYZ towers are like so

            Y
        
        
        X        Z
        

        I would mount the accelerator so that the pin headers are parallel with the front edge but oriented towards the Y tower

             Y
          ........
          |______|
        X          Z
        

        Then the axes of the accelerometer should match the coordinate system of the printer.

        <>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 1
        • Velviaundefined
          Velvia @oliof
          last edited by Velvia

          @oliof
          I understand. It's barely visible, as tiny black hole. Was under the impression that it would be white. 1ec2e697-11a0-4297-83dc-0173225d4b5d-image.png

          I guess they decided to mark it with the white dot above the chip, on the PCB instead.

          Homegrown, grass fed and organically built 350mm delta

          Velviaundefined 1 Reply Last reply Reply Quote 1
          • Velviaundefined
            Velvia @Velvia
            last edited by Velvia

            @Velvia 75a4d433-9a9b-4617-8193-8baf271f6c3b-image.png

            Do I understand it correctly? Thanks for all the help @oliof

            Homegrown, grass fed and organically built 350mm delta

            1 Reply Last reply Reply Quote 1
            • achrnundefined
              achrn
              last edited by achrn

              Yes, I think you've annotated the photo correctly.

              I have a board that looks very very similar to that, labelled LIS3DSH, advertised as a LIS3DSH, but actually I think it's a LIS3DH. The top of the chip on my board has clearly been abraded, presumably to try and conceal the markings.

              I did some playing around with lighting and magnification and got as far as seeing the ghost of the markings, and the expected dot at the corner where the board has a dot. This photo has the markings a lot more visible than I can see with the naked eye:
              accel.jpg

              1 Reply Last reply Reply Quote 2
              • Velviaundefined
                Velvia
                last edited by Velvia

                I have now connected it, but the printer says it does not exists:

                Error: M955: Accelerometer not found on specified port
                

                This is how I have wired it:Untitled-1.jpg

                I put them on IO_6 instead of 3, since it was occupied. Any ideas?

                Homegrown, grass fed and organically built 350mm delta

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

                  @Velvia this is probably caused by the CS wire picking up noise from other wires. Here are some suggestions:

                  1. Drive CS from one of the spi.cs pins on the daughter board connector, if one of them is free, because they have greater drive strength.
                  2. Change the cabling so that the CS wire does not run close to any other wires except for Vcc and Gnd.

                  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

                  Velviaundefined 2 Replies Last reply Reply Quote 0
                  • Velviaundefined
                    Velvia @dc42
                    last edited by

                    @dc42 You were right. It works now. Split the CS cable and ran it far away from everything else. Was able to make measurements now. Thanks!

                    Are there shielded ribbon cables available?

                    Homegrown, grass fed and organically built 350mm delta

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

                      @Velvia said in LIS3DSH orientation on a Delta printer:

                      Are there shielded ribbon cables available?

                      Yes, however I have used unshielded ribbon cable successfully with these boards. If you use a 10-way ribbon cable and IDC connector to plug into the daughter board connector, then spi.cs1 can be used for CS because it is on the outside of the cable and the adjacent wire is ground.

                      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

                      blt3dpundefined 1 Reply Last reply Reply Quote 1
                      • blt3dpundefined
                        blt3dp @dc42
                        last edited by

                        I'm planning on using a shielded guitar wire for the cs wire when i wire mine up.

                        My 3D Printing YouTube Channel
                        Better Living Through 3D Printing

                        Follow me on Instagram and Twitter
                        Instagram
                        Twitter

                        1 Reply Last reply Reply Quote 1
                        • Velviaundefined
                          Velvia @dc42
                          last edited by Velvia

                          @dc42 I was able to get three readings, but now every time I try to get readings, it freezes the mainboard and it restarts.
                          7f25ab51-f77f-4b18-8c8e-ca08f52ddf39-image.png

                          Homegrown, grass fed and organically built 350mm delta

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

                            @Velvia which firmware version are you using?

                            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

                            Velviaundefined 1 Reply Last reply Reply Quote 0
                            • Velviaundefined
                              Velvia @dc42
                              last edited by

                              @dc42 3.4.1

                              Homegrown, grass fed and organically built 350mm delta

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

                                @Velvia said in LIS3DSH orientation on a Delta printer:

                                @dc42 3.4.1

                                Update to 3.4.5?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Velviaundefined 1 Reply Last reply Reply Quote 1
                                • Velviaundefined
                                  Velvia @Phaedrux
                                  last edited by

                                  @Phaedrux Thanks. I do that by running "M997 S0:1", right? Been a while

                                  Homegrown, grass fed and organically built 350mm delta

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

                                    Upload this zip file to the system tab in DWC.

                                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/Duet2and3Firmware-3.4.5.zip

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    Velviaundefined 1 Reply Last reply Reply Quote 1
                                    • Velviaundefined
                                      Velvia @Phaedrux
                                      last edited by

                                      @Phaedrux Thank you for the help. Now I run as many times as I want, even with the Input Shaping plugin. No more crashes!

                                      Homegrown, grass fed and organically built 350mm delta

                                      1 Reply Last reply Reply Quote 2
                                      • dc42undefined dc42 marked this topic as a question
                                      • dc42undefined dc42 has marked this topic as solved
                                      • tasundefined tas referenced this topic
                                      • Leeundefined Lee referenced this topic
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA