Duet 3 MB6HC Relay Control via OUT4-6 Pins
-
@OwenD It's the 5V relay board. Fixed the description in the post to include that info too
-
@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?
-
@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
-
@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). -
-
@jumpedwithbothfeet
According to the listing 800mA should be more than enough. -
@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
-
@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.
-
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.
-
-
@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.