• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    oliof @Velvia
    last edited by 9 Feb 2023, 17:30

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

    undefined undefined 2 Replies Last reply 9 Feb 2023, 17:37 Reply Quote 0
    • undefined
      oliof @oliof
      last edited by oliof 2 Sept 2023, 17:38 9 Feb 2023, 17:37

      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
      • undefined
        Velvia @oliof
        last edited by Velvia 2 Sept 2023, 18:04 9 Feb 2023, 18:01

        @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

        undefined 1 Reply Last reply 9 Feb 2023, 18:14 Reply Quote 1
        • undefined
          Velvia @Velvia
          last edited by Velvia 2 Sept 2023, 18:16 9 Feb 2023, 18:14

          @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
          • undefined
            achrn
            last edited by achrn 2 Oct 2023, 07:58 9 Feb 2023, 19:32

            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
            • undefined
              Velvia
              last edited by Velvia 15 Feb 2023, 00:40

              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

              undefined 1 Reply Last reply 15 Feb 2023, 11:17 Reply Quote 0
              • undefined
                dc42 administrators @Velvia
                last edited by dc42 15 Feb 2023, 11:17

                @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

                undefined 2 Replies Last reply 15 Feb 2023, 12:44 Reply Quote 0
                • undefined
                  Velvia @dc42
                  last edited by 15 Feb 2023, 12:44

                  @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

                  undefined 1 Reply Last reply 15 Feb 2023, 13:07 Reply Quote 0
                  • undefined
                    dc42 administrators @Velvia
                    last edited by 15 Feb 2023, 13:07

                    @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

                    undefined 1 Reply Last reply 15 Feb 2023, 17:35 Reply Quote 1
                    • undefined
                      blt3dp @dc42
                      last edited by 15 Feb 2023, 17:35

                      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
                      • undefined
                        Velvia @dc42
                        last edited by Velvia 15 Feb 2023, 19:06

                        @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

                        undefined 1 Reply Last reply 16 Feb 2023, 09:37 Reply Quote 0
                        • undefined
                          dc42 administrators @Velvia
                          last edited by 16 Feb 2023, 09:37

                          @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

                          undefined 1 Reply Last reply 17 Feb 2023, 16:53 Reply Quote 0
                          • undefined
                            Velvia @dc42
                            last edited by 17 Feb 2023, 16:53

                            @dc42 3.4.1

                            Homegrown, grass fed and organically built 350mm delta

                            undefined 1 Reply Last reply 17 Feb 2023, 18:00 Reply Quote 0
                            • undefined
                              Phaedrux Moderator @Velvia
                              last edited by 17 Feb 2023, 18:00

                              @Velvia said in LIS3DSH orientation on a Delta printer:

                              @dc42 3.4.1

                              Update to 3.4.5?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              undefined 1 Reply Last reply 17 Feb 2023, 19:34 Reply Quote 1
                              • undefined
                                Velvia @Phaedrux
                                last edited by 17 Feb 2023, 19:34

                                @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
                                • undefined
                                  Phaedrux Moderator
                                  last edited by 17 Feb 2023, 19:56

                                  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

                                  undefined 1 Reply Last reply 17 Feb 2023, 23:14 Reply Quote 1
                                  • undefined
                                    Velvia @Phaedrux
                                    last edited by 17 Feb 2023, 23:14

                                    @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
                                    • undefined dc42 marked this topic as a question 18 Feb 2023, 17:09
                                    • undefined dc42 has marked this topic as solved 18 Feb 2023, 17:09
                                    • undefined tas referenced this topic 28 Jun 2023, 13:22
                                    • undefined Lee referenced this topic 28 Jun 2023, 13:54
                                    15 out of 22
                                    • First post
                                      15/22
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA