Touch type key and detection method therefor
A touch and key technology, applied in the direction of keyboard coding, electrical components, electronic switches, etc., can solve the problems of complex key structure and high cost, and achieve the effect of strong anti-interference ability, good ease of use, and simple peripheral circuits.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0087] see figure 1 , is a schematic diagram of a block structure of a touch button provided in Embodiment 1 of the present invention;
[0088] This embodiment provides a touch button, such as figure 1 As shown, including touch button module, voltage division transmission module and processing module;
[0089] Touch button module; used to receive the touch signal of the human body, and transmit the touch signal to the voltage divider transmission module through the terminal 3 of the voltage divider transmission module; when the human body touches the touch button module, the touch button module is equivalent to generating a certain the impedance;
[0090] Voltage division transmission module: used to receive the signal output by the terminal P1 of the processing module through the terminal 2 of the voltage division transmission module, and receive the touch signal transmitted by the touch button module through the terminal 3 of the voltage division transmission module. The ...
Embodiment 2
[0115] see Figure 4 , which is a schematic diagram of the circuit structure of the first touch button provided in Embodiment 2;
[0116] The processing module is MCU, the voltage division transmission module includes capacitors C1, C2 and resistor R, and the touch key includes Touch Key; wherein, the endpoints P1 and P2 of the MCU are connected to the capacitors C1 and C2 respectively, and the grounding endpoint of the MCU is grounded; the endpoints P1 and The terminals P2 are two I / O ports in the MCU respectively; the other terminals of the capacitors C1 and C2 are both connected to one terminal of the resistor R, and the other terminal of the resistor R is connected to the touch button.
[0117] see Figure 5 , for Example 2 Figure 4 The schematic diagram of the waveform before and after the touch of the first key; Figure 5 is in Figure 4 It is detected on the touch button shown, the input waveform is the waveform measured at the P1 port of the MCU; the output wavefo...
Embodiment 3
[0126] see Figure 8 , provided for this example based on Figure 4 The flow chart of the detection method of the first kind of touch button shown; specifically includes as follows:
[0127] S11: power on, initialize the input port and output port;
[0128] S12: Output high level to the output port and delay for a period of time, then output low level to the output port;
[0129] Preferably, in this embodiment, the high level is recorded as 1, and the low level is recorded as 0. S12 can also be: write 1 to the output port and delay for a period of time, and then write 0 to the output port;
[0130] Preferably, the delay time can be 5ms;
[0131] S13: receiving an input signal from an input port;
[0132] S14: Record the delay time T0 required for the state of the current input port to change from low level to high level;
[0133] When the state of the output port is low level, the processing module starts timing, and starts to detect the state of the input port, until the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com