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

    PS_ON usage

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    13
    1.8k
    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.
    • fmaundefined
      fma
      last edited by

      Hi!

      I would like to use the PS_ON signal to be able to power on/off my 24V supply, which is not a PC supply. So, I will need to use a little relay.

      How is PS_ON signal wired, on Duet side? How can I use it to drive my relay? Does it need some special protection?

      Thanks,

      Frédéric

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

        PS_ON is connected to an open-drain N-channel mosfet. You can use it to drive an SSR directly by connecting the negative control terminal to PS_ON and the positive control terminal to +3.3V or +5V. If you use to drive a mechanical relay, you must connect a flyback diode in parallel with the relay coil.

        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
        • fmaundefined
          fma
          last edited by

          Perfect!

          Thanks.

          Frédéric

          1 Reply Last reply Reply Quote 0
          • Cataundefined
            Cata
            last edited by

            One of this can work? I use with raspberry pi for led lights

            1 Reply Last reply Reply Quote 0
            • fmaundefined
              fma
              last edited by

              Looks like there is an optocoupler? Do you have a link?

              Frédéric

              1 Reply Last reply Reply Quote 0
              • Cataundefined
                Cata
                last edited by

                Search some like arduino relay module.

                1 Reply Last reply Reply Quote 0
                • DjDemonDundefined
                  DjDemonD
                  last edited by

                  If you use the flyback diode, as its still a mechanical relay with a magnetic coil which can shunt a whack of voltage back when de-energised. Check the coil voltage you'll need to supply the positive side of the coil with the right voltage for the duet to switch the negative side of the coil. 5v or 3.3v coil probably makes sense in terms of being able to get the supply easily.

                  Simon. Precision Piezo Z-Probe Technology
                  www.precisionpiezo.co.uk
                  PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                  1 Reply Last reply Reply Quote 0
                  • fmaundefined
                    fma
                    last edited by

                    The above boards seems to have an optocoupler, so no need to use a flyback diode on the Duet side. It is already included on the board, after the optocoupler, on the relay side (I think it is D2).

                    Frédéric

                    1 Reply Last reply Reply Quote 0
                    • Cataundefined
                      Cata
                      last edited by

                      Do you use the board finally?

                      1 Reply Last reply Reply Quote 0
                      • fmaundefined
                        fma
                        last edited by

                        Non, I don't control my power supply yet…

                        Frédéric

                        1 Reply Last reply Reply Quote 0
                        • Cataundefined
                          Cata
                          last edited by

                          I will try to use the same for emule a button connected to one rpi gpio. Waiting the script now

                          1 Reply Last reply Reply Quote 0
                          • Amiliousundefined
                            Amilious
                            last edited by

                            the whole fly back diode is confusing to me. I am using this relay http://modtronix.com/mod-rly2-5v.html and on that page it looks like the schematic has a diode. I have a 1N4001 diode on hand do i want to add it. If so where.

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

                              That's a relay module, not just a relay, so you don't need to use a flyback diode with it.

                              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