Hall Effect sensor 24v on Duet 3



  • 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?



  • @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.



  • @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 🙂



  • 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.



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


Log in to reply