Duet resetting when using air pump
-
Can you provide photos of the wiring between the air pump and the Duet?
Does the problem definitely go away if you disconnect the air pump and then go through the same sequence?
-
Can you provide photos of the wiring between the air pump and the Duet?
Sure! Here's the pump side:
Excuse the ugly blob of resistors! The diode is a 1N4007. The black/red wires are about 80 cm long and end up here, in FAN0, on the other side:
Does the problem definitely go away if you disconnect the air pump and then go through the same sequence?
Yep. If I disconnect the pump from FAN0 and turn on the fan in DWC, Duet never resets.
-
Yep. If I disconnect the pump from FAN0 and turn on the fan in DWC, Duet never resets.
And same thing if I connect a normal fan. It spins happily and Duet runs fine.
-
Are you certain that the wire coming out of the right hand side of the diode isn't shorting against the motor casing? In the photo it looks as if it could be, but perhaps that's just because of the angle that it's taken from.
-
Are you certain that the wire coming out of the right hand side of the diode isn't shorting against the motor casing? In the photo it looks as if it could be, but perhaps that's just because of the angle that it's taken from.
Yeah, it's just the angle.
-
Yesterday, I tried connecting the pump to an always on fan port. Same thing happened; Duet reset after a few seconds (after turning on ATX power, of course). So at least we know it's unrelated to the fan MOSFETs.
I ordered a replacement pump a few days ago. Free but slow shipping, so it'll take a while before I can test it.
-
So my new pump arrived. The very same kind. I soldered on the diode and connected it and… same thing. Duet resets.
If I connect the pump directly to the 24V output of the supply, Duet resets. However, if I also disconnect Duet's VIN+GND terminals so that the pump is alone on the higher voltage, Duet does not reset. Re-connecting the high-power GND terminal restores the previous behaviour. I'm not sure what to make of this.
-
Is the motor close to the Duet? It might be an interference issue when the motor runs.
Did you try to use a separate power supply, and drive it through a FET?
-
Is the metal casing of the pump motor in contact with anything?
-
@fma:
Is the motor close to the Duet? It might be an interference issue when the motor runs.
Did you try to use a separate power supply, and drive it through a FET?
The motor is currently outside the printer frame with a ~15 cm cable. Before, I used a 60+ cm wire and the pump far outside the printer with the same result.
I have tried using a separate supply operated manually, but not with a FET. Good idea, I should try that. I guess the two supplies would need a common GND connection. I just hope that connection doesn't spread whatever happens to the Duet again.
It's so frustrating. If I only knew what's actually happening, I might be able to solve it. Now I'm just clueless.
-
Is the metal casing of the pump motor in contact with anything?
Nope. It's currently free on a wooden table, and normally it lives isolated in a plastic case.
-
Gasping at straws here. Just out of curiousity, have you tried running it with the separate supply electrically isolated completely from the duet and it's supply? I don't understand how it could be, but that would only leave EMI as the cause.
-
@Alexander:
Gasping at straws here. Just out of curiousity, have you tried running it with the separate supply electrically isolated completely from the duet and it's supply? I don't understand how it could be, but that would only leave EMI as the cause.
Yeah, that's what I'm doing now, and it works fine.
My printer's power supply also works for the pump as long as Duet's VIN (or rather, the VIN GND) isn't connected to that supply, it seems. -
that sound like a ground loop issue now you've said that
-
Do you have the Duet connected to as PC via USB as well?
-
Check the polarity of each power supply input and also anything that is connected via a cable. Make sure that the intentionally grounded AC conductor (commonly called the neutral here in the US) is hooked to the power supplys as they should be. A reverse polarity on one could account for this.
-
What power supply are you using to drive the Duet and the pump motor?