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

    Optical end stop PNP

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    2
    224
    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.
    • likevviiundefined
      likevvii
      last edited by

      I have optical endstops that I want to use in my machine for X and Y.
      My board is duet2wifi

      They are PNP type, and are sourcing 5V when triggered. (Omron EE-SX670R - PNP type)
      http://www.ia.omron.com/data_pdf/cat/ee-sx47_67_ds_e_13_2_csm483.pdf
      As far as I know, the duet works with NPN/sinking type switches. Is there a way to make my PNP switches work?

      Random side question, what is the difference between open-collector and line driver?

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

        As you suggest, NPN types would be more suitable. This PNP switches might work if you connect a load resistor of about 330 ohms between output and ground. If that doesn't work, then a higher value load resistor (e.g. 10K) followed by a 2N7000 mosfet would work.

        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

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