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

    Duet 2 wifi accelerometer connection

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    3
    5
    976
    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.
    • Adrian52undefined
      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

      dc42undefined 1 Reply Last reply Reply Quote 0
      • SIamundefined
        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
        • dc42undefined
          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

          Adrian52undefined 1 Reply Last reply Reply Quote 1
          • Adrian52undefined
            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
            • Adrian52undefined
              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