The invention discloses a
jitter elimination method for a mechanical microswitch, which comprises the following steps of: triggering a first contact and a second contact in sequence, outputting a first triggering
signal when the first contact is triggered, executing timing after a main control
chip receives the first triggering
signal, judging whether the first contact outputs a triggering
signal after timing is finished, and if yes, judging whether the first contact outputs the triggering signal; if a trigger signal is output, the signal is marked as a second trigger signal, and a third trigger signal is output when the second contact is triggered; the main control
chip records the mark A and switches the state of the mark A to the first state when receiving the second trigger signal, and records the state of the mark A to the second state when receiving the third trigger signal; and when the first trigger signal is received, the main control
chip detects the state of the mark A, and judges whether the first trigger signal is in an invalid state or not by detecting the state of the mark A. The
control error of a user caused by the fact that the main control chip repeatedly outputs a pressing signal in the single switch pressing process is avoided.