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

Accelerometer not found on specified port

Scheduled Pinned Locked Moved
General Discussion
3
9
504
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.
  • ?
    A Former User
    last edited by A Former User 11 Jul 2021, 12:03 7 Nov 2021, 09:29

    Good morning, I've just installed an LIS3DSH accelerometer on my Duet2 WiFi using this instructions https://duet3d.dozuki.com/Wiki/Accelerometers

    I've setted it using M955 P0 C"spi.cs4+spi.cs3"

    But I always the the error "Accelerometer not found on specified port" turning on the printer.

    Here are the connections I've made using an USB3 Cable:

    Board:
    Board Connections.png

    Accelerometer:
    Accelerometer Connections.png

    I've checked the connections with a multimiter and they are ok. With the multimiter I've verified that the accelerometer is correctly powered with 3,3V

    Any idea about the problem?
    Thanks

    p.s.
    The USB cable doesn't "run" close to any signal cable

    EDIT
    I forgot to say that that cable is about 2m (I can't make it shorter) and FW is RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta5+1 (2021-10-28).

    EDIT OF EDIT
    I've tried with a 15cm cable (with single duponts) and it works....so the issue is the cable length..how can I solve this? As I said I can't make the cable shorter. I event tried to change the long cable board-side two row duponts conectors with single dupont connectors but still doesn't work

    ? 1 Reply Last reply 8 Nov 2021, 07:11 Reply Quote 0
    • ?
      A Former User @A Former User
      last edited by 8 Nov 2021, 07:11

      @thedragonlord No suggestions? Should I give up the idea to use an accelerometer?

      undefined undefined 2 Replies Last reply 8 Nov 2021, 08:30 Reply Quote 0
      • undefined
        PCR @A Former User
        last edited by 8 Nov 2021, 08:30

        @thedragonlord have you tried the resistor inline ?

        ? 1 Reply Last reply 8 Nov 2021, 08:36 Reply Quote 0
        • undefined
          gloomyandy @A Former User
          last edited by 8 Nov 2021, 08:31

          @thedragonlord I'm pretty sure the @jay_s_uk has been using a 2m USB cable without any issues. I'm using one that is about 1.5m long with no problems. I think we both followed this wiring guide (sorry I'm too lazy to check if it matches how you have things wired): https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/68?_=1624809172098

          I think DC42 has recommended adding a resistor in series with the SDO connection and others have reported that this helps https://forum.duet3d.com/topic/25641/solved-help-connecting-an-accelerometer/2?_=1636359472874

          You could also try lowering the SPI frequency using the Q parameter.

          I found that with the LIS3DSH I needed to add a small capacitor to the wiring to get it to work reliably this and a few other suggestions are in this thread: https://forum.duet3d.com/topic/25646/are-these-accelerometer-measurements-reasonable?_=1636359472884

          As you will see, getting it working can be tricky and the wiring (and probably the connectors and other components) can have a big impact on it, but most folks seem to get there in the end...

          ? 1 Reply Last reply 8 Nov 2021, 08:32 Reply Quote 1
          • ?
            A Former User @gloomyandy
            last edited by 8 Nov 2021, 08:32

            @gloomyandy said in Accelerometer not found on specified port:

            @thedragonlord I'm pretty sure the @jay_s_uk has been using a 2m USB cable without any issues. I'm using one that is about 1.5m long with no problems. I think we both followed this wiring guide (sorry I'm too lazy to check if it matches how you have things wired): https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/68?_=1624809172098

            I think DC42 has recommended adding a resistor in series with the SDO connection and others have reported that this helps https://forum.duet3d.com/topic/25641/solved-help-connecting-an-accelerometer/2?_=1636359472874

            You could also try lowering the SPI frequency using the Q parameter.

            I found that with the LIS3DSH I needed to add a small capacitor to the wiring to get it to work reliably this and a few other suggestions are in this thread: https://forum.duet3d.com/topic/25646/are-these-accelerometer-measurements-reasonable?_=1636359472884

            As you will see, getting it working can be tricky and the wiring (and probably the connectors and other components) can have a big impact on it, but most folks seem to get there in the end...

            thanks a lot!

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @PCR
              last edited by 8 Nov 2021, 08:36

              @pcr said in Accelerometer not found on specified port:

              @thedragonlord have you tried the resistor inline ?

              not yet...
              p. s.
              I wrote a message to you using the chat

              undefined 1 Reply Last reply 8 Nov 2021, 08:38 Reply Quote 0
              • undefined
                PCR @A Former User
                last edited by 8 Nov 2021, 08:38

                @thedragonlord try a 1k resistor inline with SDO

                ? 1 Reply Last reply 8 Nov 2021, 08:41 Reply Quote 1
                • ?
                  A Former User @PCR
                  last edited by 8 Nov 2021, 08:41

                  @pcr said in Accelerometer not found on specified port:

                  @thedragonlord try a 1k resistor inline with SDO

                  Connected in the board connector or to the accelerometer connector?

                  ? 1 Reply Last reply 13 Nov 2021, 07:32 Reply Quote 0
                  • ?
                    A Former User @A Former User
                    last edited by 13 Nov 2021, 07:32

                    @thedragonlord Solved! With the resistor it works, thanks to everybody!

                    1 Reply Last reply Reply Quote 1
                    3 out of 9
                    • First post
                      3/9
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA