Simple relay control... or not?
-
Sorry, @droftarts, I'm being a bit slow...
No, the Duet3 is running from a 24V PSU.
-
@nightowl999 Then don't use the heater outputs, as 24V will be too much for the relay. You can use a fan output, with the fan voltage set to 12V. I would imagine the current draw of a relay is less than 2A.
Ian
-
Thanks, @droftarts. Does that mean I could use Out 7, 8 or 9 and change your code accordingly, or are they 24V because I'm using a 24V PSU?
-
@nightowl999 You can use out4, 5, 6, 7, 8 or 9. Above each bank (out4-6 and out7-9) there is a 3-pin header. This selects the voltage for each bank, and can be set to V_FUSED (fused VIN, ie 24V) or 12V (using the onboard 12V reglator).
See the wiring diagram for setting: https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Mainboard_6HC_Hardware_Overview#wiring-diagram
Ian
-
Brilliant, thank you @droftarts!
-
@droftarts said in Simple relay control... or not?:
@nightowl999 Then don't use the heater outputs, as 24V will be too much for the relay. You can use a fan output, with the fan voltage set to 12V. I would imagine the current draw of a relay is less than 2A.
Ian
RELAY 20 MHA MAX 80MHA
-
@droftarts said in Simple relay control... or not?:
@nightowl999 Then don't use the heater outputs, as 24V will be too much for the relay. You can use a fan output, with the fan voltage set to 12V. I would imagine the current draw of a relay is less than 2A.
Ian
Isn't the maximum amps 800mA at 12V? or am I reading it wrong?
-
@jumpedwithbothfeet Yes, you're right. It's 2A with V_Fused, 800mA total current with 12V. Looks like the relay is well below this, though.
Ian
-
@droftarts I was half hoping it was 2 amps it would of simplified my wiring a fair bit!
-
This post is deleted! -
@droftarts said in Simple relay control... or not?:
Just as a quick follow-up, this should work, then:
M950 R0 C"out4+out7"
...with the relay wires connected to the pins of Out 7 and the Out 7-9 jumper between V_OUTLC2 and 12V?
Thank you
-
@nightowl999 yep
-
-
@nightowl999
I just read the Amazon description for your relay-control module and it says it can be triggered by an Arduino using any voltage from 3 to 14 Volts, so you don't need to worry about drawing too much power from the onboard 12 Volt supply at all.
Where did you read that it takes 2 Amps to drive the module? I'd like to verify that.
-
Erm, I didn't @alankilian. That was @jumpedwithbothfeet wishing it was 2A!
-
@nightowl999 said in Simple relay control... or not?:
Erm, I didn't @alankilian. That was @jumpedwithbothfeet wishing it was 2A!
OK, I got it.
It looks like you're in good shape!
-
@alankilian
Yep. Just keep an eye out for a big cloud of smoke in SW England. If there is one, it didn't work -
@nightowl999 have you considered using the Laser/VFD output to drive the relay module? It provides a 5V signal.
-
My intention is to 'upgrade' to a milling motor in the not too distant future, @dc42, so I was going to leave the Laser/VFD output for that.
Doing it this way for now will support both my router and dust collector, and just the dust collector when I've saved enough for the MM.
-
@alankilian Ah, perhaps not.
I think I've missed something because, when I send the M3 code from the Console, I get the error:
M3
Error: M3: No P parameter and no active tool with spindle.Am I supposed to configure this elsewhere in the config.g file?
Thank you