For higher speeds, I like to recommend the TLP117, that has an inverted logic output but requires a 5V offer on the output aspect. I’ve gotten 10 microsecond pulses out of the 1, that needs to be capable to inform you something about its pace! One particular end of hammer https://whatisavibrationisolatora24690.fitnell.com/69459239/the-smart-trick-of-isolator-vibration-engine-that-no-one-is-discussing