A kind of bracelet touches the method resetted
Technical field
The application is related to a kind of method that mobile terminal resets, and is related specifically to a kind of bracelet and touches the method resetted.
Background technology
Intelligent bracelet at present worldwide explosive growth, bracelet it is compact, wear it is convenient, powerful so that it
It is deep into the life of people rapidly.Bracelet is a kind of Intelligent worn device, its function be record user's daily life exercise,
The real time datas such as sleep, and after uploading high in the clouds background data base, pass through data-guiding healthy living.The important feature of bracelet is to treat
The machine time is grown(7 days to 1 year).At this stage on the market use touch key-press bracelet, after there is system in case of system halt, it is necessary to
Wait battery to recharge after depleting automatically to be resetted, or need to be circumscribed with the charger of 5V voltage outputs, in cradle
Upper operation could reset to bracelet.But either both solution methods are time-consuming oversize, or need to carry charger in real time
Also there must be power supply.Although both approaches can solve the phenomenon of bracelet system in case of system halt, the first:Wait battery electric quantity consumption
Light is waited, it is necessary to waste the excessive time, and waiting time bracelet can not work use;Second:Resetted by charger,
The method needs to carry with charger and connect external power source that bracelet can be resetted, and it is recovered normal work.
In order to solve the above-mentioned technical problem, the present invention designs a kind of bracelet and touches the method resetted, can be conveniently and efficiently extensive
The normal usage function of multiple bracelet.
Above- mentioned information is only used for strengthening the understanding to the background of the disclosure, therefore it disclosed in the background section
It can include not forming the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The present invention provides a kind of bracelet and touches the method resetted, and the bracelet that can solve current machinery-free type button crashes
Wait that time-consuming and the problem of cradle portability difference, conveniently and efficiently recovers the normal usage function of bracelet afterwards.
Technical scheme is as follows:
A kind of bracelet touches the method resetted, it is characterised in that:The bracelet includes bracelet touch-control surface, MCU, touch-control IC
With reset IC, the TIO films that the touch-control IC connections are bonded with the bracelet touch-control surface, with from right to left on the TIO films
Button A(PAD1), button B(PAD2)With button C(PAD3)Deng three touch key-press, the touch-control IC connections reset
IC, the touch-control IC connect the MCU with IC is resetted;The reset IC includes pin 2(Ground, VSS)With pin 5(Resetting time,
RT), set regulation resistance R211, regulation resistance R211 resistance can be between the pin 2 and pin 5 of the reset IC
Regulation;Methods described comprises the following steps:
1)Adjust the resistance of the regulation resistance R211 so that touch time Tdl and reach the default touch time, regulation is public
Formula is:Tdl(s)=0.000062015*R211(Ω)+0.097;
2)Touch the button A on the TIO films of the bracelet touch-control surface, a length of above-mentioned touch time Tdl during touch;
3)When the button A by touch duration when reaching above-mentioned Tdl, the touch chip is transfused to the length of Tdl durations
Periodic signal, then export low level one;
4)After the reset chip receives the low level one exported by the touch chip, low level two is exported;
5)MCU receives the low level two exported by the reset chip, realizes that MCU resets, and the bracelet, which resets, restarts.
Further, the touch-control IC includes pin 1(Ground, GND), pin 2(Sensor electrode 1, CRX1), pin 3(Pass
Sensor electrode 2, CRX2), pin 4(Power supply, VDDHI), pin 5(Control output, VREG), pin 6(Terminal exports,
RDY), pin 7(Serial data signal, SDA), pin 8(Serial clock signal, SCL), pin 9(Sensor electrode 3, CRX3)
With pin 10(Close to inductive output, CTX/PO).
Further, the reset IC includes pin 1(Reset signal exports, low level, RSTB), pin 2(Ground, VSS)、
Pin 3(Key-press input pin 1, SW1), pin 4(Power supply, VIN), pin 5(Resetting time, RT)With pin 6(Key-press input pin 2,
SW2).
Further, the pin 2 of the touch chip, pin 3, pin 9 respectively with described button A, button B and button
The line that C is drawn is connected;Pin 6, pin 7, pin 8 are connected with MCU GPIO interface respectively, realize data communication.
Further, the pin 1 of described reset chip is connected with MCU reset signal pin, and the reset chip draws
The pin 10 of pin 3 and pin 6 with touch-control IC(CTX/PO)It is connected.
Further, described touch-control IC can be IQS263, and described reset IC can be XC6190.
Further, the step 1)In, adjust the resistance of the regulation resistance R211 so that Tdl=7.5s.
Further, in the step 3)In, the pin 2 of the touch chip is transfused to the long period signal of Tdl durations,
Then the pin 10 of the touch chip exports low level one.
Further, in the step 4)In, the pin 3 and pin 6 of the reset chip are received by the touch-control core
After the low level one of piece output, the pin 1 of the reset chip exports low level two.
Further, in the step 5)In, the reset signal pin of the MCU receives what is exported by the reset chip
Low level two, realize that MCU resets, the bracelet, which resets, restarts.
The present invention is advantageous in that:After bracelet deadlock is touched, it is not necessary to by external part, only need long-press touch-control
Button can be achieved to recover function.
Brief description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other target of the invention, feature and advantage will
Become more fully apparent.
Fig. 1 is the schematic diagram of the touch chip of the present invention.
Fig. 2 is the schematic diagram of the reset chip of the present invention.
Fig. 3 is the bracelet schematic diagram of the present invention.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the present invention will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Accompanying drawing is only the present invention
Schematic illustrations, be not necessarily drawn to scale.Identical reference represents same or similar part in figure, thus
Repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In mode.In the following description, there is provided many details fully understand so as to provide to embodiments of the present invention.So
And it will be appreciated by persons skilled in the art that technical scheme can be put into practice and omit one in the specific detail
Or more, or other methods, constituent element, device, step etc. can be used.In other cases, it is not shown in detail or describes
Known features, method, apparatus, realization or operation are to avoid that a presumptuous guest usurps the role of the host and so that each aspect of the present invention thickens.
As shown in accompanying drawing 1,2 and 3, a kind of bracelet touches the method resetted, the bracelet include bracelet touch-control surface 2,
MCU, touch-control IC and reset IC, the TIO films that the touch-control IC connections are bonded with the bracelet touch-control surface, the touch-control IC connections
The reset IC, the touch-control IC connect the MCU with IC is resetted.The bracelet includes movement 1 and watchband.
Technical scheme uses touch-control IC(Selectable model IQS263, producer:Azoteq, function:3 is logical
The bit resolution capacitance touch of road 8 and proximity transducer, are shown in Table one)Plus reset IC(Selectable model XC6190, producer:
TOREX, function:Button resets starter, is shown in Table two)Circuit design realize:After system in case of system halt, tangible bracelet touch-control
After surface key 1 is more than 7. 5s, bracelet can reset.
The IQS263 pins of table one define:
Pin | Name | Function |
1 | GND | Ground |
2 | CRX1 | Sensor electrode 1 |
3 | CRX2 | Sensor electrode 2 |
4 | VDDHI | Power supply |
5 | VREG | Control output |
6 | RDY | Interrupt output |
7 | SDA | Serial data signal |
8 | SCL | Serial clock signal |
9 | CRX3 | Sensor electrode 3 |
10 | PO | Close to inductive output |
The XC6190 pins of table two define:
Pin | Name | Function |
1 | RSTB | Reset signal exports, low level |
2 | VSS | Ground |
3 | SW1 | Key-press input pin 1 |
4 | VIN | Power supply |
5 | RT | Resetting time |
6 | SW2 | Key-press input pin 2 |
Bracelet, which touches the system resetted, to be included bracelet touch-control surface, MCU, touch-control IC and resets IC, the touch-control IC connections
The TIO films being bonded with the bracelet touch-control surface, the touch-control IC connections reset IC, the touch-control IC connections and reset IC
Connect the MCU.The touch-control IC(As shown in Figure 1)Including pin 1(Ground, GND), pin 2(Sensor electrode 1, CRX1)、
Pin 3(Sensor electrode 2, CRX2), pin 4(Power supply, VDDHI), pin 5(Control output, VREG), pin 6(Terminal
Output, RDY), pin 7(Serial data signal, SDA), pin 8(Serial clock signal, SCL), pin 9(Sensor electrode 3,
CX3)With pin 10(Close to inductive output, CTX/PO).The reset IC(As shown in Figure 2)Including pin 1(Reset signal is defeated
Go out, low level, RSTB), pin 2(Ground, VSS), pin 3(Key-press input pin 1, SW1), pin 4(Power supply, VIN), pin 5(It is multiple
Position time, RT)With pin 6(Key-press input pin 2, SW2).Touch chip IQS263 pins 2(CRX1), pin 3(CRX2), pin
9(CRX3)The button A for the TIO films that connection is bonded with bracelet face-piece surface respectively(PAD1), button B(PAD2), button C(PAD3)
It is connected;Pin 6(RDY), pin 7(SDA), pin 8(SCL)It is connected respectively with MCU GPIO mouths, realizes data communication.Reset
Chip XC6190 pins 1(RSTB)With MCU reset signal pin(MCU reset signals pin income low level can then cause system to be answered
Position)It is connected, pin 3 and 6 and touch chip pin 10(CTX/PO)It is connected.
When bracelet system worked well:When bracelet touch panel does not have any touch, the pin 6,7 and 8 of touch chip
Export high level and export high level to MCU to MCU, reset chip.When touching button location A, the pin 2 of touch chip
A high level is inputted, pin 6 exports an interrupt signal to MCU, meanwhile, pin 7 is by the signal output for the button A being resolved to
To MCU, MCU makes corresponding action display after receiving signal.
In the case of bracelet system in case of system halt, long-press membrane keyboard 1,7.5s(Length can temporally be adjusted by R211, and regulation is public
Formula is Tdl (s)=0.000062015*R211 (Ω)+0.097), the input long period of pin 2 of touch chip(7.5s)Signal, draw
Pin 10 exports a low level, chip XC6190 pin 3(SW1)With 6(SW2)After receiving low level, pin 1(RSTB)Output
Low level, realizes that MCU resets, and recovers bracelet function so as to realize.R211 is to be connected between the pin 5 and pin 2 that reset IC
Regulation resistance.
After bracelet deadlock is touched, it is not necessary to by external part, only need long-press touch controlled key to can be achieved to recover function.
Specifically, a kind of bracelet touches the method resetted, methods described comprises the following steps:
1)Adjust the resistance of the regulation resistance R211 so that touch time Tdl and reach the default touch time, regulation is public
Formula is:Tdl (s)=0.000062015*R211 (Ω)+0.097, adjust the resistance of the regulation resistance R211 so that Tdl=
7.5s;
2)Touch the button A on the TIO films of the bracelet touch-control surface, a length of above-mentioned touch time Tdl during touch=
7.5s;
3)When the button A by touch duration when reaching above-mentioned Tdl, when the pin 2 of the touch chip is transfused to Tdl
The output low level one of pin 10 of long long period signal, the then touch chip;
4)It is described after the pin 3 and pin 6 of the reset chip receive the low level one exported by the touch chip
The pin 1 of reset chip exports low level two;
5)The reset signal pin of the MCU receives the low level two exported by the reset chip, realizes that MCU resets,
The bracelet, which resets, restarts.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.