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

DuetWifi 2 and LIS3DH wiring

Scheduled Pinned Locked Moved
Duet Hardware and wiring
10
28
4.1k
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
    nick9one1 @dc42
    last edited by 22 May 2021, 19:43

    @dc42

    I've installed RC2 but cant see any documentation on how to set the new Q parameter?

    undefined 1 Reply Last reply 23 May 2021, 21:38 Reply Quote 0
    • undefined
      dc42 administrators @nick9one1
      last edited by 23 May 2021, 21:38

      @nick9one1 see https://duet3d.dozuki.com/Wiki/Gcode#Section_M955_Configure_Accelerometer. The default SPI frequency used to be 4MHz in 3.3beta3 but is 2MHz in 3.3RC2.

      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 0
      • undefined
        nuroo
        last edited by 30 May 2021, 17:27

        @nick9one1
        Thank you for posting your questions and asking for help interpreting the instruction for using this sensor with duet2 board. Some pinout diagrams differ in pin names then instructions. This made the instructions confusing to me.

        "On Duet WiFi, Duet Ethernet and Duet Maestro all the SPI CS pins have interrupt capability, so you can use any two spare CS pins on the daughter board connector. For example, on a Duet WiFi or Duet Ethernet you could connect the accelerometer CS pin to SPI.CS3, and the INT1 pin to SPI.CS4. [Note: if you already have one daughter board plugged into the main board and you wish to connect to SPI.CS3 and SPI.CS4 on the top of that daughter board, the daughter board passes SPI.CS3 and SPI.CS4 to the pin positions directly above the SPI.CS1 and SPI.CS2 pins on the main board. This is so that a second daughter board stacked on top automatically uses SPI.CS3 and SPI.CS4 instead of SPI.CS1 and SPI.CS2.] Use this command to tell RRF about the accelerometer:"

        Anyway your updated diagram is gold. Something like it should really be included in the instructions.
        Until reprap has something as informative - these two videos using it with klipper helped me understand the concepts and practical uses of using an accelerometer on your 3d printer:
        https://youtu.be/OoWQUcFimX8
        https://youtu.be/IezqWVZZ_iI

        Hopefully I can get this specific sensor by the time 3.4 is released.

        1 Reply Last reply Reply Quote 0
        • undefined
          nuroo
          last edited by nuroo 6 Jul 2021, 02:36 7 Jun 2021, 02:35

          This post got me up and running on a railcore. Had to change some pins in config setup to use daughter board spi. Im getting data thru the plugin as well. Looking forward to rrf 3.4
          accelALL.jpg

          1 Reply Last reply Reply Quote 0
          • undefined
            mule
            last edited by 30 Aug 2021, 11:05

            Just a quick info:
            The picture of the adafruit LIS3DH on https://duet3d.dozuki.com/Wiki/Accelerometers is misleading because the V3.3 from the duet is connected to 3Vo (Output) instead of the VIN (Input) pin. Maybe it is better to remove it.

            undefined 2 Replies Last reply 30 Aug 2021, 11:10 Reply Quote 1
            • undefined
              droftarts administrators @mule
              last edited by 30 Aug 2021, 11:10

              @mule Thanks. Do you mean this one? https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/Y1YiEWyeIEP5qi4Q
              I see what you mean. I'll try and get @dc42 to take another picture. For now I'll put a note on the page.

              Ian

              TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

              1 Reply Last reply Reply Quote 0
              • undefined
                droftarts administrators @mule
                last edited by 30 Aug 2021, 11:28

                @mule From @dc42:

                connecting +3.3V from Duet to 3V0 is correct. In practice, connecting it to Vcc works too.
                Connecting to Vcc would be necessary if we were using 5V supply

                So I'll leave as is.

                Ian

                TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

                1 Reply Last reply Reply Quote 0
                • undefined
                  mule
                  last edited by 30 Aug 2021, 11:32

                  For me it did not work to connect +3.3V from duet to the output of the adafruit board. Maybe there are different boards with different layouts being sold by adafruit?

                  undefined 1 Reply Last reply 9 Nov 2021, 20:46 Reply Quote 0
                  • undefined
                    nick9one1 @mule
                    last edited by 9 Nov 2021, 20:46

                    Glad my diagram helped!

                    I never got it working on the Duet2 WiFi, but have recently upgraded to a 3 Mini 5+ and trying again...

                    https://forum.duet3d.com/topic/25904/mini-3-5-and-lis3dh-wiring/2

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      MrT
                      last edited by 29 Aug 2022, 10:41

                      HI , I also have a duet wifi2 and just got my self an LIS3DH to try out, I was wondering if it was possible to use other pins then the temp board pins as it is in use already .
                      I do not use a screen or so .

                      thanks in advance for the help

                      Best Regards
                      Manuel

                      undefined 1 Reply Last reply 29 Aug 2022, 11:09 Reply Quote 0
                      • undefined
                        jay_s_uk @MrT
                        last edited by 29 Aug 2022, 11:09

                        @mrt no, you need to use hardware SPI pins. You can however use an accelerometer and 1 temp daughterboard. Just use the CS2 and CS3 pins

                        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 1
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA