Summary of the invention
In view of this, be necessary to provide a kind of waterproof electronic device, its sealing is high, good water-proof effect.
A kind of waterproof electronic device, comprises a shell, a magnetic induction switch and is located at the key response circuit in this shell.This magnetic induction switch comprises the magnetic element of being located at the magnetic induction part of this shell inner side and being located at this shell outside.This magnetic induction part comprises a N utmost point magnetic inductor and S utmost point magnetic inductor, and this magnetic element has the N utmost point and the S utmost point, the N utmost point of this magnetic element and the position of the S utmost point position of the N utmost point magnetic inductor to this magnetic induction part and S utmost point magnetic inductor just respectively.This magnetic induction part is electrically connected with this key response circuit, wherein, when this magnetic element is operated and in apart from this magnetic induction part one preset range, while making the magnetic fields of this magnetic element trigger this N utmost point magnetic inductor and S utmost point magnetic inductor simultaneously, the N utmost point magnetic inductor being triggered and S utmost point magnetic inductor are common produces a corresponding button triggering signal, thereby makes this button triggering signal of this key response Circuit responce and carry out corresponding keypress function.
Also be necessary to provide a kind of magnetic induction switch, to address the above problem.
A kind of magnetic induction switch, is applied in a kind of waterproof electronic device, and this waterproof electronic device also comprises a shell and is located at the key response circuit in this shell.This magnetic induction switch comprises magnetic induction part for being located at shell inner side and for being located at the magnetic element in this shell outside, this magnetic induction part comprises a N utmost point magnetic inductor and S utmost point magnetic inductor, this magnetic element has the N utmost point and the S utmost point, the N utmost point of this magnetic element and the position of the S utmost point position of the N utmost point magnetic inductor to this magnetic induction part and S utmost point magnetic inductor just respectively.This magnetic induction part is for being electrically connected with this key response circuit, wherein, this magnetic element is operated and apart from this magnetic induction part one preset range, while making the magnetic fields of this magnetic element trigger this N utmost point magnetic inductor and S utmost point magnetic inductor simultaneously, the N utmost point magnetic inductor being triggered and S utmost point magnetic inductor are common produces a corresponding button triggering signal, thereby makes this button triggering signal of key response Circuit responce and carry out corresponding keypress function.
Waterproof electronic device of the present invention, by replace traditional mechanical switch with magnetic induction switch, has been eliminated the interference effect of external magnetic field, prevents misoperation, and has good waterproof effect, has overcome the non-water-tight defect of conventional mechanical switch.
Embodiment
Refer to Fig. 1, a kind of waterproof electronic device 100 comprises a magnetic induction switch 30.This waterproof electronic device 100 can be the electric equipment products of waterproof requirement, as wrist-watch, flashlight, mobile phone etc.This waterproof electronic device 100 also comprises a shell 20 and a button 22, and these shell 20 outsides offer a groove 21, and this button 22 is located in this groove 21.In the present embodiment, this button 22 is a reset key,, when this button 22 is not operated/press, in primary importance, in the time being pressed, in the second place, when again by operation, is returned to primary importance that is.
This magnetic induction switch 30 comprises the magnetic element 32 in the groove 21 of being located at the magnetic induction part 31 of these shell 20 inner sides and being located at these shell 20 outsides.In present embodiment, this magnetic induction part 31 is a Hall element, comprises a N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312.This magnetic element 32 is fixed on this button 22 or is one-body molded with this button 22, and this button 22 responds pressing of user and in the time of diverse location, this magnetic element 32 of corresponding drive is in diverse location.This magnetic element 32 is permanent magnet, and such as magnet etc., have the N utmost point and the S utmost point.In present embodiment, the N utmost point of this magnetic element 32 and the position of the S utmost point position of the N utmost point magnetic inductor 311 to this magnetic induction part 31 and S utmost point magnetic inductor 312 just respectively.
Please refer to Fig. 2, this waterproof electronic device 100 also comprises a key response circuit 40 of being located in this shell 20, and this magnetic induction part 31 is connected with this key response circuit 40.When this button 22 is depressed and during in the second place, this magnetic element 32 is also depressed and apart from these magnetic induction part 31 1 preset ranges simultaneously, when making the magnetic fields of this magnetic element 32 and triggering this N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312 simultaneously, the common corresponding button triggering signals that produce of the N utmost point magnetic inductor 311 being triggered and S utmost point magnetic inductor 312, this key response circuit 40 receives and responds this button triggering signal and carry out corresponding keypress function.
Particularly, this electronic installation 100 also comprises a logic output unit 41, this logic output unit 41 comprises two input Vin, V ' in and an output end vo ut, two input Vin, the V ' in of this logic output unit 41 is electrically connected to respectively the output V1out of this N utmost point magnetic inductor 311 and the output V2out of S utmost point magnetic inductor 312, and the output end vo ut of this logic output unit 41 is connected with this key response circuit 40.In present embodiment, this logic output unit 41 is one or door, and the signal that this logic output unit 41 is exported this N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312 carries out exclusive disjunction.
In present embodiment, this N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312 are all exported the voltage signal of high level under the state not being triggered, the voltage signal of equal output low level under the state being triggered.In the present embodiment, this key response circuit 40 is low level triggering.
Under initial condition, this magnetic induction part 31 is in non-triggering state, the high level voltage signal that these logic output unit 41 these N utmost point magnetic inductors 311 of reception and S utmost point magnetic inductor 312 are exported, and the voltage signal of exporting a high level by logic OR computing at its output end vo ut is to this key response circuit 40, key response circuit 40 is not carried out keypress function.
When trigger that this N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312 are triggered simultaneously and all when output low level voltage signal, the low level voltage signal that these logic output unit 41 these N utmost point magnetic inductors 311 of reception and S utmost point magnetic inductor 312 are exported, and export a low level voltage signal to key response circuit 40 by logic OR computing at its output end vo ut, thereby key response circuit 40 responds these low level signals and carries out corresponding keypress function.
In other embodiments, this key response circuit is functional chip, and a functional pin of this functional chip is connected with the output end vo ut of this logic output unit 41.
Be appreciated that, when this magnetic element 32 apart from these magnetic induction part 31 1 preset ranges in, but when the magnetic fields of this magnetic element 32 only triggers one of them in this N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312, the voltage signal of one of them output low level in this N utmost point magnetic inductor 311 and S utmost point magnetic inductor 312, the voltage signal of another output high level, this logic output unit 41 receives the voltage signal of this low level voltage signal and high level, and the voltage signal of exporting a high level by logic OR computing at its output end vo ut is to this key response circuit 40, this key response circuit 40 is not carried out keypress function.
Like this, waterproof electronic device 100, by replace traditional mechanical switch with magnetic induction switch, has been eliminated the interference effect of external magnetic field effectively, prevents misoperation, and has good waterproof effect, has overcome the non-water-tight defect of conventional mechanical switch.
Those skilled in the art will be appreciated that; above execution mode is only for the present invention is described; and be not used as limitation of the invention; as long as within connotation scope of the present invention, within the appropriate change that above embodiment is done and variation all drop on the scope of protection of present invention.