Control method of pressing and sensing dual-purpose switch

By designing a control method for press-induction dual-purpose switches, combining press-induction and induction operations, the problem of insufficient operation flexibility of existing smart switches is solved, and user operation flexibility and smart home control are improved.

CN119420339APending Publication Date: 2025-02-11SHANXI HONGCARPENTER HANDICRAFT FACTORY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411812889.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The existing smart switches are difficult to achieve the dual use of user pressing operations and induction operations in home scenarios, which limits the user's operation flexibility and the control capabilities of smart homes.

Method used

A control method for pressing induction dual-purpose switch is designed, including a first control method and a second control method. The first method is to trigger the micro switch by pressing the infrared panel to control the relay to achieve control. The second method uses the infrared receiving module to sense the sliding direction of the inductor hand, and the processor module controls the relay to achieve inductive control. In addition, a wireless transmission module is used to connect to the gateway device to realize the control of the status of the remote device.

Benefits of technology

It realizes the flexible use of two operating modes: user pressing and sensing, improves the operating experience and control capabilities of smart homes, and enables users to choose suitable operating methods according to their needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420339A_ABST
    Figure CN119420339A_ABST
Patent Text Reader

Abstract

The control method of the pressing and sensing dual-purpose switch comprises the pressing and sensing dual-purpose switch, and is characterized in that the pressing and sensing dual-purpose switch comprises a first control method and a second control method; on the basis of applying a pressing and sensing dual-purpose switch on the same day, a convenient and ordered control method is adopted based on the patent, so that a user can conveniently adopt two control modes of pressing and sensing, the switch can be flexibly used according to own needs, and the understanding, control and use of smart home are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention discloses a control method for a press-sensitive dual-purpose switch. Background Technology

[0002] The applicant, through practical experience, discovered in the market that existing smart switches integrated with the Mi Home ecosystem can be used in smart home designs such as household lights, curtains, washing machines, and air conditioners. Based on its long-term cooperation with Xiaomi Corporation, the applicant filed a dual-purpose push-button / sensor switch application on the same day as this application. This application provides an invention for a control method of the push-button / sensor switch applied for on the same day, facilitating dual use by the user through either push-button or sensor operation. Summary of the Invention

[0003] To address the existing problems, this invention provides a control method for a press-sensitive dual-purpose switch, comprising a press-sensitive dual-purpose switch, characterized in that: the press-sensitive dual-purpose switch includes a first control method and a second control method; The first control method includes the following steps: First, when the user presses the infrared-transmitting panel, the infrared-transmitting panel contacts the micro switch, and the data pin P5 of the processor module is at a high potential, and the processor module determines that the micro switch has been pressed. Secondly, the processor module has a data pin P4 that sets voltage changes, which activates the relay. The controlled end of the relay engages or disengages to achieve control.

[0004] As another control method of the present invention, the second control method includes the following steps: First, when the user's hand slides across the sensing area, the infrared probe in the infrared receiving module and the infrared probe set in the infrared receiving module sense the infrared light, triggering the voltage change of the P0 and P1 terminals set in the processor module. A. The direction of the hand's back-and-forth movement can be determined based on the sensing time. The system is configured to activate the second infrared receiver module only after the first infrared receiver module is triggered. B. Triggering the second infrared receiving module first, followed by triggering the first infrared receiving module, will disable the function. Secondly, based on this principle, the processor module sets the control terminal of the relay according to the settings, that is, the voltage of the P4 terminal set by the processor module is used to control the opening and closing of the controlled terminal of the relay; Third, the press-sensitive dual-purpose switch is equipped with a wireless transmission module, which can be connected to a gateway device through a processor module to transmit the status of the press-sensitive dual-purpose switch to a remote device, so as to achieve different device states when waving forward and waving backward.

[0005] As a further limitation of the present invention, the gateway device is a Xiaomi gateway or a Huawei gateway.

[0006] Technical effects of the present invention: Based on the dual-purpose push-button and induction switch applied for on the same day, this application adopts a convenient and orderly control method based on the patent, which allows users to conveniently use both push-button and induction control modes, and can flexibly use it according to their own needs, thereby improving their understanding and control of smart homes. Attached Figure Description

[0007] Figure 1-2 This is a schematic diagram of the present invention. Detailed Implementation

[0008] Example 1 like Figure 1 As shown, this embodiment provides a control method for a press-sensitive dual-purpose switch, including the press-sensitive dual-purpose switch. This application is an invention corresponding to the invention filed on the same day, which provides a control method for a press-sensitive dual-purpose switch, allowing users to select two operating modes: a first mode of press-type switch operation and a second mode of inductive switch operation.

