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

    LIS3DH and Duet 3 Mini 5+

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    5
    173
    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.
    • borissundefined
      boriss
      last edited by

      Good day!

      Trying to connect Accelerometer to Duet 3 Mini 5+. All is done according to the manual - https://duet3d.dozuki.com/Wiki/Accelerometers. Different cables and resistors were checked. But I still get - No Accelerometer found.
      After all that I decided to check if my LIS3DH is working at all. Took Arduino board and did the following - https://learn.adafruit.com/adafruit-lis3dh-triple-axis-accelerometer-breakout/arduino

      Instead of normal reading, the serial monitor showed me random characters

      95b8e6f1-c5a0-4620-b8d3-567a3a4a3bdf-image.png

      I went further and found that cause of that is serial bound speed. Did a change 9600 -> 115200 and got normal readings.
      f57b1ee6-d3c7-4c3c-856b-11eb08946ad8-image.png

      Could be that the reason why the Duet does not see an accelerometer? Is there any way to set 115200 via G-code M955?

      Thank you!

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

        @boriss the baud rate is only relevant when using Arduino.

        The usual reasons for the accelerometer not working with RRF are:

        • RRF version too old to support the accelerometer
        • Incorrect wiring
        • Incorrect configuration
        • Too much capacitance between the CS wire and another wire in the cable.

        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

        borissundefined 1 Reply Last reply Reply Quote 0
        • borissundefined
          boriss @dc42
          last edited by boriss

          @dc42

          • 3.4.0 beta 7

          • Checked that three times.

          • It is hard to set Incorrect configuration with one line like M955 P0 C"io3.out+io3.in". Tried io1 and io4, in configuration and connection to the board.

          • tried 10cm long wires even. Maybe adding a capacitor to the line is a good idea?

          1 Reply Last reply Reply Quote 0
          • borissundefined
            boriss
            last edited by

            Took my friend's Duet 2 WiFi. No connection issue there.
            d0502606-2584-4ab3-943e-b2cf4234280a-image.png

            Do not know what Duet 3 needs 😞

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

              @boriss in that case, if your wiring is correct, then based on my previous investigations it's probably the capacitance between the CS wire and other wires that is causing the problem. The Mini 5+ has an output series resistor that makes the wiring more sensitive to this capacitance.

              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