Summary of the invention
The present invention is carried out to solve the problems referred to above, it is therefore intended that offer one can not
Depend on clipboard and carry out unsettled input and it can be avoided that the wireless photoelectric input pen of erroneous input.
The present invention to achieve these goals, have employed following structure:
The present invention provides a kind of wireless photoelectric input pen, for being connected to wireless photoelectric input pen
Computer carry out text input, including one have nib pen body, it is characterised in that
Also include: optical mouse sensor, for capturing the movement locus of nib, and by motion rail
Mark is converted into displacement vector information;Communication section, for by displacement vector information transmission to computer with
Complete input;Control chip, is at least controlled communication section, touches circuit, for control
Whether coremaking sheet opens input function is controlled;And soft-touch control, for touching circuit
Be turned on and off be controlled, wherein, control chip can also receive optical mouse sensing
The displacement vector information that device sends and comes, when soft-touch control is unlocked, touches circuit turn-on,
And send to control chip represent can carry out inputting can input signal, make control chip open
Input function, and receive optical mouse sensor send and come displacement vector information.
It addition, in the wireless photoelectric input pen of the present invention, touch circuit and also include for touch
The on and off switch that the mechanical break-make of circuit is controlled.
It addition, in the wireless photoelectric input pen of the present invention, optical mouse sensor has luminous unit
Part, CMOS chip and dsp processor, wherein, light-emitting component is used for launching light, CMOS
Chip is for shooting the movement locus of nib under light, and obtains motion track information, DSP
Processor is for calculating displacement vector information according to motion track information.
It addition, the wireless photoelectric input pen of the present invention also includes: convex lens, be positioned at nib and
Between CMOS chip, for amplifying when the movement locus of nib is shot by CMOS chip
The shooting area of CMOS chip.
It addition, in the wireless photoelectric input pen of the present invention, light-emitting component is infrared-emitting diode,
For launching the Infrared that human eye is not felt by.
It addition, in the wireless photoelectric input pen of the present invention, communication section includes: radiofrequency launcher;
And passing through dismountable radio frequency receiver that USB interface is connected with computer, radiofrequency launcher is used
In displacement vector information being converted into high frequency radio signal and sending, radio frequency receiver is used
In high frequency radio signal being received and decoding, obtain displacement information, and connect by USB
Displacement information is transmitted to computer by mouth.
It addition, the wireless photoelectric input pen of the present invention also includes: for display on computer
The page carries out the upper page turning key paged up;And on computer display the page carry out to
The lower page turning key of lower page turning, wherein, when upper page turning key is chosen, control chip is by logical
News portion sends to computer and represents the information paged up, and makes the page page up, instantly page turning key
When being chosen, control chip sends the information of the downward page turning of expression by communication section to computer, makes
The downward page turning of the page.
The effect of invention and effect
Wireless photoelectric input pen according to the present invention, because using control chip to control input work
Can, use touch circuit whether control chip is opened input function and be controlled, and use tactile
Touch switch and be turned on and off being controlled to touching circuit, so that the input of this wireless photoelectric
Pen needs to open soft-touch control and just can carry out unsettled input, cannot enter if being not switched on soft-touch control
The unsettled input of row, thus issuable maloperation problem when avoiding input, be effectively increased
The degree of accuracy of input.
Embodiment
Fig. 1 is the structural representation of the wireless photoelectric input pen of the embodiment of the present invention.
Fig. 2 is the top view of the wireless photoelectric input pen of the embodiment of the present invention.
As shown in Figure 1, 2, wireless photoelectric input pen 20 for this wireless photoelectric input pen 20
The computer being connected carries out text input, including pen body 15, battery 8, optical mouse sensing
Device 17, convex lens 19, touch circuit 5, soft-touch control 4, communication section, on and off switch 14,
Upper page turning key 12, lower page turning key 13 and the control chip 7 that above-mentioned each parts are controlled.
Pen body 15 is used for allowing user be easy to use, and provides binding site, tool for each parts
There is a nib.When user uses pen body 15 to write, nib can produce fortune
Dynamic track.
Optical mouse sensor 17 is positioned at the top of nib, with control chip 7 by connecting line 16
It is connected, for capturing the movement locus of nib, movement locus is converted into displacement vector information,
And by connecting line 16, this displacement vector information is transmitted to control chip 7.Optical mouse senses
Device 17 includes light-emitting component 1, CMOS chip and dsp processor.Wherein, CMOS chip and
Dsp processor does not the most show.
Light-emitting component 1 is fixed on pen body 15 by the first fixing device 2, is used for launching light
Line.Light-emitting component 1 in the present embodiment is infrared-emitting diode, is used for launching human eye impression
Less than Infrared.Because CMOS chip must be bright when the movement locus of shooting nib
The visual field is carried out, if the image photographed is dark, just this image cannot be analyzed,
So needing light-emitting component 1.It addition, in order to avoid when writing light-emitting component 1 send dazzling
Light, so using infrared-emitting diode, the so imperceptible light of user when writing
Existence, improve the comfort level write.
CMOS chip, is fixed on pen body 15 by the second fixing device 3, at this
Shoot the movement locus of nib under light, and obtain motion track information.
Convex lens 19, between nib and CMOS chip, solid by the 3rd fixing device 18
It is scheduled on pen body 15, for when the movement locus of nib is shot by CMOS chip
Amplify the shooting area of CMOS chip so that the picture of CMOS chip shooting becomes apparent from, just
Calculate in dsp processor.
Dsp processor is for calculating displacement vector information according to motion track information.
Communication section includes radio frequency receiver 10 and radiofrequency launcher 11.
Radiofrequency launcher 11 is positioned on pen body 15, by special purpose interface and control chip 7 phase
Even, it is possible to receive, by this special purpose interface, the displacement vector information that dsp processor calculates,
It is sent out after this displacement vector information is converted into high frequency radio signal.This special purpose interface is
By user-defined signal emission port programming when.If using single-chip microcomputer as control
Device processed, then user can set four pins and controls the positive negative direction of X, Y respectively when programming.
One end of radio frequency receiver 10 is USB interface end, and the other end is moving phase with pen body 15
Even.This radio frequency receiver 10 uses pluggable design, is inserted in the top of pen body 15 at ordinary times,
Pull up from pen body 15 during use, by the USB interface phase of USB interface end 9 with computer
Even.High frequency radio signal can be received and decode by radio frequency receiver 10, parses pen
The displacement information of head, and by USB interface end, displacement information is transmitted to computer, with at computer
On complete input service.Radiofrequency launcher 11 and radio frequency receiver 10 use existing 2.4GHz
Wireless optical mouse radio-frequency receiving-transmitting technology.
Battery 8 is for each units such as control chip 7, light-emitting component 1 and optical mouse sensors 17
Device provides electric energy.In the present embodiment, battery 8 is button cell R46, is installed on pen body
The top of 15.This kind of button cell volume is little, lightweight so that the wireless photoelectric input of design
Pen comfort level when writing is improved well.
On and off switch 14 is positioned on the power line touching circuit 5, for the machinery touching circuit 5
Break-make is controlled.When on and off switch 14 is connected, battery 8 is to above-mentioned components and parts and touch
Circuit 5 is powered so that above-mentioned components and parts and touch circuit 5 can normally work;Work as break-make
During switch 14 disconnection, the power supply of above-mentioned components and parts and touch circuit 5 is cut off by battery 8, on
State components and parts and touch circuit 5 cisco unity malfunction.When being not required to carry out word input, break-make
Switch 14 is disconnected, and touches circuit 5 and can not get electric energy, thus cannot perform input function.Cause
This, on and off switch 14 can avoid error starting word input function as first order protection switch.
Control chip 7 is for being controlled above-mentioned components and parts, it is possible to receive and process optics Mus
The information that mark sensor 17 and touch circuit 5 send, and by communication section, this information is passed
Transport to computer, in order to realize input function.
Fig. 3 is the structural representation touching circuit of the embodiment of the present invention.
As it is shown on figure 3, touch circuit 5 to be positioned at the side of pen body 15, lead to control chip 7
Cross connecting line 16 to be connected, for whether control chip 7 is opened input function be controlled.Touch
Touch circuit 5 and be provided with a soft-touch control 4.Soft-touch control 4 is opened by pen body 15 side
Mouth is arranged on the outside of pen body 15, for touch circuit 5 be turned on and off control
System.When user needs to carry out word input, press this soft-touch control 4 with receiving, now touch
Touch switch 4 to be just unlocked, touch circuit 5 and turn on, touch and at the LSE plate interface of circuit 5, derive electricity
Stream, as representing that can carry out inputting can input signal be sent out to control chip by connecting line 16
Send, make control chip 7 open input function, and dsp processor is sent and next displacement vector
Information is received, thus starts input action.When user needs to carry out word input,
It is first turned on the handwriting input software of computer, activates inputting interface, press touch the most always
Switch 4 is write, and just can input continuously.When soft-touch control 4 is not pressed, just by
Closing, now, touching circuit 5 can disconnect, and control chip 7 closes input function, not to DSP
The displacement vector information that processor sends and comes is received, even if user carries out writing the most not
Computer can be inputted.Therefore, soft-touch control 4 can be avoided as second level protection switch
Error starting word input function.
Upper page turning key 12 and lower page turning key 13 are positioned at the side of pen body 15, for respectively to electricity
On brain, the page of display carries out paging up or page turning downwards.When upper page turning key 12 is chosen,
Control chip 7 sends, to computer, the information that expression pages up by communication section, makes the page upwards
Page turning;Instantly, when page turning key 13 is chosen, control chip 7 sends table by communication section to computer
Show the information of downward page turning, make the downward page turning of the page.Upper page turning key 12 and lower page turning key 13 are easy to
User uses when reading document or viewing PPT.
A pen clip 6, pen clip 6 and pen body 15 can also be set as one on pen body 15
Overall.
The method that user uses this wireless photoelectric input pen 20 to carry out inputting comprises the following steps:
The first step, radio frequency receiver 10 are unplugged from pen body 15, by USB interface end
9 are connected with the USB interface of computer;
Second step, on and off switch 14 close, and battery 8 starts power supply;
3rd step, soft-touch control 4 are unlocked, and touch circuit 5 and turn on, and send to control chip
Expression can carry out inputting can input signal, control chip 7 opens input function;
4th step, needing to move pen body 15 according to input, CMOS chip passes through
Convex lens 19 shoot nib movement locus, obtain motion track information, dsp processor according to
Motion track information calculates displacement vector information;
5th step, control chip 7 receive displacement vector information by connecting line 16, and should
Displacement vector information sends to radiofrequency launcher 11;
Displacement vector information is converted into high frequency radio signal also by the 6th step, radiofrequency launcher 11
Send;
The high frequency radio signal received is decoded by the 7th step, radio frequency receiver 10,
To displacement information, and by USB interface end 9, displacement information is transmitted to computer, computer complete
Text inputs;
8th step, soft-touch control 4 are closed, and touch circuit 5 and disconnect, and control chip 7 stops defeated
Enter function;
9th step, on and off switch 14 are closed, and complete this input action.
In above-mentioned steps, whether the on and off switch 14 of second step closes is opened as first order protection
Closing and prevent erroneous input, whether the soft-touch control 4 of the 3rd step closes, and opens as second level protection
Close and prevent erroneous input.
Below it is only the preferred embodiment of the present invention, it should be pointed out that: for the art
For those of ordinary skill, under the premise without departing from the principles of the invention, it is also possible to make some
Improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.