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

    3.3V Relay control

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    relay 3.3v gpio
    5
    10
    730
    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.
    • wcj97undefined
      wcj97
      last edited by

      I have a 3.3V SSR lying around thats nicely packaged for controlling a mains line that I’d like to use on my printer. I just added a Duex 5 to my Duet and I noticed there is a 3.3V pin on the GPIO header in the top left corner. As I understand it, the fans/LEDs are switched at ground. Would it be unwise to use that 3.3V pin and the ground pin of a fan/LED to drive my relay?

      Thank you in advanced

      Original Prusa i3 MK2
      Hephaestus (Custom Duet based large format FFF)
      Aeon (Custom belt printer)
      Elegoo Mars

      dc42undefined 1 Reply Last reply Reply Quote 0
      • gtj0undefined
        gtj0
        last edited by

        That should work fine but the PS_ON pin on the EXT_5V header on the Duet also switches ground and is designed for just that purpose. You can then control it with M80/M81.

        wcj97undefined 1 Reply Last reply Reply Quote 1
        • wcj97undefined
          wcj97 @gtj0
          last edited by

          @gtj0 I’m using the relay to switch power to my heated bed. Can I do that with the PS On without affecting any other functionality?

          Original Prusa i3 MK2
          Hephaestus (Custom Duet based large format FFF)
          Aeon (Custom belt printer)
          Elegoo Mars

          1 Reply Last reply Reply Quote 0
          • jens55undefined
            jens55
            last edited by

            You say you have a 3.3V SSR ..... most SSR's have a MUCH larger control input range with many going up to the 30V range. If that is what you have then why not just use the bed heater output ? This is how my SSR is controlled for a 120V bed.

            wcj97undefined 1 Reply Last reply Reply Quote 1
            • gtj0undefined
              gtj0
              last edited by

              If you're using it for the bed then no, I'd not recommend M80/M81. Could get confusing.
              The bed connector is also ground-switched so even if your SSR is limited to 3.3v you can still use it.

              1 Reply Last reply Reply Quote 1
              • wcj97undefined
                wcj97 @jens55
                last edited by

                @jens55 well, I should really learn to read lol. Looks like it’s /not/ an SSR, it’s mechanical. ALSO, I did not see that even though the inputs are labeled as 3.3v, the product label states an input range of 3-12V at 3-30mA. Which presents a new problem because my supply is 24V and the jumper on my fans is set to be at VIN

                Original Prusa i3 MK2
                Hephaestus (Custom Duet based large format FFF)
                Aeon (Custom belt printer)
                Elegoo Mars

                gtj0undefined 1 Reply Last reply Reply Quote 0
                • gtj0undefined
                  gtj0 @wcj97
                  last edited by

                  @wcj97 said in 3.3V Relay control:

                  @jens55 well, I should really learn to read lol. Looks like it’s /not/ an SSR, it’s mechanical. ALSO, I did not see that even though the inputs are labeled as 3.3v, the product label states an input range of 3-12V at 3-30mA. Which presents a new problem because my supply is 24V and the jumper on my fans is set to be at VIN

                  Doesn't matter 🙂 You're always switching ground whether you use a fan, bed or PS_ON.

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

                    You could connect it between one of the expansion connector heater outputs (for example heater3) and +3.3V on the expansion header.

                    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 1
                    • gtj0undefined
                      gtj0
                      last edited by

                      Oh, don't forget about a flyback diode if the module doesn't already have one.

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

                        if its a relay module with a transistor to drive the coil, then maybe check the markings on the relay to see if its a 12v coil? it could get a bit toasty if fed 24v

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