UCCNC does not have a debounce or noise filtering utility. The way they see it is that the noise needs to be filtered in the hardware. Some tricks for filtering noise are:
- Make sure the stuff is properly grounded, you may need to check the documentation for noise generating drives, etc…
- You may want to use a good breakout board and possibly optoisolated if needed.
- Make sure the negative of your logic is not common with the negative of main power supply if you have a DC power supply, this video explains how to check that:
- Use ferrite beads on the power connections on the breakout board and other devices handling the logic signals.
Arturo Duncan
https://cnc4pc.com