Triggers firing by themselves on restart
-
@cosmowave please how can i do this? I have no idea.
-
@o_lampe Thanks for the tip. I don't really know what resistor value I could use. Can you tell me one?
-
@rodrigormaraujo
4.7k -10k ohms are common. (that is 4700 -10000 ohms for the uneducated readers) -
@rodrigormaraujo said in Triggers firing by themselves on restart:
please how can i do this? I have no idea.Something like this. You have to addapt this code to your inputs:
This code has to be in the beginning of the Trigger macro!if fans[0].rpm < 100 G4 P10 if fans[0].rpm < 100 M25 M118 S"No Water flow!"
-
@o_lampe said in Triggers firing by themselves on restart:
4.7k -10k ohms are common. (that is 4700 -10000 ohms for the uneducated readers)
Ok, thank you!
-
@cosmowave thanks for the answer.
Got it, but I'm not sure it would work well, because I check the status (state.status == "idle" || state.status == "busy"). This state will be the same before and after the G4. The problem, as I understand it, is the reading of a false signal through the endstop port, which is apparently extremely sensitive to noise. -
Are the switches of the normally closed type?
Are the triggers running when you press the switch or release the switch.
I've got plain normally closed switches on both Duet 2 and Duet 3 hardware using the built-in pull-up resistors and have never seen your kind of problem.
Frederick
-
@rodrigormaraujo said in Triggers firing by themselves on restart:
is the reading of a false signal through the endstop port, which is apparently extremely sensitive to noise.
Eventually you can improve the cabeling (shielded cable)? try to not routing them near to stepper/ stepper cables...
-
@fcwilt said in Triggers firing by themselves on restart:
Are the switches of the normally closed type?
Are the triggers running when you press the switch or release the switch.
I've got plain normally closed switches on both Duet 2 and Duet 3 hardware using the built-in pull-up resistors and have never seen your kind of problem.No, I used normally open mechanical keyboard (cherry mx green) buttons.
[https://pt.aliexpress.com/item/1005001681627152.html?spm=a2g0s.9042311.0.0.2742b90a6Tptvm]
A friend commented to me about using NC buttons. I ordered magnetic filters on aliexpress. If the problem persists I will look for these buttons, but I will have to review how to install them on the skirts of the voron.
-
@cosmowave said in Triggers firing by themselves on restart:
Eventually you can improve the cabeling (shielded cable)? try to not routing them near to stepper/ stepper cables...
I ordered magnetic filters on the advice of a friend who works in electronics and builds cnc machines. According to him, this will help eliminate noise.
[https://pt.aliexpress.com/item/4000803662446.html?spm=a2g0s.9042311.0.0.3366b90aNy53pX] -
@rodrigormaraujo said in Triggers firing by themselves on restart:
@fcwilt said in Triggers firing by themselves on restart:
Are the switches of the normally closed type?
Are the triggers running when you press the switch or release the switch.
I've got plain normally closed switches on both Duet 2 and Duet 3 hardware using the built-in pull-up resistors and have never seen your kind of problem.No, I used normally open mechanical keyboard (cherry mx green) buttons.
[https://pt.aliexpress.com/item/1005001681627152.html?spm=a2g0s.9042311.0.0.2742b90a6Tptvm]
Normally closed setups are less sensitive to noise. Your normally open switches might, perhaps, be the cause of your problem.
Frederick
-
@fcwilt yes, thank you!