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

Accelerometer Usage

Scheduled Pinned Locked Moved
Beta Firmware
25
191
19.9k
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
    StaticRed @dc42
    last edited by 3 Jul 2021, 12:55

    @dc42 i will definetly try that out. I had firstly swap my board because of that early production process. While doing that i also swapped my z axis, now need to reconfigure than, and then can test the lis3dh again.

    1 Reply Last reply Reply Quote 0
    • undefined
      Ducati87 @dc42
      last edited by 6 Jul 2021, 13:02

      @dc42 said in Accelerometer Usage:

      @ducati87 I mean connect the resistor between the SDO pin of the accelerometer board and the wire that goes to MISO on the Duet, instead of connecting the wire directly to the SDO pin.

      in spite of the 1K resistor, the accelerometer is not found. I checked the cable on my duet daughter board and everything seems to be ok. Any suggest? Thank you.

      undefined 1 Reply Last reply 6 Jul 2021, 16:09 Reply Quote 0
      • undefined
        dc42 administrators @Ducati87
        last edited by 6 Jul 2021, 16:09

        @ducati87 thanks for trying. I've no more suggestion yet, but I will get back to this when I have time. What sort of cable are you using, and how long is it? Photos of the two ends please.

        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 Jul 2021, 18:24 Reply Quote 0
        • undefined
          MikeS @dc42
          last edited by 8 Jul 2021, 18:24

          @dc42 i'm in the same situation as @Ducati87 . Here's the thread where i have asked for help and post a photo of the wiring https://forum.duet3d.com/topic/24099/accelerometer-on-duet2wifi-duex5-expansion/3

          1 Reply Last reply Reply Quote 0
          • undefined
            CCS86
            last edited by 11 Jul 2021, 22:00

            Same boat here.

            M955 P0 >>>> "Accelerometer not found"

            M955 P0 C"exp.pa22+exp.pa21" >>>> "Accelerometer not found on specified port"

            • Running RRF3.3 Stable

            • Wired with a VGA cable. I could probably take about 12" out of the cable length. I left it longer to keep the second ferrite noise filter in place.

            4986082c-4969-4222-9f2b-b637da171af1-image.png

            42283bc1-9899-4443-85d8-f9e480ac5bd3-image.png

            undefined undefined 2 Replies Last reply 12 Jul 2021, 08:45 Reply Quote 0
            • undefined
              dc42 administrators @CCS86
              last edited by 12 Jul 2021, 08:45

              @ccs86 I can't see anything wrong with the wiring or configuration command; so I guess it's an issue of cable length. How long is the cable? A 900mm long multicore cable is working OK for me on a Duet WiFi.

              Have you tried temporarily unplugging the PT100 daughter 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 13 Jul 2021, 00:01 Reply Quote 0
              • undefined
                CCS86 @dc42
                last edited by 13 Jul 2021, 00:01

                @dc42 said in Accelerometer Usage:

                @ccs86 I can't see anything wrong with the wiring or configuration command; so I guess it's an issue of cable length. How long is the cable? A 900mm long multicore cable is working OK for me on a Duet WiFi.

                Have you tried temporarily unplugging the PT100 daughter board?

                I just tried unplugging the daughterboard and still not finding the accelerometer.

                I may try re-wiring with a CAT6 cable, if there aren't any other easier steps to take.

                undefined undefined 2 Replies Last reply 13 Jul 2021, 03:27 Reply Quote 0
                • undefined
                  Phaedrux Moderator @CCS86
                  last edited by 13 Jul 2021, 03:27

                  @ccs86 Are you using a Maestro board?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 13 Jul 2021, 13:20 Reply Quote 0
                  • undefined
                    CCS86 @Phaedrux
                    last edited by 13 Jul 2021, 13:20

                    @phaedrux said in Accelerometer Usage:

                    @ccs86 Are you using a Maestro board?

                    Yes.

                    undefined undefined 2 Replies Last reply 13 Jul 2021, 16:46 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @CCS86
                      last edited by 13 Jul 2021, 16:46

                      @ccs86 said in Accelerometer Usage:

                      @phaedrux said in Accelerometer Usage:

                      @ccs86 Are you using a Maestro board?

                      Yes.

                      The lack of floating point unit makes accelerometer usage problematic. I didn't even think there was a build for the Maestro.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 13 Jul 2021, 17:50 Reply Quote 0
                      • undefined
                        dc42 administrators @CCS86
                        last edited by 13 Jul 2021, 17:02

                        @ccs86 when we are happy with the performance of input shaping on boards that have floating point hardware, we will look at the feasibility of doing a build for the Maestro.

                        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
                          CCS86 @Phaedrux
                          last edited by 13 Jul 2021, 17:50

                          @phaedrux said in Accelerometer Usage:

                          @ccs86 said in Accelerometer Usage:

                          @phaedrux said in Accelerometer Usage:

                          @ccs86 Are you using a Maestro board?

                          Yes.

                          The lack of floating point unit makes accelerometer usage problematic. I didn't even think there was a build for the Maestro.

                          It is my understanding that accelerometer usage is okay, with the potential issue being in running input shaper. I'd still like to start measuring with the accelerometer for a baseline and for mechanically trying to improve resonance.

                          @dc42 Can confirm if that is the case.

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            dc42 administrators
                            last edited by 13 Jul 2021, 19:01

                            @ccs86 confirmed. Accelerometers should work with the Maestro, but I haven't tested that combination.

                            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 1
                            • undefined
                              Ducati87 @CCS86
                              last edited by 17 Jul 2021, 11:14

                              @ccs86 I'm using a CAT7 cable but it not working...I don't know how to fix the problem.

                              undefined 2 Replies Last reply 17 Jul 2021, 12:02 Reply Quote 0
                              • undefined
                                dc42 administrators @Ducati87
                                last edited by 17 Jul 2021, 12:02

                                @ducati87 I plan to test accelerometer support on the Maestro next week.

                                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 Jul 2021, 17:13 Reply Quote 0
                                • undefined
                                  StaticRed @dc42
                                  last edited by 17 Jul 2021, 17:13

                                  @dc42 hey so i got now everything working on my board. Also using now the resistor. But now what should i do with the data? How can i now use input shaper? I mean i can view it an hit analyze, but then? Not sure what i should do next.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators @Ducati87
                                    last edited by dc42 19 Jul 2021, 11:38

                                    @ducati87 I can confirm that accelerometer support does work on the Maestro. I have update https://duet3d.dozuki.com/Wiki/Accelerometers to include a photo showing the wiring I used. The ribbon cable is 1m long.

                                    I also successfully ran an accelerometer using exp.pa21 and exp.pa22 for the CS and INT signals instead of TWD0 and TWCK0.

                                    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 undefined 2 Replies Last reply 19 Jul 2021, 11:40 Reply Quote 1
                                    • undefined
                                      jay_s_uk @dc42
                                      last edited by 19 Jul 2021, 11:40

                                      @dc42 can an accelerometer be connected to a 3HC?

                                      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

                                      undefined 1 Reply Last reply 19 Jul 2021, 11:46 Reply Quote 0
                                      • undefined
                                        dc42 administrators @jay_s_uk
                                        last edited by 19 Jul 2021, 11:46

                                        @jay_s_uk said in Accelerometer Usage:

                                        @dc42 can an accelerometer be connected to a 3HC?

                                        Not yet, but I will probably add support for that at some point.

                                        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 19 Jul 2021, 11:47 Reply Quote 0
                                        • undefined
                                          jay_s_uk @dc42
                                          last edited by 19 Jul 2021, 11:47

                                          @dc42 ok thanks. Would be helpful as I currently run all my tools off a 3HC and that's where all my wiring goes back to. Its also on the opposite side of my printer to the 6HC.

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