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

    Using 10-30V Proximity Sensors

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    7
    287
    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.
    • Nightowlundefined
      Nightowl
      last edited by

      I'm replacing the limit switches with proximity sensors on my CNC machine and, although there is evidence to show they work with 5V, I was wondering if it would/could be better to use a 12V supply.

      I was thinking of taking 12V and GND from the two-pin header adjacent to the 5V PWM header, but getting the signals from the I/O headers. Obviously the GND would need to be a common ground between the headers?

      Having said that, in the not too distant future I'm hoping to add a milling motor and use these and the PWM header for that, so maybe it's not a good idea..?

      Thanks

      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
      I'm still on my learning curve, so take everything I say with caution!

      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

        @nightowl999 you can interface NPN-output proximity sensors directly with the IO input pins of most Duets. The sensors can be powered with up to 30V. PNP output sensors can't be connected directly.

        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

        Nightowlundefined 1 Reply Last reply Reply Quote 0
        • Nightowlundefined
          Nightowl @dc42
          last edited by

          @dc42 Oh, right. So it would be a direct replacement, but should I use the 5V pin rather than the 3.3V, or doesn't that matter, either?

          Mine are NPNs.

          Thanks

          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
          I'm still on my learning curve, so take everything I say with caution!

          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

            @nightowl999 you should connect to neither the 5V pin nor the 3.3V pin if you want to power the sensor from 12V or 24V.

            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

            Nightowlundefined 1 Reply Last reply Reply Quote 0
            • Nightowlundefined
              Nightowl @dc42
              last edited by

              @dc42 So, if they don't work effectively with 5V, are you saying my original suggestion of connecting the supply +ve to a 12V option would work and that the GNDs are common throughout the board?

              Thanks

              Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
              I'm still on my learning curve, so take everything I say with caution!

              RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                @nightowl999 yes.

                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

                Nightowlundefined 1 Reply Last reply Reply Quote 0
                • Nightowlundefined
                  Nightowl @dc42
                  last edited by

                  Thank you, @dc42

                  Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                  I'm still on my learning curve, so take everything I say with caution!

                  RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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