主权项 |
1. An electronic device having an optical indexing module, the electronic device comprising:
a shell, installed with the optical indexing module, the optical indexing module comprising:
a control unit, adapted for integrating circuit signals within the optical indexing module for generating a moving signal;a light-emitting unit, connected to the control unit, providing a light source to emit lights via a light passage of the shell;a light sensing unit, connected to the control unit, comprising a plurality of sensing cells, wherein the sensing cells are arranged in a sensing array, and the sensing array is adapted for receiving lights via the light passage; anda connection interface, connected to the control unit, adapted for connecting a computer system, wherein the electronic device transmits the moving signal to the computer system via the connection interface; wherein, the electronic device obtains an energy difference of a spatial interference formed around a sampling time after computing the energy received by each of sensing cells within the sampling time, and the energy difference is referred to generate the moving signal for determining a moving direction. |