So now that I've got that sorted out, I want to use the triac circuit instead of a electromechanical relay, because I figure solid state will have a longer lifetime than electromechanical parts.
So I am now using an PS2505 and a Schmidtt trigger with hardware debouncing which is connected to an Arduino input pin.
When I activate the brew switch on the machine, I have written a little Arduino sketch to pulse the pump on and off for 1 sec each, 3 times via the triac circuit from the datasheet on Post#5.
I've connected a LED to the output pin that is driving the pump to confirm that the code is working as intended.
When the pump comes on it doesn't pulse, but instead just stays on.
I read somewhere that there is a latching effect on triacs. Does this sound right?
So I am now using an PS2505 and a Schmidtt trigger with hardware debouncing which is connected to an Arduino input pin.
When I activate the brew switch on the machine, I have written a little Arduino sketch to pulse the pump on and off for 1 sec each, 3 times via the triac circuit from the datasheet on Post#5.
I've connected a LED to the output pin that is driving the pump to confirm that the code is working as intended.
When the pump comes on it doesn't pulse, but instead just stays on.
I read somewhere that there is a latching effect on triacs. Does this sound right?