Gesture wireless control method for pressing and sensing dual-purpose switch
By integrating infrared receiver tube and processor module on pressing the induction dual-purpose switch, and using gesture wireless control method to generate waveforms, the existing switch control problem is solved, and efficient and accurate control effect of smart home is achieved.
Patent Information
- Application Number
- CN202411812888.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-18
AI Technical Summary
The existing market lacks switches that are convenient and accurate in controlling operations, making it difficult to meet the demand for efficient control of smart homes.
Using the gesture wireless control method, by setting two infrared receiving tubes on the pressing of the induction dual-purpose switch, connecting the pins P0 and P1 of the processor module, triggering the resistance change of the infrared receiving tube by using finger movement, generating forward or reverse waveforms, and realizing multi-finger gesture control of the switch.
It realizes that users operate dual-purpose switches with 1 to 5 fingers, improving the control efficiency and accuracy of smart homes.
Smart Images

Figure CN119652303A_ABST
Abstract
Description
Technical Field
[0001] The invention discloses a gesture wireless control method for a pressure-sensing dual-purpose switch. Background Art
[0002] The applicant applied for a dual-purpose switch for pressure sensing on the same day of this application. The existing market lacks switches that can conveniently and accurately control operations. This application is an invention provided for a gesture wireless control method applied on the same day, so that users can easily control operations using multiple fingers and corresponding waveforms. Summary of the invention
[0003] In order to solve the existing problems, the present invention discloses a gesture wireless control method for a press-sensitive dual-purpose switch, comprising a press-sensitive dual-purpose switch, wherein the press-sensitive dual-purpose switch is provided with two infrared receiving tubes, and the two infrared receiving tubes are respectively connected to a pin P0 end and a pin P1 end provided on a processor module, and is characterized in that: the press-sensitive dual-purpose switch comprises the following four-step control method; In the first step, when the finger moves over the two infrared receiving tubes, the resistance of the two infrared receiving tubes changes due to the reflection of the finger, causing the voltage change of the pins P0 and P1 of the processor module; The second step is to set the values of pins P0 and P1 provided in the processor module, including: A. Set the pin P0 of the processor module to the left of the two infrared receiving tubes, and the pin P1 of the processor module to the right of the two infrared receiving tubes. When a finger moves from left to right, the pin P0 of the processor module is triggered first, and then the pin P1 of the processor module is triggered, generating a positive waveform, indicating a positive movement; B. On the contrary, if the infrared receiving tube corresponding to the pin P1 of the processor module is triggered first and then the infrared receiving tube corresponding to the pin P0 of the processor module is triggered, a reverse waveform is generated, indicating a reverse movement; The third step is to use several fingers to move forward or backward within a certain set time to generate several forward or backward waveforms, that is, the result of both direction and quantity; In the fourth step, the result is processed by the central processing unit module and then transmitted to other wireless modules through the wireless transmission module to implement different operations.
[0004] Technical effect of the invention: Based on a press-sensitive dual-purpose switch applied for on the same day, this application adopts gesture wireless control operation to realize the switch, so that users can conveniently use 1 to 5 fingers to operate the dual-purpose switch, so that infrared receiving finger sensing forms different waveforms for use, thereby improving the accurate control efficiency of smart homes. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 It is a schematic diagram of the present invention.
[0006] Figure 2-3 There are five schematic diagrams of fingers and waveforms.
[0007] Figure 4 is a schematic diagram of the processor module control settings.
[0008] Figure 5 A hand gesture diagram. DETAILED DESCRIPTION
[0009] Embodiment 1 like Figure 1 As shown, this embodiment provides a gesture wireless control method for a press-sensitive dual-purpose switch, including a press-sensitive dual-purpose switch, wherein the press-sensitive dual-purpose switch is provided with two infrared receiving tubes, and the two infrared receiving tubes are respectively connected to a pin P0 end and a pin P1 end provided on a processor module, and is characterized in that: the press-sensitive dual-purpose switch includes the following four-step control method; In the first step S101, when the finger moves above the two infrared receiving tubes, the resistance of the two infrared receiving tubes changes due to the reflection of the finger, causing the voltage of the pins P0 and P1 provided in the processor module to change; The second step S102, setting the values of the pins P0 and P1 provided in the processor module includes: A. Set the pin P0 of the processor module to the left of the two infrared receiving tubes, and the pin P1 of the processor module to the right of the two infrared receiving tubes. When a finger moves from left to right, the pin P0 of the processor module is triggered first, and then the pin P1 of the processor module is triggered, generating a positive waveform, indicating a positive movement; B. On the contrary, first triggering the infrared receiving tube corresponding to the pin P1 of the processor module, and then triggering the infrared receiving tube corresponding to the pin P0 of the processor module will generate a reverse waveform, indicating a reverse movement; Step 3 S103, within a certain set time, using several fingers to move forward or backward can generate several forward or backward waveforms, that is, the result of both direction and quantity; In the fourth step S104, the result is processed by the central processing module and then transmitted to other wireless modules through the wireless transmission module to implement different operations.
[0010] like Figure 4 As shown, taking the curtain switch in the children's room as an example, the processor module is provided with the following Figure 4 Various programs shown to facilitate gesture operation of switches.
[0011] Figure 2-3As shown in the figure, the corresponding relationship between fingers and waveforms. Figure 2 As shown, the voltage change from the pin P0 to the pin P1 (in the direction indicated by the arrow in the figure) of the trigger processor module. The number of fingers passed by are Arabic numerals 1, 2, 3, 4, and 5, respectively, and the fingers are swiped from left to right. The corresponding number of fingers corresponds to the corresponding waveform.
[0012] like Figure 3 As shown, the voltage change from pin P1 to pin P0 (in the direction indicated by the arrow in the figure) of the trigger processor module. The number of fingers passed by are Arabic numerals -1, -2, -3, -4, and -5, respectively, and the fingers are swiped from right to left. The corresponding number of fingers corresponds to the corresponding waveform.
[0013] There are several waveform protrusions when several fingers are swiped, just like the single press, double press, and long press of the existing switch. Because there is a gap between the fingers, they are not reflected when passing through the infrared probe, and appear as grooves in the waveform. When the finger is recognized by the infrared probe, the reflected signal is received to form the protruding part of the waveform.
[0014] like Figure 5 As shown in the figure, the corresponding gesture diagram of the fingers passing through. The gestures from left to right are 1, 2, 3, 4, 5, and the same applies to -1, -2, -3, -4, -5.
[0015] The working principle is as follows: two infrared receiving tubes are provided on the switch, which are respectively connected to the pin P0 and pin P1 of the processor module. When the finger moves above the infrared receiving tube, the resistance of the infrared receiving tube changes due to the reflection of the finger, which causes the voltage change of the pin P0 and pin P1 of the processor module. Set the pin P0 end to the left side of the infrared receiving tube and the pin P1 end to the right side of the receiving tube. When a finger moves from left to right, the pin P0 end is triggered first and then the pin P1 end is triggered, generating a forward waveform, indicating that it moves forward once. On the contrary, triggering the infrared receiving tube corresponding to the pin P1 end first and then the infrared receiving tube corresponding to the pin P0 end generates a reverse waveform, indicating that it moves backward once. Within a certain set time, using several fingers to move forward or backward can generate several forward or reverse waveforms to achieve the result of both direction and quantity. After the results are processed by the central processing unit module, they are transmitted to other wireless modules through the wireless transmission module to realize different operations.
[0016] It should be pointed out that the above preferred embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. A gesture wireless control method for a press-sensitive dual-purpose switch, comprising a press-sensitive dual-purpose switch, wherein the press-sensitive dual-purpose switch is provided with two infrared receiving tubes, and the two infrared receiving tubes are respectively connected to a pin P0 end and a pin P1 end provided on a processor module, characterized in that: The pressure-sensing dual-purpose switch includes the following four-step control method: In the first step, when the finger moves over the two infrared receiving tubes, the resistance of the two infrared receiving tubes changes due to the reflection of the finger, causing the voltage change of the pins P0 and P1 of the processor module; The second step is to set the values of pins P0 and P1 provided in the processor module, including: A. Set the pin P0 of the processor module to the left of the two infrared receiving tubes, and the pin P1 of the processor module to the right of the two infrared receiving tubes. When a finger moves from left to right, the pin P0 of the processor module is triggered first, and then the pin P1 of the processor module is triggered, generating a positive waveform, indicating a positive movement; B. On the contrary, if the infrared receiving tube corresponding to the pin P1 of the processor module is triggered first and then the infrared receiving tube corresponding to the pin P0 of the processor module is triggered, a reverse waveform is generated, indicating a reverse movement; The third step is to use several fingers to move forward or backward within a certain set time to generate several forward or backward waveforms, that is, the result of both direction and quantity; In the fourth step, the result is processed by the central processing unit module and then transmitted to other wireless modules through the wireless transmission module to implement different operations.