[0009] like Figure 1 As shown, this is a push-button switch operation, which is simple to operate. The push-button dual-purpose switch includes the first control method. The first control method includes the following steps: S101. When the user presses the infrared-transmitting panel, the infrared-transmitting panel contacts the micro switch, and the data pin P5 of the processor module is at a high potential. The processor module determines that the micro switch has been pressed. S102 The processor module has a data pin P4 that sets the voltage change, the relay works, and the controlled end of the relay is activated or deactivated to achieve control.

[0010] like Figure 2 For inductive switch operation, the second control method includes the following steps: S201. When the user's hand slides across the sensing area, the infrared probe in the infrared receiving module and the infrared probe provided in the infrared receiving module sense the infrared light in turn, triggering the voltage change of the P0 and P1 terminals provided in the processor module. A. The direction of the hand's back-and-forth movement can be determined based on the sensing time. The system is configured to activate the second infrared receiver module only after the first infrared receiver module is triggered. B. Triggering the second infrared receiving module first, followed by triggering the first infrared receiving module, will disable the function. S202. Based on this principle, the processor module sets the control terminal of the relay according to the settings, that is, the voltage of the P4 terminal set by the processor module is used to control the opening and closing of the controlled terminal of the relay; S203. The press-sensitive dual-purpose switch is equipped with a wireless transmission module. It can be connected to a gateway device through a processor module to transmit the status of the press-sensitive dual-purpose switch to a remote device, so as to achieve different device states when waving forward and waving backward.

[0011] The gateway device mentioned above is a Xiaomi gateway.

[0012] The working principle is as follows: When the user presses the infrared-transmitting panel, the panel contacts the microswitch. The data pin P5 of the processor module is at a high potential. The processor determines that the switch has been pressed, and the voltage on the data pin P4 of the processor module changes, activating the relay. The controlled end of the relay either engages or disengages, thus achieving control.

[0013] When a hand slides across the sensing area, the infrared probes in the infrared receiving module and the infrared probes in infrared receiving module 32 detect infrared light sequentially. This triggers voltage changes at terminals P0 and P1 of the processor module. The direction of the hand's movement can be determined based on the timing of the detection. If triggering the first infrared receiving module first and then the second infrared receiving module is set to "on," then triggering the second infrared receiving module first and then the first infrared receiving module is set to "off." Based on this principle, the processor module sets the control terminal of relay K1, i.e., the voltage at terminal P4 of the processor module, to control the opening and closing of the relay's controlled terminal.

[0014] The press-sensitive dual-purpose switch in this application is equipped with a wireless transmission module, which can connect to devices such as Xiaomi gateways. It transmits the switch status to remote devices, enabling different device states to be controlled by forward and reverse hand gestures.

[0015] It should be noted that the above preferred embodiments are merely illustrative of the technical concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement it accordingly. They should not be construed as limiting the scope of protection of the present invention. All equivalent changes or modifications made in accordance with the spirit and essence of the present invention should be covered within the scope of protection of the present invention.

Claims

1. A control method for a pressure-sensitive dual-purpose switch, comprising a pressure-sensitive dual-purpose switch, characterized in that: The pressure-sensing dual-purpose switch includes a first control method and a second control method; The first control method comprises the following steps: When the user presses the infrared panel, the infrared panel contacts the micro switch, the voltage of the data pin P5 provided in the processor module changes, and the processor module determines that the micro switch is pressed; The data pin P4 of the processor module is set to change the voltage, the relay works, and the controlled end of the relay is activated or disconnected to realize control.

2. A control method for a pressure-sensitive dual-purpose switch according to claim 1, characterized in that: The second control method comprises the following steps: When the user's hand slides across the sensing area, the infrared probe in the infrared receiving module senses the infrared rays successively with the infrared probe provided in the infrared receiving module, triggering the voltage change of the P0 terminal and the P1 terminal provided in the processor module; A. The direction of the hand's sliding back and forth can be determined based on the forward and backward sensing time. Set the first infrared receiving module to be triggered first, and then the second infrared receiving module to be triggered; B. Trigger the second infrared receiving module first and then trigger the first infrared receiving module to be off; The processor module sets the control end of the relay according to this principle, that is, the voltage of the P4 terminal set by the processor module is high or low to realize the opening and closing of the controlled end of the control relay; The push-to-switch is provided with a wireless transmission module, which can be connected to a gateway device through a processor module to transmit the state of the push-to-switch to a remote device, thereby achieving different device states for forward waving and reverse waving operations.

3. A control method for a pressure-sensitive dual-purpose switch according to claim 2, characterized in that: The gateway device adopts Xiaomi gateway or Huawei gateway.