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

    How to trigger relay/mosfet board with gcode (5v pins)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    3
    409
    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.
    • Prof_Porpoiseundefined
      Prof_Porpoise
      last edited by

      Hello all,

      (assume I know nothing about the duet) I want to trigger a 5v mosfet/relay board with a gcode command (just on/off no PWM) to control LED strips with gcode or other devices. How would I do this? Is it possible? And can it be on 2-3 pins?

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

        The signals provided by the Duet are 3.3V. Depending on your relay board, a 3.3V input signal may be enough to trigger it. The relay board will need 5V power, which you can get from either the expansion connector or from the PanelDue port.

        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

        gabrielpfundefined 1 Reply Last reply Reply Quote 0
        • gabrielpfundefined
          gabrielpf @dc42
          last edited by

          @dc42 what command could i use the get this 3.3V out as a trigger for another device?

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