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

    Can a LIS3DH be installed on a duet 3mini 5+ ran from a duetPI?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    16
    734
    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.
    • chrishammundefined
      chrishamm administrators @RatRig0331
      last edited by

      @ratrig0331 You should use equal RRF and DSF versions so it's better to upgrade the firmware once using M997 before you continue. In order to get my LIS3DH working, I had to add a 1k resistor to the accelerometer end of SDO as well.

      Duet software engineer

      dc42undefined RatRig0331undefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @chrishamm
        last edited by

        A small capacitor (100 to 500pF?) connected between the CS and ground pins of the LIS module might work too.

        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

        RatRig0331undefined 1 Reply Last reply Reply Quote 0
        • RatRig0331undefined
          RatRig0331 @chrishamm
          last edited by

          @chrishamm

          3/31/2022, 10:40:32 AM M997
          Error: Operation has been cancelled

          1 Reply Last reply Reply Quote 0
          • RatRig0331undefined
            RatRig0331 @dc42
            last edited by

            @dc42 the cable run is 75inches long, I’ll take pics tonight and post them as soon as I figure out how to make them URL’s

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

              @ratrig0331 the long cable is probably the problem. I only tested up to 1 metre.

              You could try reducing the SPI data rate, for example to 1MHz by including Q1000000 in the M955 command.

              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

              RatRig0331undefined 3 Replies Last reply Reply Quote 0
              • RatRig0331undefined
                RatRig0331 @dc42
                last edited by

                @dc42 I’ll give that a shot when I get home to at the “q” value, I can’t go much shorter than 75 inches my set up is a 500x500x500 xy core printer

                gloomyandyundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
                • gloomyandyundefined
                  gloomyandy @RatRig0331
                  last edited by

                  @ratrig0331 Some folks have reported using up to 3m connections when using a USB3.0 style cable. See: https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/57?_=1624809172098 This seemed to work well when other cables (like cat5) did not.

                  1 Reply Last reply Reply Quote 1
                  • jay_s_ukundefined
                    jay_s_uk @RatRig0331
                    last edited by

                    @ratrig0331 I run a 2.7m USB3 cable quite happily

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    1 Reply Last reply Reply Quote 0
                    • RatRig0331undefined
                      RatRig0331 @dc42
                      last edited by

                      @dc42 tryed the m955 p0 c”io3.out+io3.in” q1000000 and same result I ordered a set of “pf” sizes100-10000 off Amazon for $7usd due in this Saturday so I will give that a try

                      1 Reply Last reply Reply Quote 0
                      • RatRig0331undefined
                        RatRig0331 @dc42
                        last edited by

                        @dc42 my new multimeter can in today, my lines still show good connection from the duet to the chip I’m also getting the following on the chip side

                        G to vcc 3.296v
                        G to scl 1.815v
                        G to sda 3.296v
                        G to sdo 2.661v
                        G to cs 3.296v
                        G to int1 3.283v

                        1 Reply Last reply Reply Quote 0
                        • RatRig0331undefined
                          RatRig0331 @dc42
                          last edited by

                          @dc42 looks like I was fighting a bad chip the first one was no good the second one I tryed was no good and than the third one lit it’s little beacon of the success led right off the bat and the duet found it, however is it normal if I send the m955 p0 c”io3.out+io3.in” over and over it will find it than the next it won’t, than once more it will find it than if I send it once mor it won’t

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