1. Technical Field
The present disclosure relates to computer mice and, particularly, to a mechanical computer mouse.
2. Description of Related Art
A conventional mechanical computer mouse usually includes two encoding disks. A pair of light sources is arranged at one side of one encoding disk, and a pair of light sensors is arranged at an opposite side for receiving light respectively from the light sources. Each encoding disk defines a number of slots that break the beam of light coming from the light sources to produce pulses of light that are picked up by the light sensors. The pulses of light can be used to generate data representation of the movement of the mouse. Although the conventional mechanical mouse can satisfy basic requirements, a new mechanical computer mouse is still needed.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will now be described in detail below, with reference to the accompanying drawings.
Referring to
The mouse 10 also includes a first pair of light sources 40 and 50, a second pair of light sources 60 and 70, and a light sensor 80. The light sources 40 and 50 can be infrared light emitting diodes (LEDs) and are arranged at one side of the wheel 20. The light sources 60 and 70 are arranged at one side of the wheel 30. The light sensor 80 is configured for receiving light from the light sources 40, 50, 60, and 70 that passes through the slots 31 and/or 21. After receiving the light from any one of the light sources 40, 50, 60, and 70, the light sensor 80 changes from a first state to a second state and returns to the first state when the light is blocked. In the embodiment, the light sensor 80 outputs a high-potential signal (signal “1”) when receiving the light, and outputs a low-potential signal (signal “0”) when the light is blocked.
Referring to
Specifically, when the wheel 20 rotates clockwise and permits the light from the light source 40 to pass through one slot 21 to the light sensor 80, the light sensor 80 then generates a signal “1”. The light source 40 is turned on for a short preset period and then is turned off. While the light source 40 is turned off, the light source 50 is turned off and the light from the light source 50 is blocked by the spacing between the slots 21 spacing between the slots 21 blocks the light from the light source 50. The light sensor 80 is unable to detect the light from the light source 50 and then generates a signal “0”. As the wheel 20 continues to rotate, the light source 40 is turned on again and the light from the light source 40 can still pass through the slot 21. The light sensor 80 then outputs a signal “1”. After the small preset period, the light source 50 is turned on, and the light from the light source 50 can also pass through the slot 21 and the light sensor 80 then outputs a signal “0”. It should be clear that the design of the slots 21 generates a phase discrepancy of 90 degrees between the signals corresponding to the light sources 40 and 50. As the wheel 20 continues to rotate, the signals corresponding to the light sources 40 and 50 become “0” and “1”. As the wheel 20 continues to rotate even more, the signals corresponding to the light sources 40 and 50 become “0” and “0”.
Referring also to
Similarly, to determine whether the wheel 14 is rotating counterclockwise, it needs to determine if the arrangement of the output signals of the light sensor 80 corresponding to light sources 40 and 50 change from “00”, “01”, “11” to “10” in order.
The controlling unit 90 generates data representation of the moving direction and moving speed of the mouse 10 according to the obtained states (signals “0” and “1”) of the light sensor 80. Specifically, the moving direction is determined based on the rotating direction of the wheel 20 and/or wheel 30. The moving speed is determined based on the changing speed of the signals “01”, “00”, “10” to “11” or “00”, “01”, “11” to “10”. A cursor on a display (not shown) can be controlled to move based on the data, after the data has been sent to a host device (not shown).
In an alternative embodiment, each of the light sources 40, 50, 60, and 70 can be replaced with a light sensor, and the light sensor 80 can be replaced with a light source. Similar to what has been described above, the scanning module 100 scans the four light sensors successively in a predetermined frequency to obtain the signal states (“0” and “1”) of the four light sensors. The controlling module 90 generates data representative of the moving direction and moving speed of the mouse 10 according to the obtained states.
While various embodiments have been described and illustrated, the disclosure is not to be constructed as being limited thereto. Various modifications can be made to the embodiments by those skilled in the art without departing from the true spirit and scope of the disclosure as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
200910308962.2 | Oct 2009 | CN | national |