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

    Power Switch Tail

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    5
    236
    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.
    • chickenwomanundefined
      chickenwoman
      last edited by

      I have a heated bed with its own control separate from the Duet. I'm trying to use an Arduino type controlled power switch to turn the bed off when the print finishes. I was hoping to use M42 and one of the extra pinouts but can't figure out how to do it. I need the signal to default to low and switch hi to turn the strip off. I've been trying with the heater 4 pin and configuring it using M950 but I really have no idea what I'm doing. Any help would be appreciated.
      Here's a link to the power strip I'm trying to use. Thanks.

      https://www.amazon.com/Iot-Relay-Enclosed-High-Power-Raspberry/dp/B00WV7GMA2/ref=sr_1_1?dchild=1&keywords=power+tail&qid=1584116358&s=electronics&sr=1-1

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

        Which Duet? Which firmware? Guessing some version of RRF3 as you mention M950?

        If the signal switches off when high; I'd rather make sure it is high by default - although that may pose a problem if the Duet loses power and the signal is no longer high?

        1 Reply Last reply Reply Quote 0
        • infiniteloopundefined
          infiniteloop @chickenwoman
          last edited by

          @chickenwoman said in Power Switch Tail:

          I need the signal to default to low and switch hi to turn the strip off.

          According to the description, the 4 outlets are switched "… in pairs. Two outlets are normally on. Two are normally off". If that’s true, you don’t need the signal to be active high in order to switch power off - active low is better in case of power loss, as @bearer points out. 🖕

          1 Reply Last reply Reply Quote 0
          • zaptaundefined
            zapta
            last edited by

            Have you consider to use the PS_ON output of the duet? You can toggle it on/off using gcode commands and it already has a driver mosfet that can drive directly that relay.

            chickenwomanundefined 1 Reply Last reply Reply Quote 0
            • chickenwomanundefined
              chickenwoman @zapta
              last edited by

              Thanks, that was so simple. When I was first reading about it I was confused on the wiring and didn't want to risk shorting the board. Read it again and it was easy. The + goes to an active 5v pin, I just used pin #1, and the ground goes to the PS On. Can't get any easier.

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