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.
    • tecnoundefined
      tecno
      last edited by tecno

      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

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

        @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

        tecnoundefined 1 Reply Last reply Reply Quote 0
        • tecnoundefined
          tecno @dc42
          last edited by

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

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

            @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

            tecnoundefined 1 Reply Last reply Reply Quote 0
            • tecnoundefined
              tecno @dc42
              last edited by

              @dc42

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

              tecnoundefined 1 Reply Last reply Reply Quote 1
              • tecnoundefined
                tecno @tecno
                last edited by

                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

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

                  @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

                  tecnoundefined 1 Reply Last reply Reply Quote 0
                  • tecnoundefined
                    tecno @dc42
                    last edited by

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

                    tecnoundefined 1 Reply Last reply Reply Quote 0
                    • tecnoundefined
                      tecno @tecno
                      last edited by

                      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?

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

                        @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

                        tecnoundefined 1 Reply Last reply Reply Quote 0
                        • tecnoundefined
                          tecno @dc42
                          last edited by

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

                          tecnoundefined 1 Reply Last reply Reply Quote 0
                          • tecnoundefined
                            tecno @tecno
                            last edited by

                            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.

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

                              @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

                              tecnoundefined 1 Reply Last reply Reply Quote 0
                              • tecnoundefined
                                tecno @dc42
                                last edited by tecno

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

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

                                  @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

                                  o_lampeundefined 1 Reply Last reply Reply Quote 0
                                  • o_lampeundefined
                                    o_lampe @dc42
                                    last edited by

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

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

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