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

    Powering System Safety Relay - 3.3V Expansion Pin RRF3 [Solved]

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    12
    428
    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.
    • Danalundefined
      Danal
      last edited by Danal

      M950 P0 C"exp.heater7" ; Expansion connector pin 31.

      Then use M42 P0 S1 to switch on, or S0 to switch off.

      3.3V only!!! Relay? Maybe consider either snubber diodes or a transistor on the output pin before the relay.

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • code7undefined
        code7
        last edited by code7

        Thanks Danal,

        The code worked well but for some reason my relay isn't working. Can you recommend another pin and code to try if I were to use a 24V relay which matches my input power on the Duet controller? My E1 heater output is available.

        zaptaundefined 1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by

          Output pins on expansion will only ever be the logic voltage. 3.3V in this case. If the relay is not specifically an ultra-low-current 3.3V relay, it will not work. It will need a transistor or similar.

          Delta / Kossel printer fanatic

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

            @code7 said in Powering a System Safety Relay with 3.3V Expansion Pin in RRF3:

            Thanks Danal,

            The code worked well but for some reason my relay isn't working. Can you recommend another pin and code to try if I were to use a 24V relay which matches my input power on the Duet controller? My E1 heater output is available.

            What relay are you using? Is it a barebone relay or a relay module like this one with some electronics on it? https://www.amazon.com/ICStation-Optocoupler-Trigger-Development-Arduinoo/dp/B07P73PHQY

            1 Reply Last reply Reply Quote 0
            • code7undefined
              code7
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • code7undefined
                code7
                last edited by

                @zapta What relay are you using?

                This is the relay from amazon that I am using: https://www.amazon.com/3V-Relay-Module-Optocoupler-Development/dp/B01M0E6SQM

                Product Data Sheet: https://images-na.ssl-images-amazon.com/images/I/81SV55x7wbL.pdf

                If you have a suggestion for another relay or relay/transistor combination I'll try it.

                1 Reply Last reply Reply Quote 0
                • code7undefined
                  code7
                  last edited by

                  It looks like the 3.3v output pins on the header are only capable of about 20mA. I'll use an SSR.

                  1 Reply Last reply Reply Quote 0
                  • Danalundefined
                    Danal
                    last edited by Danal

                    The relay to which you linked says:

                    Trigger Current: 3mA

                    That should be fine, if you pull the jumper and power the relay separately.

                    Delta / Kossel printer fanatic

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

                      @Danal said in Powering a System Safety Relay with 3.3V Expansion Pin in RRF3:

                      That should be fine, if you pull the jumper and power the relay separately.

                      Exactly. GND to ground. VCC to 3.3V supply and IN to the 3.3V digital output that can drive at least 3ma.

                      code7undefined 1 Reply Last reply Reply Quote 1
                      • code7undefined
                        code7 @zapta
                        last edited by code7

                        @Danal @zapta

                        Ok- thanks

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