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

    Input Shaping: Accelerometer not found.

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    4
    739
    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.
    • Norderundefined
      Norder
      last edited by

      Good morning,
      Today I installed the accelerometer.
      I have the Duet2 Wifi with PT100 daughterboard on which I connected 4 wires to the thermistor (4 to 2 bridge).

      After calling G1 X-50 G4 S2 M956 P0 S1000 A0 G4 P10 G1 X50 F20000 I get an error that the acceleration sensor was not found.

      If I remove the daughter board from the Duet2 and plug the accelerometer directly onto it, the accelerometer works perfectly.

      Accelerometer (config.g):
      M955 P0 C"spi.cs4+spi.cs3"

      PT100 via daughter board (config.g):
      M308 S1 P"!spi.cs1" Y"rtd-max31865"

      Accelerometer connected with about 1 meter USB3 cable.
      CS signal connected to 2 lines that are separately shielded and twisted.

      Google Translate
      ----- Original Text -----

      Moin,
      heute habe ich den Beschleunigungssensor installiert.
      Ich habe das Duet2 Wifi mit PT100 Tochterplatine an der ich 4 Leitungen zum Thermistor angeschlossen habe (4 zu 2 Brücke).

      Nach aufrufen von G1 X-50 G4 S2 M956 P0 S1000 A0 G4 P10 G1 X50 F20000 wird mir ein Fehler angezeigt das der Beschleunigungssensor nicht gefunden wurde.

      Entferne ich die Tochterplatine vom Duet2 und stecke dort den Beschleunigungssensor direkt drauf, dann funktioniert der Beschleunigungssensor tadelos.

      Beschleunigungssensor (config.g):
      M955 P0 C"spi.cs4+spi.cs3"

      PT100 über Tochterplatine (config.g):
      M308 S1 P"!spi.cs1" Y"rtd-max31865"

      Beschleunigungssensor mit etwa 1 Meter USB3 Kabel verbunden.
      CS Signal angeschlossen an 2 Leitungen die für sich extra abgeschirmt und verdrillt sind.

      DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
      Thingiverse

      Norderundefined 1 Reply Last reply Reply Quote 0
      • Norderundefined
        Norder @Norder
        last edited by

        It's all kind of confusing.
        I connected the accelerometer as follows.
        LIS.jpg

        In one thread someone also had a daughter board on the Duet2 and someone sent him the following drawing.
        Here CS and INT1 are swapped!
        dia.JPG
        Link to comment.

        Then dc42 wrote the following...
        dc42.JPG
        Link to comment.
        dc42 said the drawing was OK (despite swapping CS and INT1 pins).
        But I don't understand his statement about the CS pin shifting by 3 places.
        Perhaps the Google Translator translates too poorly in this case?

        Google Translate
        ----- Original Text -----

        Es ist alles etwa verwirrend.
        Ich habe den Beschleunigungssensor wie folgt angeschlossen (Siehe erstes Bild).

        In einem Thread hatte jemand auch ein Tochterboard auf dem Duet2 und jemand schickte ihm folgende Zeichnung.
        Hier ist CS und INT1 vertauscht !
        (Siehe zweites Bild bzw Link zum Kommentar)

        Daraufhin schrieb dc42 folgendes... (Siehe drittes Bild bzw Link zum Kommentar)

        dc42 meinte die Zeichnung sei OK (trotz vertauschter CS und INT1 Pins).
        Aber ich verstehe seine Aussage mit dem sich um 3 Stellen verschiebenden CS-Pins nicht.
        Vielleicht übersetzt der Google Translator in diesem Fall zu schlecht ?

        DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
        Thingiverse

        Norderundefined 1 Reply Last reply Reply Quote 0
        • Norderundefined
          Norder @Norder
          last edited by

          The forum is big... very big.
          But I found the information needed to hook up an accelerometer to a temperature sensor daughter board.

          LIS2.jpg

          Google Translate
          ----- Original Text -----

          Das Forum ist groß... sehr groß.
          Aber ich habe die nötigen Informationen gefunden um ein Beschleunigungsmesser auf ein Temperatursensor-Tochterbord anzuschließen.

          problem solved / Problem gelöst

          DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
          Thingiverse

          dc42undefined 1 Reply Last reply Reply Quote 2
          • dc42undefined
            dc42 administrators @Norder
            last edited by

            @norder I'm glad you solved it. The PT100 daughter board routes CS3 and CS4 to the pins on the top connector that correspond to CS1 and CS2 on the lower connector, so that a second daughter board can be plugged in. That's why you needed different wiring.

            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
            • Norderundefined Norder referenced this topic
            • Norderundefined Norder referenced this topic
            • Phaedruxundefined Phaedrux referenced this topic
            • cosmowaveundefined cosmowave referenced this topic
            • cosmowaveundefined cosmowave referenced this topic
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA