CN106613866B - State indication method and device for soilless culture device - Google Patents

State indication method and device for soilless culture device Download PDF

Info

Publication number
CN106613866B
CN106613866B CN201610877933.8A CN201610877933A CN106613866B CN 106613866 B CN106613866 B CN 106613866B CN 201610877933 A CN201610877933 A CN 201610877933A CN 106613866 B CN106613866 B CN 106613866B
Authority
CN
China
Prior art keywords
preset
control key
time
pressing
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610877933.8A
Other languages
Chinese (zh)
Other versions
CN106613866A (en
Inventor
苏泯聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Qishu Technology Co ltd
Original Assignee
Shenzhen Qishu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Qishu Technology Co ltd filed Critical Shenzhen Qishu Technology Co ltd
Priority to CN201610877933.8A priority Critical patent/CN106613866B/en
Publication of CN106613866A publication Critical patent/CN106613866A/en
Application granted granted Critical
Publication of CN106613866B publication Critical patent/CN106613866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01GHORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
    • A01G31/00Soilless cultivation, e.g. hydroponics
    • A01G31/02Special apparatus therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P60/00Technologies relating to agriculture, livestock or agroalimentary industries
    • Y02P60/20Reduction of greenhouse gas [GHG] emissions in agriculture, e.g. CO2
    • Y02P60/21Dinitrogen oxide [N2O], e.g. using aquaponics, hydroponics or efficiency measures

Abstract

The invention discloses a state indication method and a state indication device of a soilless culture device, wherein the state indication method comprises the steps of obtaining key information and press value information corresponding to the key information, wherein the press value information comprises press duration, and then judging whether the press value information accords with a preset range; if the information of the press value accords with the preset range, the indicator lamp corresponding to the key information is driven to flicker according to the preset mode, and the indicator lamp is driven to flicker according to the information of the press value and the preset mode, so that the problem that the existing soilless culture device cannot indicate the state or indicate the state singly is solved.

Description

State indication method and device for soilless culture device
Technical Field
The invention relates to the field of soilless culture, in particular to a method and a device for indicating the state of a soilless culture device.
Background
With the rapid development of soilless culture, the respective soilless culture devices come out endlessly, but the current soilless culture devices do not indicate or display the states (including a power state, a light power state and a water pump state) of the soilless culture devices, so that users cannot clearly see the use states of the current soilless culture devices; or single indication, and no indication of multiple states.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a state indicating method and device of a soilless culture device, which can solve the problem that the state indication of the existing soilless culture device is single and can not indicate multiple states.
The purpose of the invention is realized by adopting the following technical scheme:
a method for indicating the status of an soilless culture device, the method comprising the steps of:
acquiring key information and pressed value information corresponding to the key information, wherein the pressed value information comprises pressed duration;
judging whether the value-based information conforms to a preset range or not;
and if the press value information conforms to the preset range, driving an indicator lamp corresponding to the key information to flicker according to a preset mode.
Preferably, when the acquired key information is a power key, the method includes:
judging whether the pressing time of the power supply key is less than a first preset value or not;
and if the pressing time of the power key is less than a first preset value, driving a power indicator lamp to light.
Preferably, the method further comprises:
if the pressing time of the power key is greater than a first preset value, judging whether the pressing time is greater than a second preset value, if so, performing time calibration on the system, and driving a power indicator to continuously flash for N times, wherein N is a natural number greater than 1.
Preferably, if the pressing duration of the power supply is less than a first preset value, the power supply indicator is driven to light up, and then the method further includes:
if the lamp control key information is acquired, judging whether the time for acquiring the lamp control key information is within the preset time or not;
if the time for acquiring the information of the lamp control key is within the preset time, judging whether the pressing time of the lamp control key is greater than a preset third preset value;
if the pressing duration of the lamp control key is greater than a preset third preset value, the lamp control indicator lamp is driven to flicker according to the first flickering mode, and the soilless culture device light supplementing lamp is driven to supplement light for plants according to the first power.
Preferably, if the duration of pressing of lamp accuse button is greater than the third default of presetting, then drive lamp accuse pilot lamp and flash according to first mode of flashing to drive soilless culture device light filling lamp and carry out the light filling for the plant according to first power, later still include:
and if the light control key information is obtained again, recording the pressing time of the current light control key and the pressing times of the light control key which is up to the current accumulation, driving the light control indicator lamp to flicker according to a preset flicker mode according to the pressing time of the current light control key and the pressing times of the light control key which is up to the current accumulation, and driving the light supplement lamp of the soilless culture device to supplement light to plants according to preset power.
Preferably, if the pressing duration of the power supply is less than a first preset value, the power supply indicator is driven to light up, and then the method further includes:
if the water control key information is acquired, judging whether the time for acquiring the water control key information is within the preset time;
if the time for acquiring the lamp control key information is within the preset time, judging whether the pressing time of the water control key is greater than a preset fourth preset value;
and if the pressing time of the water control key is longer than a preset fourth preset value, driving the water control indicator lamp to flash according to a first flashing mode, and starting a water pump according to a first starting frequency to irrigate and water the plants.
Preferably, if the pressing duration of the water control key is greater than a preset fourth preset value, the water control indicator lamp is driven to flash according to a first flashing mode, the water pump is started according to a first starting frequency, and then the method further comprises the following steps:
and if the water control key information is obtained again, recording the pressing time of the current water control key and the pressing times of the water control key accumulated till the current time, driving a water control indicator lamp to flash according to a preset flashing mode according to the pressing time of the current water control key and the pressing times of the water control key accumulated till the current time, and starting a water pump according to preset starting power to irrigate and water plants.
The present invention also provides a state indicating device for an soilless culture device, the device comprising:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring key information and pressed value information corresponding to the key information, and the pressed value information comprises pressed duration;
the judging module is used for judging whether the value-pressing information accords with a preset range or not;
and the driving module is used for driving the indicator lamp corresponding to the key information to flash according to a preset mode if the pressing value information accords with a preset range.
Preferably, the judging module includes: a first judgment submodule; the driving module includes: a first drive submodule;
the first judgment submodule is used for judging whether the pressing time of the power supply key is less than a first preset value or not;
and the first driving submodule is used for driving the power supply indicator lamp to be lightened when the pressing time of the power supply key is less than a first preset value.
Preferably, the first judgment sub-module is further configured to: when the pressing time of the power key is greater than a first preset value, judging whether the pressing time is greater than a second preset value;
the first driver sub-module is further configured to: when the pressing time is longer than a second preset value, driving a power indicator to continuously flash for N times, wherein N is a natural number larger than 1;
the device further comprises a calibration module, and the calibration module is used for calibrating the time of the system when the pressing time length is greater than a second preset value.
Compared with the prior art, the invention has the beneficial effects that: according to the method, the key information and the press value information corresponding to the key information are obtained, the press value information comprises press duration, and then whether the press value information conforms to a preset range or not is judged; if the information of the press value accords with the preset range, the indicator lamp corresponding to the key information is driven to flicker according to the preset mode, and the indicator lamp is driven to flicker according to the information of the press value and the preset mode, so that the problem that the existing soilless culture device cannot indicate the state or indicate the state singly is solved.
Drawings
FIG. 1 is a flow chart of a method for indicating the status of a soilless culture device provided by an embodiment of the present invention;
FIG. 2 is a flow chart of a method for indicating the status of a soilless culture device according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for indicating the status of a soilless culture device according to another embodiment of the present invention;
fig. 4 is a block diagram of a status indicator of a soilless culture device according to an embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings and the detailed description below:
fig. 1 is a flowchart of a method for indicating a state of a soilless culture device according to an embodiment of the present invention, and referring to fig. 1, the method for indicating a state of a soilless culture device according to an embodiment of the present invention includes the following steps:
step 101, obtaining key information and pressed value information corresponding to the key information, wherein the pressed value information comprises pressed duration.
Specifically, in the embodiment of the present invention, the key information refers to a key category, and mainly includes a power key, a lamp control key, and a water control key. After the user presses the key, the corresponding key information and the corresponding pressed value information are sent to the main control unit, and the main control unit obtains the corresponding key information and the corresponding pressed value information. In the embodiment of the invention, the value-pressing information comprises pressing duration, pressing times and the like.
And 102, judging whether the value-pressing information accords with a preset range.
And after the key information and the corresponding press value information are acquired, judging whether the press value information conforms to a preset range. Such as whether the pressing time length is in accordance with the preset pressing time length or whether the pressing times are in accordance with the preset pressing times, etc. If yes, go to step 103; if not, the step 101 is executed again.
And 103, driving an indicator light corresponding to the key information to flash according to a preset mode.
And if the pressing value information accords with the preset range, driving an indicator lamp corresponding to the key information to flicker according to a preset mode. For example, if the power key information is acquired and the corresponding pressed value information conforms to a preset range, the power indicator lamp is driven to light up, or flickers in a preset manner. The number of the indicator lamps corresponding to the key information may be 1 or more.
In the embodiment of the invention, the indicator lamp corresponding to the key information is driven to flash in a preset mode according to the key information and the corresponding pressing value information, so that the problem that the conventional soilless culture device cannot indicate the state or indicate the state singly is solved.
Fig. 2 is a flow chart of a status indication method for a soilless culture device according to an embodiment of the present invention, referring to fig. 2, the method includes the following steps:
step 201, when the acquired key information is a power key, determining whether the pressing time of the power key is less than a first preset value, if so, executing step 202, otherwise, executing step 203.
Step 202, the power indicator is driven to light up, and then step 204 is executed.
And if the pressing time of the power key is less than the first preset value, driving a power indicator lamp to light up, and then executing step 204.
And 203, judging whether the pressing time length is greater than a second preset value.
If the pressing time of the power key is longer than a first preset value, judging whether the pressing time is longer than a second preset value, if so, calibrating the time of the system, and driving a power indicator to continuously flash for N times, wherein N is a natural number which is longer than 1. In the embodiment of the invention, when the pressing time of the power key is greater than the second preset value, the system time of the soilless culture device is calibrated, so that the plants in the soilless culture device can be controlled to grow according to local sunlight and perform photosynthesis at night in the day, for example, if the plants are in Beijing, the plants can be calibrated at the preset time by pressing the power key for more than the second preset value, for example, at the Beijing time of 8: when the power key is pressed for a long time at 00 hours, the system automatically calibrates the time to the Beijing time of 8:00, so that the soilless culture device can control plants to carry out photosynthesis and the like according to the Beijing time; if the soilless culture device is replaced to New York, the calibration can be carried out at the preset time by pressing the power key for a time period longer than a second preset value, for example, the time can be automatically calibrated to the New York time of 12:00 by the system when the power key is pressed for a long time at the time of 12:00 of the New York, so that the soilless culture device can control plants to carry out photosynthesis and the like at the time of the New York; it should be noted that calibration is specifically performed at several points, and the embodiments of the present invention are not limited and may be preset according to requirements. And if the pressing time length is less than a second preset value, returning to execute the step 202.
And 204, if the lamp control key information is acquired, judging whether the time for acquiring the lamp control key information is within the preset time.
If the lamp control key information is acquired, judging whether the time for acquiring the lamp control key information is within the preset time, if so, executing the step 205; if not, the light supplement lamp and the lamp control indicating lamp of the soilless culture device are turned off. For example, whether the obtained lamp control key information is in the time period of 06:00-21:59 is judged; if so, executing the subsequent steps, and if not, turning off the light supplement lamp and the lamp control indicating lamp of the soilless culture device, thereby effectively improving the resource utilization rate.
And step 205, judging whether the pressing time of the lamp control key is greater than a preset third preset value.
And if the pressing time of the lamp control key is longer than a preset third preset value, executing step 206 and then executing step 207, otherwise, returning to step 204.
And step 206, driving the lamp control indicator lamp to flicker according to a first flickering mode, and driving the soilless culture device light supplement lamp to supplement light for plants according to first power.
If the pressing duration of the lamp control key is larger than a preset third preset value, the lamp control indicating lamp is driven to flicker according to a first flickering mode, and the soilless culture device light supplementing lamp is driven to supplement light for plants according to first power, for example, the light supplementing lamp is driven to flicker once every 1.5s, and the light supplementing lamp supplements light for the plants according to 25% of the maximum power. Therefore, the lamp control indicating lamp can be driven to flicker and the light supplementing lamp can supplement light to plants according to preset power according to the pressing duration of the lamp control key.
And step 207, if the light control key information is obtained again, recording the pressing time of the current light control key and the pressing times of the light control key which is accumulated at present, driving the light control indicator lamp to flicker according to a preset flicker mode according to the pressing time of the current light control key and the pressing times of the light control key which is accumulated at present, and driving the light supplement lamp of the soilless culture device to supplement light to plants according to preset power.
Specifically, in the embodiment of the present invention, after the light control indicator light flashes in a first flashing manner, and the light supplement light supplements the light to the plant in accordance with the first power, if the light control key information is obtained again, for example, it is received that the user presses the light control key again, the pressing duration of the current light control key and the pressing frequency of the light control key up to the current accumulation are recorded, the light control indicator light is driven to flash in accordance with a preset flashing manner according to the pressing duration of the current light control key and the pressing frequency of the light control key up to the current accumulation, and the light supplement light of the soilless culture light supplement device is driven to supplement the light to the plant in accordance with the preset power. For example, if the current pressing time of the lamp control key is less than 1s and the current accumulated pressing times of the lamp control key is 1 time, the lamp control indicator lamp is driven to flash according to a preset second flashing mode (for example, flashing is performed once every 0.75 s), and the light supplement lamp of the soilless culture device is driven to supplement light for the plants according to a preset second power (the light supplement lamp supplements light for the plants according to 50% of the maximum power); if the current pressing time of the lamp control key is less than 1s and the current accumulated pressing times of the lamp control key is 2 times, driving the lamp control indicator lamp to flicker according to a preset third flicker mode (for example, flicker once every 0.5 s), and driving a light supplement lamp of the soilless culture device to supplement light for the plants according to a preset third power (the light supplement lamp supplements light for the plants according to 75% of the maximum power); if the current pressing time of the lamp control key is less than 1s and the current accumulated pressing times of the lamp control key is 3 times, driving the lamp control indicator lamp to flicker according to a preset third flicker mode (for example, flicker once every 0.375 s), and driving a light supplement lamp of the soilless culture device to supplement light for the plants according to a preset third power (the light supplement lamp supplements light for the plants according to 100% of the maximum power); if the current pressing time of the lamp control key is less than 1s and the current accumulated pressing times of the lamp control key is 4 times, the step 206 is returned, and the accumulated pressing times of the lamp control key is cleared, so that the operation is repeated in a circulating way. For another example, if the pressing duration of the lamp control key is recorded to be 3s and the number of pressing times of the lamp control key up to the current accumulation is 1, the step is returned to the step 204, and if the pressing duration of the lamp control key up to the current is recorded to be greater than 15s and the number of pressing times of the lamp control key up to the current accumulation is recorded to be 1, the step is returned to the step 206; if the current pressing time of the lamp control key is recorded to be 3s and the number of pressing times of the lamp control key which is accumulated till now is recorded to be 2 times, returning to the step 204, if the current pressing time of the lamp control key is recorded to be more than 15s and the number of pressing times of the lamp control key which is accumulated till now is recorded to be 2 times, driving the lamp control indicator lamp to flicker according to a preset second flicker mode (for example, flicker once every 0.75 s), and driving the light supplement lamp of the soilless culture device to supplement light for the plants according to a preset second power (the light supplement lamp supplements light for the plants according to 50% of the maximum power); if the current pressing time of the lamp control key is recorded to be 3s and the number of times of pressing of the lamp control key accumulated until the current is recorded to be 3 times, returning to the step 204, and if the current pressing time of the lamp control key is recorded to be more than 15s and the number of times of pressing of the lamp control key accumulated until the current is recorded to be 3 times, driving the lamp control indicator lamp to flicker according to a preset third flicker mode (for example, flicker once every 0.5 s), and driving the light supplement lamp of the soilless culture device to supplement light for the plants according to a preset third power (the light supplement lamp supplements light for the plants according to 75% of the maximum power); if the current pressing time of the lamp control key is recorded to be 3s and the number of pressing times of the lamp control key accumulated till now is 4, the step 204 is returned to, if the current pressing time of the lamp control key is recorded to be more than 15s and the number of pressing times of the lamp control key accumulated till now is recorded to be 4, the lamp control indicator lamp is driven to flicker according to a preset third flicker mode (for example, flicker is carried out once every 0.375 s), and the light supplement lamp of the soilless culture device is driven to supplement light for the plants according to a preset third power (the light supplement lamp supplements light for the plants according to 100% of the maximum power).
In the embodiment of the invention, the indicator lamp corresponding to the key information is driven according to the key information and the corresponding press value information, can flash according to different flashing modes, and can control the light supplement lamp to supplement light for the plants according to the preset power.
Fig. 3 is a flowchart of a status indication method for a soilless culture device according to an embodiment of the present invention, and referring to fig. 3, the method includes the following steps:
step 301, when the obtained key information is a power key, determining whether the pressing time of the power key is less than a first preset value, if so, executing step 302, otherwise, executing step 303.
Step 302, the power indicator is driven to light up, and then step 304 is executed.
If the pressing time of the power key is less than the first preset value, the power indicator is driven to light up, and then step 304 is executed.
And step 303, judging whether the pressing time of the power key is greater than a second preset value.
If the pressing time of the power key is greater than a first preset value, judging whether the pressing time is greater than a second preset value, if so, performing time calibration on the system and driving a power indicator to continuously flash for N times, wherein N is a natural number greater than 1; if not, return to step 202.
Step 304, if the water key information is acquired, judging whether the time for acquiring the water control key information is within the preset time;
if the time for acquiring the lamp control key information is within the preset time, executing step 305 if the time is within the preset time; if not, the water pump is turned off and the power indicator lamp is turned off.
And 305, judging whether the pressing time of the water control key is greater than a preset fourth preset value.
If the pressing time of the water control key is longer than a preset fourth preset value, executing step 306 and then executing step 307; if not, go back to step 304.
And step 306, driving the water control indicator lamp to flash according to a first flashing mode, and starting a water pump according to a first starting frequency to irrigate and water the plants.
If the pressing time of the water control key is longer than a preset fourth preset value (such as 2s or 3s), the water control indicator lamp is driven to flicker according to a first flickering mode (such as the indicator lamp is driven to flicker once every 1.5 s), and the water pump is started according to a first starting frequency to irrigate and water the plants (such as the indicator lamp is started once every 1 hour, and the starting time is 5 minutes).
And 307, if the water control key information is obtained again, recording the pressing time of the current water control key and the number of pressing times of the current accumulated water control key, driving a water control indicator lamp to flash according to the pressing time of the current water control key and the number of pressing times of the current accumulated water control key, and starting a water pump according to a preset starting power to irrigate and water plants.
Specifically, in the embodiment of the present invention, the water control indicator light flashes according to a first flashing manner, and after the water pump is started according to a first opening frequency to irrigate and water the plants, if the water control key information is obtained again, for example, it is received that the user presses the water control key again, the pressing duration of the current water control key and the pressing frequency of the water control key up to the current accumulation are recorded, the water control indicator light is driven to flash according to the pressing duration of the current water control key and the pressing frequency of the water control key up to the current accumulation in a preset flashing manner, and the water pump is started according to a preset opening power to irrigate and water the plants. For example, if the current pressing time of the water control key is recorded to be less than 1s and the currently accumulated pressing times of the water control key is recorded to be 1 time, the water control indicator lamp is driven to flash in a preset second flashing mode (for example, flashing is performed once every 0.75 s), and the water pump is started to irrigate and water the plants according to a second starting frequency (for example, starting every 4 hours, and starting for 5 minutes once); if the current pressing time of the water control key is less than 1s and the current accumulated pressing times of the water control key is 2 times, driving the water control indicator lamp to flicker according to a preset third flicker mode (for example, flicker is performed every 0.5 s), and starting a water pump according to a third starting frequency to irrigate and water the plants (for example, starting the water pump every 16 hours, and starting the water pump for 5 minutes once); if the current pressing time of the water control key is less than 1s and the current accumulated pressing times of the water control key is 3 times, driving the water control indicator lamp to flicker according to a preset fourth flicker mode (for example, flicker is performed every 0.375 s), and starting the water pump according to a fourth starting frequency to irrigate and water the plants (for example, starting the water pump immediately and keeping the water pump in a normally open state after starting); if the recorded pressing time of the water control key is less than 1s and the currently accumulated pressing times of the water control key is 4 times, the step 306 is returned to, and the accumulated pressing times of the water control key are cleared, so that the operation is repeated in a circulating manner. For another example, if the current pressing time of the water control key is recorded to be 3s and the currently accumulated pressing times of the water control key is 1 time, the step 304 is returned to, and if the current pressing time of the water control key is recorded to be greater than 15s and the currently accumulated pressing times of the water control key is 1 time, the step 306 is returned to; if the current pressing time of the water control key is recorded to be 3s and the number of times of pressing of the water control key accumulated until the current time is 2, returning to the step 304, if the current pressing time of the water control key is recorded to be more than 15s and the number of times of pressing of the water control key accumulated until the current time is 2, driving the light control indicator lamp to flash according to a preset second flashing mode (for example, flashing once every 0.75 s), and starting the water pump according to a second starting frequency to irrigate and water the plants (for example, starting the water pump once every 4 hours, and starting the water pump once for 5 minutes); if the current pressing time of the water control key is recorded to be 3s and the number of times of pressing of the water control key accumulated until the current is 3 times, returning to the step 304, if the current pressing time of the water control key is recorded to be more than 15s and the number of times of pressing of the water control key accumulated until the current is 3 times, driving the light control indicator lamp to flash according to a preset third flashing mode (for example, flashing once every 0.5 s), and starting the water pump according to a third starting frequency to irrigate and water the plants (for example, starting the water pump once every 16 hours, and starting the water pump once for 5 minutes); if the current pressing time of the water control key is recorded to be 3s and the number of times of pressing of the water control key accumulated at present is recorded to be 4, the step 304 is returned to, if the current pressing time of the water control key is recorded to be more than 15s and the number of times of pressing of the water control key accumulated at present is recorded to be 4, the water control indicator lamp is driven to flicker according to a preset third flicker mode (for example, flicker is carried out every 0.375 s), and the water pump is started according to the fourth starting frequency to irrigate and water the plants (for example, the water pump is immediately started and is in a normally open state after being started).
In the embodiment of the invention, the indicator light corresponding to the key information is driven to flash according to different flashing modes according to the key information and the corresponding pressing value information, and the water pump can be controlled to irrigate and water plants according to the preset starting power.
The embodiment of the invention also provides a state indicating device of the soilless culture device, which can be applied to the soilless culture device and can also be applied to a common culture device. The device includes: an acquisition module 401, a judgment module 402 and a driving module 403.
An obtaining module 401, configured to obtain key information and pressed value information corresponding to the key information, where the pressed value information includes a pressed duration;
a judging module 402, configured to judge whether the value-based information meets a preset range;
and a driving module 403, configured to drive an indicator light corresponding to the key information to flash in a preset manner if the pressing value information meets a preset range.
Preferably, the judging module 402 includes: a first judgment sub-module 4021; the driving module 403 includes: a first drive submodule 4031;
the first judging submodule 4021 is configured to judge whether a pressing time of the power key is less than a first preset value;
the first driving submodule 4031 is configured to drive the power indicator to light up when the pressing duration of the power key is less than a first preset value.
Preferably, the first judging submodule 4021 is further configured to: when the pressing time of the power key is greater than a first preset value, judging whether the pressing time is greater than a second preset value;
the first drive sub-module 4031 is further configured to: when the pressing time is longer than a second preset value, driving a power indicator to continuously flash for N times, wherein N is a natural number larger than 1;
the soilless culture device state indicating device further comprises a calibration module 404, wherein the calibration module 404 is used for calibrating the time of the system when the pressing time is greater than a second preset value.
Preferably, the judging module 402 further includes a second judging submodule 4022, and the second judging submodule 4022 is configured to judge whether the time for acquiring the lamp control key information is within the preset time when the acquiring module 401 acquires the lamp control key information.
The second determining submodule 4022 is further configured to determine whether the pressing time of the lamp control key is greater than a preset third preset value when the time for the obtaining module 401 to obtain the lamp control key information is within the preset time;
the drive module 403 includes a second drive submodule 4032; the second driving submodule 4032 is used for driving the light control indicator lamp to flicker according to the first flickering mode and driving the soilless culture device light supplementing lamp to supplement light to plants according to the first power when the pressing duration of the light control key is greater than a preset third preset value.
The soilless culture device state indicating device further comprises a first recording module 405, wherein the recording module 405 is used for recording the pressing duration of the current lamp control key and the number of times of pressing the current accumulated lamp control key if the obtaining module 401 obtains the lamp control key information again. The second driving submodule 4032 is further configured to drive the light control indicator lamp to flash according to a preset flashing manner and drive the soilless culture device light supplement lamp to supplement light to the plant according to preset power according to the pressing duration of the current light control key and the pressing frequency of the light control key accumulated at present.
Preferably, the first determining module 402 further comprises: the third determining sub-module 4023 and the third determining sub-module 4023 are configured to determine whether the time for acquiring the water control key information is within a preset time if the acquiring module 401 acquires the water key information;
the third determining sub-module 4023 is further configured to determine whether the pressing time of the water control key is longer than a preset fourth preset value when the time for acquiring the water control key information is within the preset time.
The driving module 403 includes a third driving submodule 4033, and the third driving submodule 4033 is configured to drive the water control indicator lamp to flash in the first flashing manner when the pressing duration of the water control key is greater than a preset fourth preset value, and start the water pump to irrigate and water the plants in the first starting frequency.
Preferably, the soilless culture device state indicating device further comprises a second recording module 406, and the second recording module 406 is configured to record the pressing duration of the current water control key and the currently accumulated pressing times of the water control key if the obtaining module 401 obtains the water control key information again. The third driving submodule 4033 is further configured to drive the water control indicator lamp to flash according to a preset flashing manner according to the pressing duration of the current water control key and the currently accumulated pressing times of the water control key, and turn on the water pump according to a preset turn-on power to irrigate and water plants.
The status indicating device of the soilless culture device provided by the embodiment of the invention can drive the indicating lamp corresponding to the key information to flicker according to different flickering modes according to the key information and the corresponding pressing value information, and can control the light supplementing lamp to supplement light for plants according to a preset frequency and control the water pump to irrigate and water the plants according to a preset starting power.
The status indication device of the soilless culture device in the embodiment and the status indication method of the soilless culture device in the foregoing embodiment are based on two aspects of the same inventive concept, and the detailed description of the method implementation process has been given above, so those skilled in the art can clearly understand the structure and implementation process of the system in the present implementation according to the foregoing description, and for the sake of brevity of the description, no further description is given here.
Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present invention.

Claims (7)

1. A method of indicating the status of a soilless culture device, the method comprising the steps of:
acquiring key information and pressed value information corresponding to the key information, wherein the pressed value information comprises at least one of pressing duration or pressing times;
judging whether the value-based information conforms to a preset range or not; when the acquired key information is a power key, the method specifically includes:
judging whether the pressing time of the power supply key is less than a first preset value or not;
if the pressing time of the power key is less than a first preset value, driving a power indicator light;
if the lamp control key information is acquired, judging whether the time for acquiring the lamp control key information is within the preset time or not;
if the time for acquiring the information of the lamp control key is within the preset time, judging whether the pressing time of the lamp control key is greater than a preset third preset value;
if the pressing time of the light control key is longer than a preset third preset value, the light control indicator lamp is driven to flash according to the first flashing mode, the light supplementing lamp of the soilless culture device is driven to supplement light for plants according to the first power,
and if the light control key information is obtained again, recording the pressing time of the current light control key and the pressing times of the light control key which is up to the current accumulation, driving the light control indicator lamp to flicker according to a preset flicker mode according to the pressing time of the current light control key and the pressing times of the light control key which is up to the current accumulation, and driving the light supplement lamp of the soilless culture device to supplement light to plants according to preset power.
2. The method of claim 1, further comprising:
if the pressing time of the power key is greater than a first preset value, judging whether the pressing time is greater than a second preset value, if so, performing time calibration on the system, and driving a power indicator to continuously flash for N times, wherein N is a natural number greater than 1.
3. The method of claim 1, wherein if the pressing time of the power supply is less than a first preset value, the power supply indicator is driven to light up, and then the method further comprises:
if the water control key information is acquired, judging whether the time for acquiring the water control key information is within the preset time;
if the time for acquiring the lamp control key information is within the preset time, judging whether the pressing time of the water control key is greater than a preset fourth preset value;
and if the pressing time of the water control key is longer than a preset fourth preset value, driving the water control indicator lamp to flash according to a first flashing mode, and starting a water pump according to a first starting frequency to irrigate and water the plants.
4. The method of claim 3, wherein if the pressing duration of the water control key is longer than a preset fourth preset value, the water control indicator lamp is driven to flash in a first flashing manner, and the water pump is started according to a first starting frequency, and then the method further comprises:
and if the water control key information is obtained again, recording the pressing time of the current water control key and the pressing times of the water control key accumulated till the current time, driving a water control indicator lamp to flash according to a preset flashing mode according to the pressing time of the current water control key and the pressing times of the water control key accumulated till the current time, and starting a water pump according to preset starting power to irrigate and water plants.
5. A status indicator device for a soilless culture device, said device comprising:
the key information acquisition module is used for acquiring key information and pressed value information corresponding to the key information, and the pressed value information comprises at least one of pressed time length or pressed times;
the judging module is used for judging whether the value-pressing information accords with a preset range or not;
the driving module is used for driving the power indicator light if the pressing time of the power key is less than a first preset value;
if the lamp control key information is acquired, judging whether the time for acquiring the lamp control key information is within the preset time or not;
if the time for acquiring the information of the lamp control key is within the preset time, judging whether the pressing time of the lamp control key is greater than a preset third preset value;
if the pressing time of the light control key is longer than a preset third preset value, the light control indicator lamp is driven to flash according to the first flashing mode, the light supplementing lamp of the soilless culture device is driven to supplement light for plants according to the first power,
and if the light control key information is obtained again, recording the pressing time of the current light control key and the pressing times of the light control key which is up to the current accumulation, driving the light control indicator lamp to flicker according to a preset flicker mode according to the pressing time of the current light control key and the pressing times of the light control key which is up to the current accumulation, and driving the light supplement lamp of the soilless culture device to supplement light to plants according to preset power.
6. The apparatus of claim 5, wherein the determining module comprises: a first judgment submodule; the driving module includes: a first drive submodule;
the first judgment submodule is used for judging whether the pressing time of the power supply key is less than a first preset value or not;
and the first driving submodule is used for driving the power supply indicator lamp to be lightened when the pressing time of the power supply key is less than a first preset value.
7. The apparatus of claim 6, wherein the first determining sub-module is further configured to: when the pressing time of the power key is greater than a first preset value, judging whether the pressing time is greater than a second preset value;
the first driver sub-module is further configured to: when the pressing time is longer than a second preset value, driving a power indicator to continuously flash for N times, wherein N is a natural number larger than 1;
the device further comprises a calibration module, and the calibration module is used for calibrating the time of the system when the pressing time length is greater than a second preset value.
CN201610877933.8A 2016-09-30 2016-09-30 State indication method and device for soilless culture device Active CN106613866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610877933.8A CN106613866B (en) 2016-09-30 2016-09-30 State indication method and device for soilless culture device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610877933.8A CN106613866B (en) 2016-09-30 2016-09-30 State indication method and device for soilless culture device

Publications (2)

Publication Number Publication Date
CN106613866A CN106613866A (en) 2017-05-10
CN106613866B true CN106613866B (en) 2020-10-16

Family

ID=58854399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610877933.8A Active CN106613866B (en) 2016-09-30 2016-09-30 State indication method and device for soilless culture device

Country Status (1)

Country Link
CN (1) CN106613866B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494097A (en) * 2002-10-30 2004-05-05 建兴电子科技股份有限公司 Method of extending single pushbutton as multifunction using lamp signal indication
CN201698214U (en) * 2009-12-20 2011-01-05 西安圣华电子工程有限责任公司 Floating type intelligent seedling raising greenhouse control system
CN102073439A (en) * 2009-11-20 2011-05-25 英业达股份有限公司 Electronic device and prompting method of touch control screen thereof
CN103621382A (en) * 2012-08-28 2014-03-12 厦门辰一电气有限公司 Intelligent irrigation device and irrigation method thereof
CN204742112U (en) * 2015-06-18 2015-11-11 浙江海洋学院 Soilless culture culture solution automatic control device
CN105511354A (en) * 2015-12-31 2016-04-20 艾维新能源科技南京有限公司 Method for setting intelligent switch
CN105677199A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Inputting method and device based on pressure touch

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494097A (en) * 2002-10-30 2004-05-05 建兴电子科技股份有限公司 Method of extending single pushbutton as multifunction using lamp signal indication
CN102073439A (en) * 2009-11-20 2011-05-25 英业达股份有限公司 Electronic device and prompting method of touch control screen thereof
CN201698214U (en) * 2009-12-20 2011-01-05 西安圣华电子工程有限责任公司 Floating type intelligent seedling raising greenhouse control system
CN103621382A (en) * 2012-08-28 2014-03-12 厦门辰一电气有限公司 Intelligent irrigation device and irrigation method thereof
CN204742112U (en) * 2015-06-18 2015-11-11 浙江海洋学院 Soilless culture culture solution automatic control device
CN105511354A (en) * 2015-12-31 2016-04-20 艾维新能源科技南京有限公司 Method for setting intelligent switch
CN105677199A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Inputting method and device based on pressure touch

Also Published As

Publication number Publication date
CN106613866A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN103135895B (en) A kind of method and device controlling display mode
US10613379B2 (en) Backlight driving control method and system
EP2781824A1 (en) A driver for a light source
CN105392239B (en) Intensity adjustable LED lamp
CN114928924B (en) Intelligent street lamp control system based on urban road management
CN204201522U (en) Based on the plant illumination control system of LED light source
WO2016183576A4 (en) Display brightness control based on location data
CN103707769A (en) Transparent vehicle-mounted digital instrument controller and display brightness controlling method thereof
CN102811525A (en) LED lamp and control circuit thereof
CN103578448A (en) Method and device for adjusting screen brightness of vehicle-mounted device
CN106657676A (en) Screen brightness adjusting method and device
CN110264963A (en) A kind of driving method and device of light-emitting component
CN106613866B (en) State indication method and device for soilless culture device
CN115657404A (en) Light modulation method and system for improving linearity of camera light source and storage medium
CN109443533B (en) Method and device for calibrating backlight brightness of switch panel
CN102695342A (en) Digital dimming circuit system of LED shadowless lamp
CN100488213C (en) Mobile phone and its method for realizing backlight mode
CN101650908B (en) Benchmark brightness obtaining method, point-to-point correction system and correction method
CN203812540U (en) Display screen brightness control device, display device and air conditioning
CN204993984U (en) System for supplementing light to plants
CN207652747U (en) A kind of intelligent dimming control system for lamps and lanterns
CN210488804U (en) Road condition early warning equipment capable of automatically adjusting brightness of LED display screen
CN210855889U (en) Organic fertilizer fermentation measurement and control system based on NB-Iot
CN105652650A (en) Method and device for controlling brightness of watch strap of intelligent watch and intelligent watch
CN109458702B (en) Air purifier and display method and device of working mode of air purifier

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant