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

    LIS3DH bad?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    249
    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.
    • wally3Dundefined
      wally3D
      last edited by

      I have a LIS3DH connected to a duet2 wifi, RRF 3.4.1. It seems to be correctly connected, M955 P0 provides:

      Accelerometer 0 type LIS3DH with orientation 46 samples at 1344Hz with 10-bit resolution, SPI frequency 2000000
      

      At 10 bits, a blank csv file is written when running M956.

      Sample,X,Y,Z
      Failed to collect data from accelerometer
      

      Running M956 when set to 8 bits writes a csv as it should, but the data in all 3 axes is flat. I am using the M956 code from the wiki.

      Can the LIS3DH be wired incorrectly to the board and still be recognized correctly? Or, could the board be defective?

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Are you trying to use the Input shaping plugin?

        Z-Bot CoreXY Build | Thingiverse Profile

        wally3Dundefined 1 Reply Last reply Reply Quote 0
        • wally3Dundefined
          wally3D @Phaedrux
          last edited by wally3D

          @phaedrux Right now I'm just using M956 to gather csv data. I can see the data as text and in the accelerometer plugin.

          (edit) I found the plugin and while setting up the motion profile it stops during the "Please stand by while Motion Profiles are being recorded..." phase for the x axis, I need to cancel it (after waiting awhile) to get back to DWC.

          (edit) switching to 8 bits creates data viewable in the gui, so I suppose I am ok now.

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