1. Technical Field
The present disclosure relates to antistatic switches, and particularly, to an antistatic switch and an electronic device using the same.
2. Description of Related Art
Switches are widely used in electronic devices. One problem with the electronic devices is that static electricity may flow to the electronic devices through the gap between the switches and the shell of the electronic devices, which may damage or destroy electronic elements of the electronic devices. To solve the above problem, as shown in
Many aspects of the present disclosure should 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, with reference to the accompanying drawings.
Referring to
In this embodiment, the first terminal 21 is left vacant, while the third terminal 23 is connected to the power supply VCC. The second terminal 22 is a public access terminal connected to the MCU 20 and selectively connected to the first terminal 21 or the third terminal 23.
When the second terminal 22 is connected to the first terminal 21, the MCU 20 is disconnected from the power supply VCC and generates a first signal to control the electronic device 100 to execute a first function. When the second terminal 22 is connected to the third terminal 23, the MCU 20 is connected to the power supply VCC and generates a second signal to control the electronic device 100 to execute a second function. In this embodiment, the switch 10 is used to enable and disable buttons of the electronic device 100. When the second terminal 22 is connected to the first terminal 21, the MCU 20 generates the first signal to enable the buttons of the electronic device 100. When the second terminal 22 is connected to the third terminal 23, the MCU 20 generates the second signal to disable the buttons of the electronic devices 100.
The fourth terminal 24, the fifth terminal 25, and the sixth terminal 26 are all grounded to remove the static electricity flowing to the electronic device 100 through the switch 10.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201110179732.8 | Jun 2011 | CN | national |