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

    Duet 3 MB6HC Relay Control via OUT4-6 Pins

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    5
    12
    528
    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.
    • JRCLundefined
      JRCL @OwenD
      last edited by JRCL

      @OwenD It's the 5V relay board. Fixed the description in the post to include that info too

      OwenDundefined 1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD @JRCL
        last edited by

        @JRCL
        My understanding is that out_9 has 5v output level whereas the rest have 3.3v signal level which may not be enough to excite the relay (being 5v)

        Do you get the same results on all outputs?

        JRCLundefined 1 Reply Last reply Reply Quote 0
        • JRCLundefined
          JRCL @OwenD
          last edited by JRCL

          @OwenD the I/O out.pin's have no problem getting them to function. Those use a 3.3V signal as well I believe so I figured the same would be true for the OUT pins

          jumpedwithbothfeetundefined 1 Reply Last reply Reply Quote 0
          • Mr Yodundefined
            Mr Yod @JRCL
            last edited by Mr Yod

            @JRCL
            Isn't ".tach" only meant for fans speed reading pin? 🤔

            Other than that the code seems ok. 🤔

            So, on hardware level.
            Where did you put the jumper? Vcc or 12V?
            Because the out4~9 are NOT 5V (only out9 shares the pin with 5V laser, but that's a control signal, not power).

            1 Reply Last reply Reply Quote 0
            • jumpedwithbothfeetundefined
              jumpedwithbothfeet @JRCL
              last edited by

              @JRCL the on board 5v system will only allow 800ma in total it may be worth powering it via an external power source to rule out what @OwenD suggested, you may not have enough power to trigger the coils, I use a similar relay set up but 24v via the PSU.

              6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

              Mr Yodundefined 1 Reply Last reply Reply Quote 0
              • Mr Yodundefined
                Mr Yod @jumpedwithbothfeet
                last edited by

                @jumpedwithbothfeet
                According to the listing 800mA should be more than enough.

                jumpedwithbothfeetundefined 1 Reply Last reply Reply Quote 0
                • jumpedwithbothfeetundefined
                  jumpedwithbothfeet @Mr Yod
                  last edited by

                  @Mr-Yod the listing only mentioned the trigger not what’s needed to power the board, as your using a bltouch that’s about 300ma needed to power that already, I’m just suggesting you try, if only to rule it out 😁

                  6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

                  Mr Yodundefined 1 Reply Last reply Reply Quote 0
                  • Mr Yodundefined
                    Mr Yod @jumpedwithbothfeet
                    last edited by Mr Yod

                    @jumpedwithbothfeet
                    Oh, I missed the BLTouch part, but it's in board 20 (so, it seems, a Toolboard), while the relays are in board 0 (mainboard). 🤔

                    Nevertheless, even not using .tach pins is woth a try since, IIRC, @dc42 himself said many times in the past they are not for output.

                    JRCLundefined 1 Reply Last reply Reply Quote 0
                    • JRCLundefined
                      JRCL @Mr Yod
                      last edited by JRCL

                      @Mr-Yod @jumpedwithbothfeet

                      Originally I tried the actual outX pins on OUT4-6 to no avail so I tried the tach pins, but I'll switch back. The jumper for the OUT4-6 is on the 12V connection.

                      Just tried powering the relay board with an external 5V and used the out pins (instead of tach) and still didn't have any luck. Seems like it's a board issue then, I'll have to find a new one or use the remaining IO pins I was hoping to save.

                      Thanks for the help, hope everyone has had an enjoyable holiday.

                      dc42undefined 1 Reply Last reply Reply Quote 1
                      • JRCLundefined JRCL has marked this topic as solved
                      • dc42undefined
                        dc42 administrators @JRCL
                        last edited by

                        @JRCL the best option for driving relays from OUT pins would be to use 12V or 24V bare relays instead of a 5V relay board.

                        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
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA