Patent ID: 8365995

Claim:
A method for operating a multi-checkpoint type clustered fruit fly counting device used to count a group of fruit flies, the multi-checkpoint type clustered fruit fly counting device comprising: a container module, which has an entrance opening, a passage, and an internal trapping room; wherein the passage is arranged with at least two checkpoints including a first checkpoint and a second checkpoint; a multi-checkpoint object sensing module, which includes at least two object sensors including a first object sensor and a second object sensor; wherein the first object sensor is installed at the first checkpoint along the passage of the container module; and the second object sensor is installed at the second checkpoint in the passage of the container module; a trigger state registering module, which includes at least two flags respectively used for registering the trigger state of the first object sensor and the second object sensor, and is capable of generating a count-enable signal when both the first object sensor and the second object sensor are set to switch-on mode; and a counter module, which is capable of outputting a count number whose value is increased by one in response to each occurrence of the count-enable signal from the trigger state registering module by a wireless sensing network, and receiving a remote control signal by the wireless sensing network, the method comprising: initially setting the first object. sensor to the switch-on mode for sensing whether a fruit fly appears at the first checkpoint, and if yes, enabling the first object sensor to generate a first trigger signal; initially setting the second object sensor to switch-off mode and enabling the second object to be activated by the first trigger signal generated by the first object sensor for sensing whether the fruit fly that previously appeared at the first checkpoint now appears at the second checkpoint, and if yes, enabling the second object sensor to generate a second trigger signal; and allowing the first object sensor to always remain in the switch-on mode, and the second object sensor to shift to the switch-off mode after generating the second trigger signal and shift to the switch-on mode again after another fruit fly appears at the first checkpoint and the first object sensor has generated the first trigger signal again.