Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Duet 2 wifi accelerometer connection

    Duet Hardware and wiring
    3
    5
    713
    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.
    • Adrian52
      Adrian52 last edited by

      I have been playing with the accelerometer on my delta with smart effector/Duet2wifi. I have a temperature sensor daughter board, so initially tried connecting with the daughterboard in place. The accelerometer was not recognised, although it's green led lit up. When connected directly to the header with the daughterboard disconnected, it worked!
      Is this expected behaviour, or am I doing something wrong?
      Congratulations on the update - looking good

      dc42 1 Reply Last reply Reply Quote 0
      • SIam
        SIam last edited by

        @adrian52 I'm not really sure, but I can imagine that if you use the same CS signals that the daugterboard uses, this can lead to problems. Unfortunately I can't find a schematic of the daugterboard where you could see which cs lines are used. So i would just try the other cs lines.

        Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
        Duet WiFi 1.02 or later + DueX5
        RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
        Duet WiFi Server: 1.26
        Duet Web Control 3.4.0beta4 (2021-09-27)

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

          Which spi.cs pin did you specify for it, and which CS pin on the top of the daughter board did you connect it to?

          You would have needed to use spi.cs3 or spi.cs4(because spi.cs1 and spi.cs2 are used by the daughter board. Those pins are routed to the top of the daughter board on different pins (the pins that would be spi.cs1 and spi.cs2 respectively if those were routed straight through).

          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

          Adrian52 1 Reply Last reply Reply Quote 1
          • Adrian52
            Adrian52 @dc42 last edited by

            @dc42 I essentially followed the wiki, connecting cs to cs3 at pin 7 on the duet, and int1 to cs4 at pin 9, and putting M955 P0 C"spi. cs3+spi.cs4" in config.g. So when connecting via the daughterboard, I should connect cs to pin position 3, and int1 to pin position 1, to pick up cs3 and cs4?

            1 Reply Last reply Reply Quote 0
            • Adrian52
              Adrian52 last edited by

              Yes, that worked fine - thank you.

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