I found this
http://www.scarpaz.com/documents/an-366.pdf - on page 23 there is a "noise discriminator" circuit. It looks like just the thing to eliminate (or at least, improve) noise from mechanical vibration going into the photo-interrupter on The Ridiculously Complicated PCB Drill. It has a very vibratey spindle motor, I'm thinking of getting a better one but even smooth motors still cause issues.
I was wondering if there's an easy way to avoid having to use a D type flip-flop in there?
I also found
http://www.ti.com/lit/an/scla014/scla014.pdf?ts=1597861624556 on page 17, which might be the better option - the Fairchild document has a different one on page 26.
The TI circuit would need changing to PNP if I used it.
I'm already using a 74HC123 monostable to solve some issues so it's part-way there.
What I actually have is potentially some spare xor gates and potentially a spare monostable. Though I wonder if there's a better way using our old friend the 555?
They all seem to do pretty much the same thing anyway. I just want to get rid of the short pulses caused by vibration. I don't really want to have to rename the project as The
Very Ridiculously Complicated PCB Drill... Though it might be fun
(edit - wouldn't need to change the TI version, I'm just a dummy...)