Duet3D Logo

    Duet3D

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

    Hall Effect sensor 24v on Duet 3

    Duet Hardware and wiring
    2
    5
    104
    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.
    • kenavn
      kenavn last edited by

      I am installing a Duet 3 on my CNC, and I have planned to use separate hall effect sensors for squaring on my two Y axis (separate motors). I have two 10-30v hall effect sensors in my drawer. I tried testing them with 24v input, and it gives me +24v back on activation (NPN). They are Riko SN04-N.

      I was hoping that the flexible GPIO hw on Duet 3 would accept them, and can read that the hw supports up to 30v in on the gpio ports. Would this work? Can the Duet read the 24v input on activation, or do I need to hook up other sensors/circuits to facilitate?

      A Former User 1 Reply Last reply Reply Quote 0
      • A Former User
        A Former User @kenavn last edited by

        @kenavn said in Hall Effect sensor 24v on Duet 3:

        I tried testing them with 24v input, and it gives me +24v back on activation (NPN).

        (Warning 4AM)
        Should they not have an active low output as NPN sensors and floating when not active? But yes, the inputs can deal with the voltage however the advantage of NPN sensors is you don't have to as you would use the Duets pull up and the sensor to drive the signal low.

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

          @kenavn said in Hall Effect sensor 24v on Duet 3:

          Riko SN04-N

          Hi,

          It's NPN NO (normally open). Have a look; https://www.aliexpress.com/item/32613205352.html. So yes, you are right. They should be floating when not active, and give active low on detection.

          The strange thing is that it seemed to behave differently. I've probably been sloppy in the testing. I have to check the wiring again 🙂

          1 Reply Last reply Reply Quote 0
          • A Former User
            A Former User last edited by

            Wouldn't be the first time specs on AliExpress didn't match expectations; but I guess you'll have to figure out how it behaves to wire and configure it correctly in any case.

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

              The sensor was not OK. Replacing it solved the issue. Thanks for the support.

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