Fan 1 ground pullup issue
-
I already control my simple router via a relay and Fan2 switching a ground to the relay with a pullup, ""M950 P0 C"^fan2" ;sets fan 2 connector left side/top pin to GPIO output with Pullup to GPIO pin P0"" and have tried to do the same with the output from Fan1 to control a vacuum.
The pullup on the ground side of fan0 and fan2 seem to work fine but the ground side of Fan1 seems to be shorted to ground despite setting a pullup, any ideas?? Thanks -
@glenmo What board are you using? Might also be worth posting your config.g file.
-
@glenmo there are no pullup resistors on the Duet 2 FANn or heater pins or Duet 3 OUT pins. A relay connected between one of those pins and +5V or +12V (as appropriate for the relay) will control a bare relay without needing a pullup resistor. We'd need more details of your vacuum device to advise how to connect it to a Duet.
-
Thanks for the replies. I am using a fairly basic 2 channel "arduino" style relay with optocoupler Hobbycomponents HCARDU0043 to be precise. I take 5V and ground from the Duet2 expansion port and then use the Fan2 Ground side?? connector to bring the relay "in" pin low and activate the relay.
I have been using this relay to switch on and off my router with no problems but now when I use Fan1 ground pin to bring the other relay "in" pin low, the relay activates all the time and won't switch off The Fan1 ground pin is low all the time regardless of my commands
The vacuum is just a henry by the way for dust collection. My setup works on Fan0 and Fan2 but not Fan1 which is why I am confused.
I could leave it like this but I would like to know why Fan1 isn't working the same way as the other 2.
M42 P2 S1 brings on the Router and M42 P0 S1 brings on the hoover no problem. Thanks.