In particular, pin 21 of the Pi connects to 2uF capacitor ... This isn’t easy to catch with a level trigger. After all, if you set the trigger level to 3 V, the normal pulses will trigger ...