Adaptive plant touch detection method
A touch detection and self-adaptive technology, which is applied in the field of self-adaptive plant touch detection, can solve the problems of decreased sensitivity, inapplicability and unconnected mains electricity, etc., and achieve the effect of preventing failure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 1 As shown, an adaptive plant touch detection method, the method is implemented by a capacitance detection circuit, and after the capacitance detection circuit is initialized, it includes the following steps:
[0046] Step 1: Obtain capacitance parameters through the capacitance detection circuit;
[0047] In the process of industrial design and manufacturing, there are many types of capacitance detection circuits that can be selected, such as RC charge and discharge capacitance detection circuits, resonant capacitance detection circuits, and oscillator type capacitance detection circuits. In this embodiment, RC charge and discharge Take the capacitance detection circuit as an example. The capacitance parameter is to charge and discharge the RC charge and discharge capacitance detection circuit and detect the charge and discharge time. Through this principle, the connection between the GND terminal and the soil of the RC charge and discharge capacitance d...
Embodiment 2
[0063] Such as figure 1 and 2 As shown, an adaptive plant touch detection method, the method is implemented by a capacitance detection circuit, and after the capacitance detection circuit is initialized, it includes the following steps:
[0064] Step 1: Obtain capacitance parameters through the capacitance detection circuit;
[0065] Step 2: Obtain the first capacitance parameter set B1 according to the capacitance parameter, and determine whether it is in the no-touch state S0 according to the capacitance parameter, if yes, perform step 1, if not, obtain the first threshold R1 according to the first capacitance parameter set B1, And execute step 3;
[0066] Step 3: judge whether it is in the touch state S according to the first threshold R1, if yes, obtain the second capacitance parameter set B2 in the touch state S, and execute step 4; if not, execute step 1;
[0067] The touch state S is composed of a touch start state S1, a touch state S2 and a touch complete state S3; ...
Embodiment 3
[0101] This embodiment provides a specific capacitance detection circuit, and the capacitance detection circuit is applicable to the above-mentioned Embodiments 1 and 2.
[0102] Such as figure 1 As shown, it includes a main control chip 1, and also includes a resistor R, a capacitor C2 and a metal sheet 2 for embedding in the soil of the plant 4. The main control chip 1 is provided with a GND terminal 3, and the main control chip 1 is provided with a GND terminal 3. The chip 1 is provided with a first I / O port 11 and a second I / O port 12;
[0103] Wherein, the resistor is set between the first I / O port 11 and the second I / O port 12, the second I / O port 12 is connected to the plant 4 soil, and the capacitor C2 is set between the GND terminal 3 and the second I / O port 12. Between the two I / O ports 12 , the metal sheet 2 is connected to the GND terminal 3 .
[0104] Further, it also includes a touch detection terminal 5 buried in the soil of the plant 4 , the soil of the plant...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


