• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    fma
    last edited by 3 Aug 2017, 09:54

    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
    • undefined
      dc42 administrators
      last edited by 3 Aug 2017, 10:50

      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
      • undefined
        fma
        last edited by 3 Aug 2017, 11:35

        Perfect!

        Thanks.

        Frédéric

        1 Reply Last reply Reply Quote 0
        • undefined
          Cata
          last edited by 3 Aug 2017, 13:24

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

          1 Reply Last reply Reply Quote 0
          • undefined
            fma
            last edited by 3 Aug 2017, 13:59

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

            Frédéric

            1 Reply Last reply Reply Quote 0
            • undefined
              Cata
              last edited by 3 Aug 2017, 14:44

              Search some like arduino relay module.

              1 Reply Last reply Reply Quote 0
              • undefined
                DjDemonD
                last edited by 3 Aug 2017, 14:46

                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
                • undefined
                  fma
                  last edited by 3 Aug 2017, 16:17

                  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
                  • undefined
                    Cata
                    last edited by 3 Jan 2018, 23:36

                    Do you use the board finally?

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      fma
                      last edited by 4 Jan 2018, 09:45

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

                      Frédéric

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Cata
                        last edited by 4 Jan 2018, 11:34

                        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
                        • undefined
                          Amilious
                          last edited by 4 Jan 2018, 15:52

                          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
                          • undefined
                            dc42 administrators
                            last edited by 4 Jan 2018, 17:24

                            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