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

Accelerometers on a bedslinger

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
17
783
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
    tecno
    last edited by tecno 8 Jun 2021, 15:01 6 Aug 2021, 14:59

    So I have now mounted my LIS3DSH, one on X/Z axis and one Y under the bed.

    What is the best/easiest way to wire up to my Duet Mini5+ ? On X/Z I have one Toolboard V1.

    DSC_0770.JPG

    DSC_0771.JPG

    undefined 1 Reply Last reply 6 Aug 2021, 17:35 Reply Quote 0
    • undefined
      dc42 administrators @tecno
      last edited by dc42 8 Jun 2021, 17:35 6 Aug 2021, 17:35

      @tecno see https://duet3d.dozuki.com/Wiki/Accelerometers#Section_Direct_SPI_connection_to_a_Duet_main_board. Pay attention to keeping the CS signal away from other signal wires, as I did in the cable I made up.

      Alternatively, connect it to a SAMMYC21 and connect that to the D3Mini via CAN - but that costs more.

      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 6 Aug 2021, 18:25 Reply Quote 0
      • undefined
        tecno @dc42
        last edited by 6 Aug 2021, 18:25

        @dc42
        Do I use 2 IO's one each for X/Z and Y and run both accelerometers? Or 1 IO and switch cable?

        undefined 1 Reply Last reply 6 Aug 2021, 18:27 Reply Quote 0
        • undefined
          dc42 administrators @tecno
          last edited by dc42 8 Jun 2021, 18:27 6 Aug 2021, 18:27

          @tecno if you are connecting both via SPI, you can do either. RRF currently only supports one directly-connected accelerometer, so even if you do use two different I/O ports, you will still need to change the accelerometer config command to switch between them.

          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 6 Aug 2021, 18:30 Reply Quote 0
          • undefined
            tecno @dc42
            last edited by 6 Aug 2021, 18:30

            @dc42

            OK one cable to one port it is then, thank you !

            undefined 1 Reply Last reply 7 Aug 2021, 11:36 Reply Quote 1
            • undefined
              tecno @tecno
              last edited by 7 Aug 2021, 11:36

              Is this OK?

              Wire# Duet Mini5+
              1 nc
              2 IO_3 GND
              3 nc
              4 SBC26_23
              5 SBC26_19
              6 SBC26_26
              7 IO_3 in
              8 IO_3 3.3V
              9 IO_3 out
              10 nc

              undefined 1 Reply Last reply 7 Aug 2021, 12:03 Reply Quote 0
              • undefined
                dc42 administrators @tecno
                last edited by 7 Aug 2021, 12:03

                @tecno no, don't use the SBC connector, that's on a different SPI channel.

                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 8 Aug 2021, 16:20 Reply Quote 0
                • undefined
                  tecno @dc42
                  last edited by 8 Aug 2021, 16:20

                  @dc42

                  DSC_0777.JPG

                  Cables fixed today, one accelerometer and the other to have IO1 extended outside for easier tests not needed to breakdown the printer from is cabinet.

                  undefined 1 Reply Last reply 9 Aug 2021, 12:00 Reply Quote 0
                  • undefined
                    tecno @tecno
                    last edited by 9 Aug 2021, 12:00

                    2021-08-09 13:35:50 M955 P0
                    Error: M955: Accelerometer not found

                    2021-08-09 13:29:40 M955 P0 C"io3.out+io3.in"
                    Error: M955: Accelerometer not found on specified port

                    Any suggestions what to do next?

                    undefined 1 Reply Last reply 11 Aug 2021, 08:58 Reply Quote 0
                    • undefined
                      dc42 administrators @tecno
                      last edited by 11 Aug 2021, 08:58

                      @tecno are those results with or without the extension cable? The ribbon cable by itself should be OK if it is made up the same as the one I illustrated at https://duet3d.dozuki.com/Wiki/Accelerometers#Section_Direct_SPI_connection_to_a_Duet_main_board.

                      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 11 Aug 2021, 09:19 Reply Quote 0
                      • undefined
                        tecno @dc42
                        last edited by 11 Aug 2021, 09:19

                        @dc42
                        1m and to your spec. Have continuity tested the cable/connectors. NO extension.

                        undefined 1 Reply Last reply 11 Aug 2021, 09:21 Reply Quote 0
                        • undefined
                          tecno @tecno
                          last edited by 11 Aug 2021, 09:21

                          These are going back to seller, I do not believe these are DSH. Board looks very different to others on market. Ordered new from PureTek in UK that are on its way.

                          undefined 1 Reply Last reply 11 Aug 2021, 09:34 Reply Quote 0
                          • undefined
                            dc42 administrators @tecno
                            last edited by 11 Aug 2021, 09:34

                            @tecno confirm you are using RRF 3.4beta2 ? Earlier versions do not support the LIS3DSH.

                            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 11 Aug 2021, 09:36 Reply Quote 0
                            • undefined
                              tecno @dc42
                              last edited by tecno 8 Nov 2021, 09:36 11 Aug 2021, 09:36

                              @dc42
                              Still on 3.3, expected a sign of life.

                              undefined 1 Reply Last reply 11 Aug 2021, 09:39 Reply Quote 0
                              • undefined
                                dc42 administrators @tecno
                                last edited by 11 Aug 2021, 09:39

                                @tecno said in Accelerometers on a bedslinger:

                                @dc42
                                Still on 3.3, expected a sign of life.

                                If it's a LIS3DSH (not 3DH) then you won't get any response using 3.3.

                                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 11 Aug 2021, 09:56 Reply Quote 0
                                • undefined
                                  o_lampe @dc42
                                  last edited by 11 Aug 2021, 09:56

                                  @dc42
                                  Is there any benefit in using the DSH variant?

                                  undefined 1 Reply Last reply 11 Aug 2021, 10:11 Reply Quote 0
                                  • undefined
                                    dc42 administrators @o_lampe
                                    last edited by 11 Aug 2021, 10:11

                                    @o_lampe it has higher resolution, different sampling rates and produces a slightly cleaner signal.

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