Infrared rope skipping device uses the principle of infrared sensor to detect the swing of hands and the take-off of feet, thus replacing the traditional manual rope swinging. If the infrared sensor detects an object, the output port will output a high level, otherwise, it will output a low level. This feature is used to detect the take-off of feet and the movement of hands. When a person stands on the infrared sensor (in the middle of the transmitter and receiver), the receiver of the infrared sensor detects the foot, so that its output signal is low level. When jumping off, the infrared sensor will not detect the foot and output a high level, and when the foot falls to the ground, it will output a low level. Therefore, we can count once by the way of interruption when the MCU detects the falling edge of the external interrupt foot, and the MCU will generate an interruption when jumping to the ground. When the single chip microcomputer detects two external interrupts at the same time, it counts skipping once, and at the same time, it displays the results of skipping once and accumulates them in turn.