CN115963872A - Automatic water temperature adjusting system and method based on microcontroller - Google Patents

Automatic water temperature adjusting system and method based on microcontroller Download PDF

Info

Publication number
CN115963872A
CN115963872A CN202310005848.2A CN202310005848A CN115963872A CN 115963872 A CN115963872 A CN 115963872A CN 202310005848 A CN202310005848 A CN 202310005848A CN 115963872 A CN115963872 A CN 115963872A
Authority
CN
China
Prior art keywords
water
temperature
microcontroller
water temperature
pipeline
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.)
Pending
Application number
CN202310005848.2A
Other languages
Chinese (zh)
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.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Shandong Inspur Science Research Institute 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 Shandong Inspur Science Research Institute Co Ltd filed Critical Shandong Inspur Science Research Institute Co Ltd
Priority to CN202310005848.2A priority Critical patent/CN115963872A/en
Publication of CN115963872A publication Critical patent/CN115963872A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Devices For Dispensing Beverages (AREA)

Abstract

The invention discloses a system and a method for automatically adjusting water temperature based on a microcontroller, which relate to the technical field of water temperature adjustment and comprise water temperature adjusting equipment and a mobile phone APP for controlling the water temperature adjusting equipment; initializing and setting suitable drinking water temperature ranges corresponding to different outdoor humidomasts through a mobile phone APP, and sending initialization data to water temperature adjusting equipment through a cloud server; temperature adjusting equipment includes microcontroller and the outdoor temperature and humidity sensor of peripheral hardware, key panel, the screen, water temperature sensor, the rivers sensor, drainage device, the user sends the task of draining water to microcontroller through cell-phone APP or key panel, microcontroller receives the task of draining water after, at first gathers outdoor humiture through outdoor temperature and humidity sensor, obtain suitable drinking water temperature range according to temperature and humidity value and initialization data afterwards, control drainage device at last, carry out the task of draining water, realize the quantitative emission of suitable temperature drinking water. The intelligent water temperature adjusting device can realize intelligent adjustment of the water temperature adjusting device.

Description

Automatic water temperature adjusting system and method based on microcontroller
Technical Field
The invention relates to the technical field of water temperature adjustment, in particular to an automatic water temperature adjusting system and method based on a microcontroller.
Background
The traditional breeding industry has unscientific performance, and the temperatures in different regions and different seasons are different. The most suitable drinking water temperature of cattle needed in different environments is different, the drinking water temperature of cattle in summer is preferably 10-15 ℃, clean and cool well water can be provided, the drinking times are increased, the heatstroke prevention and cooling effect is achieved, and the heat production of beef cattle can be reduced by drinking warm water in winter. The body temperature of calves is higher than that of adult cattle, the drinking water temperature is higher than that of adult cattle, and the temperature is usually 35-38 ℃. In areas with low temperature in winter in China, farms usually only pay attention to cattle shed heat preservation, but neglect the influence of drinking water temperature on cattle. When the temperature is lower than 12 ℃, the body temperature of the cattle is reduced by drinking a large amount of cold water for the cattle, and the cattle can be recovered to the normal body temperature only by consuming a certain amount of energy, so that the feed consumption is large, the feeding cost is increased, the drinking desire of the cattle can be influenced, the drinking water amount is insufficient, the feed intake and the rumen digestibility of the cattle are influenced, the weight gain speed of the beef cattle is reduced, and the health of the cattle is finally influenced.
Based on the design, a system and a method for automatically adjusting water temperature based on a microcontroller are developed, so that drinking water with proper temperature is discharged based on different external temperatures, intelligent water discharge of a farm is realized, and the culture quality is improved.
Disclosure of Invention
Aiming at the requirements and the defects of the prior art development, the invention provides a system and a method for automatically adjusting water temperature based on a microcontroller.
Firstly, the invention relates to an automatic water temperature adjusting system based on a microcontroller, which adopts the following technical scheme for solving the technical problems:
an automatic water temperature adjusting system based on a microcontroller comprises water temperature adjusting equipment and a mobile phone APP, wherein the mobile phone APP is deployed on a mobile terminal and controls the water temperature adjusting equipment;
a user carries out initialization setting on suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities through a mobile phone APP, and the mobile phone APP sends initialization data to the water temperature adjusting device through the cloud server;
the water temperature adjusting device comprises a microcontroller and an outdoor temperature and humidity sensor arranged outside the microcontroller, a key panel, a screen, a water temperature sensor, a water flow sensor and a drainage device, wherein a user sends a water drainage task to the microcontroller through a mobile phone APP or the key panel, the microcontroller receives the water drainage task, firstly, the outdoor temperature and humidity are collected through the outdoor temperature and humidity sensor, the outdoor temperature and humidity are transmitted to the screen to be displayed, a proper drinking water temperature range is obtained according to the collected temperature and humidity value and received initialization data, finally, the speed-adjustable motor of the drainage device is controlled through a driver, the water drainage task is executed, and quantitative discharge of drinking water at proper temperature is achieved.
Optionally, the related drainage device comprises a water pump, a hot water pipeline, a well water pipeline and a drainage pipeline, wherein a water inlet end of the water pump is communicated with the hot water pipeline and the well water pipeline through speed-adjustable motors respectively, a water outlet end of the water pump is communicated with the drainage pipeline, and a water temperature sensor and a water flow sensor are mounted in the hot water pipeline, the well water pipeline and the drainage pipeline respectively;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller realizes water speed regulation by controlling the rotating speed of the speed-adjustable motor;
in the process that the microcontroller controls the drainage device to execute the drainage task, the water temperature sensor of the drainage pipeline detects the drainage temperature, and when the drainage temperature exceeds the range of the suitable drinking water temperature, the microcontroller adjusts the rotating speed of the speed-adjustable motor, changes the drinking water temperature in the suitable range and enables the drainage temperature to be in the range of the suitable drinking water temperature.
Further optionally, the related suitable drinking water temperature = (hot water flow rate:hotwater pipeline cross section area:hotwater temperature + well water flow rate:wellwater pipeline cross section area:wellwater temperature)/(hot water flow rate:hotwater pipeline cross section area + well water flow rate:wellwater pipeline cross section area),
the cross-sectional area of the hot water pipeline and the cross-sectional area of the well water pipeline are known constants, water temperature sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water temperature and the well water temperature, and water flow sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water flow speed and the well water flow speed;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller adjusts the hot water flow rate and the well water flow rate by controlling the rotation speed of the adjustable speed motor.
Optionally, the microcontroller and the outdoor temperature and humidity sensor perform information transmission through an IIC bus, the microcontroller and the key panel perform information transmission through a GPIO, the microcontroller and the screen perform information transmission through an SPI bus, the microcontroller and the water temperature sensor perform information transmission through the IIC bus, the microcontroller and the speed-adjustable motor perform information transmission through PWM of the GPIO, and the microcontroller and the water flow sensor perform information transmission through a pulse counter.
Secondly, the invention relates to a method for automatically adjusting water temperature based on a microcontroller, which adopts the following technical scheme for solving the technical problems:
a microcontroller-based automatic water temperature adjusting method comprises the following implementation processes:
deploying a mobile phone APP for controlling the water temperature adjusting equipment at the mobile terminal;
a user carries out initialization setting on suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities through a mobile phone APP, and the mobile phone APP sends initialization data to water temperature adjusting equipment through a cloud server;
the temperature adjusting device comprises a microcontroller and an outdoor temperature and humidity sensor arranged outside the microcontroller, a key panel, a screen, a water temperature sensor, a water flow sensor and a drainage device, wherein a user sends a water drainage task to the microcontroller through a mobile phone APP or the key panel, the microcontroller receives the water drainage task and then collects outdoor temperature and humidity through the outdoor temperature and humidity sensor, the outdoor temperature and humidity are transmitted to the screen to be displayed, a proper drinking water temperature range is obtained according to the collected temperature and humidity value and received initialization data, finally, the speed adjustable motor of the drainage device is controlled through a driver, the water drainage task is executed, and quantitative discharge of drinking water at proper temperature is achieved.
Optionally, the related drainage device comprises a water pump, a hot water pipeline, a well water pipeline and a drainage pipeline, wherein a water inlet end of the water pump is communicated with the hot water pipeline and the well water pipeline through speed-adjustable motors respectively, a water outlet end of the water pump is communicated with the drainage pipeline, and a water temperature sensor and a water flow sensor are mounted in the hot water pipeline, the well water pipeline and the drainage pipeline respectively;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller realizes water speed regulation by controlling the rotating speed of the speed-adjustable motor;
in the process that the microcontroller controls the drainage device to execute the drainage task, the water temperature sensor of the drainage pipeline detects the drainage temperature, and when the drainage temperature exceeds the range of the suitable drinking water temperature, the microcontroller adjusts the rotating speed of the speed-adjustable motor, changes the drinking water temperature in the suitable range and enables the drainage temperature to be in the range of the suitable drinking water temperature.
Further optionally, the related suitable drinking water temperature = (hot water flow rate:hotwater pipeline cross section area:hotwater temperature + well water flow rate:wellwater pipeline cross section area:wellwater temperature)/(hot water flow rate:hotwater pipeline cross section area + well water flow rate:wellwater pipeline cross section area),
the cross-sectional area of the hot water pipeline and the cross-sectional area of the well water pipeline are known constants, water temperature sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water temperature and the well water temperature, and water flow sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water flow speed and the well water flow speed;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller adjusts the hot water flow rate and the well water flow rate by controlling the rotation speed of the adjustable speed motor.
Optionally, the microcontroller and the outdoor temperature and humidity sensor perform information transmission through an IIC bus, the microcontroller and the key panel perform information transmission through a GPIO, the microcontroller and the screen perform information transmission through an SPI bus, the microcontroller and the water temperature sensor perform information transmission through the IIC bus, the microcontroller and the speed-adjustable motor perform information transmission through PWM of the GPIO, and the microcontroller and the water flow sensor perform information transmission through a pulse counter.
Compared with the prior art, the system and the method for automatically adjusting the water temperature based on the microcontroller have the beneficial effects that:
(1) According to the invention, the mobile phone APP deployed at the mobile terminal is used for initializing the appropriate drinking water temperature ranges corresponding to different outdoor temperatures and humidities, and the initialization data is sent to the water temperature adjusting equipment through the cloud server, so that the intelligent adjustment of the water temperature adjusting equipment is realized, and finally the water temperature adjusting equipment discharges the drinking water at the appropriate temperature;
(2) The invention can be applied to the livestock breeding industry to improve the meat quality by adjusting the drinking water temperature of livestock.
Drawings
Fig. 1 is a connection block diagram of a water temperature adjusting apparatus according to the present invention.
Detailed Description
In order to make the technical solutions, technical problems to be solved, and technical effects of the present invention more clearly apparent, the following description clearly describes the technical solutions of the present invention in combination with specific embodiments.
The first embodiment is as follows:
referring to fig. 1, the present embodiment provides an automatic water temperature adjusting system based on a microcontroller, which includes a water temperature adjusting device, and a mobile phone APP disposed at a mobile terminal for controlling the water temperature adjusting device;
a user carries out initialization setting on suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities through a mobile phone APP, and the mobile phone APP sends initialization data to the water temperature adjusting device through the cloud server;
the temperature adjusting device comprises a microcontroller and an outdoor temperature and humidity sensor arranged outside the microcontroller, a key panel, a screen, a water temperature sensor, a water flow sensor and a drainage device, wherein a user sends a water drainage task to the microcontroller through a mobile phone APP or the key panel, the microcontroller receives the water drainage task and then collects outdoor temperature and humidity through the outdoor temperature and humidity sensor, the outdoor temperature and humidity are transmitted to the screen to be displayed, a proper drinking water temperature range is obtained according to the collected temperature and humidity value and received initialization data, finally, the speed adjustable motor of the drainage device is controlled through a driver, the water drainage task is executed, and quantitative discharge of drinking water at proper temperature is achieved.
In the embodiment, the drainage device comprises a water pump, a hot water pipeline, a well water pipeline and a drainage pipeline, wherein the water inlet end of the water pump is communicated with the hot water pipeline and the well water pipeline through speed-adjustable motors respectively;
suitable drinking water temperature = (hot water flow rate, hot water pipeline cross section area, hot water temperature + well water flow rate, well water pipeline cross section area, well water temperature)/(hot water flow rate, hot water pipeline cross section area + well water flow rate, well water pipeline cross section area),
the cross section area of the hot water pipeline and the cross section area of the well water pipeline are constant, water temperature sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water temperature and the well water temperature, and water flow sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water flow rate and the well water flow rate;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller adjusts the hot water flow rate and the well water flow rate by controlling the rotation speed of the adjustable speed motor;
in the process that the microcontroller controls the drainage device to execute the drainage task, the water temperature sensor of the drainage pipeline detects the drainage temperature, and when the drainage temperature exceeds the range of the suitable drinking water temperature, the microcontroller adjusts the rotating speed of the speed-adjustable motor, changes the drinking water temperature in the suitable range and enables the drainage temperature to be in the range of the suitable drinking water temperature.
In this embodiment, microcontroller and outdoor temperature and humidity sensor carry out information transmission through the IIC bus, and microcontroller and keypad pass through GPIO and carry out information transmission, and microcontroller and screen carry out information transmission through the SPI bus, and microcontroller and temperature sensor carry out information transmission through the IIC bus, and microcontroller and adjustable speed motor carry out information transmission through the PWM of GPIO, and microcontroller and rivers sensor carry out information transmission through pulse counter.
Example two:
the embodiment provides a method for automatically adjusting water temperature based on a microcontroller, which comprises the following implementation processes:
(1) And deploying a mobile phone APP for controlling the water temperature adjusting equipment at the mobile terminal.
(2) The user carries out initialization setting to the suitable drinking water temperature range that different outdoor humidoments correspond through cell-phone APP, and cell-phone APP sends initialization data to temperature regulating apparatus through high in the clouds server.
(3) Referring to the attached figure 1, the water temperature adjusting device comprises a microcontroller, an outdoor temperature and humidity sensor, a key panel, a screen, a water temperature sensor, a water flow sensor and a drainage device, wherein the outdoor temperature and humidity sensor, the key panel, the screen, the water temperature sensor, the water flow sensor and the drainage device are arranged outside the microcontroller;
the user sends the task of draining to microcontroller through cell-phone APP or key panel, and after microcontroller received the task of draining, at first through outdoor humiture sensor collection outdoor humiture to convey and show to the screen, obtain suitable drinking water temperature range according to the humiture value of gathering and the initialization data of receipt afterwards, and the adjustable speed motor through driver control drainage device at last carries out the task of draining, realizes the quantitative emission of suitable temperature drinking water.
In the process of executing the step (3), the proper drinking water temperature = (the hot water flow rate is the hot water pipeline cross section area, the hot water temperature is the well water flow rate is the well water pipeline cross section area, the well water temperature is the well water flow rate)/(the hot water flow rate is the hot water pipeline cross section area, the well water flow rate is the well water pipeline cross section area),
the cross-sectional area of the hot water pipeline and the cross-sectional area of the well water pipeline are known constants, water temperature sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water temperature and the well water temperature, and water flow sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water flow speed and the well water flow speed;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller adjusts the hot water flow rate and the well water flow rate by controlling the rotation speed of the adjustable speed motor; in the process that the microcontroller controls the drainage device to execute the drainage task, the water temperature sensor of the drainage pipeline detects the drainage temperature, and when the drainage temperature exceeds the range of the suitable drinking water temperature, the microcontroller adjusts the rotating speed of the speed-adjustable motor, changes the drinking water temperature in the suitable range and enables the drainage temperature to be in the range of the suitable drinking water temperature.
What needs to be supplemented is: microcontroller and outdoor temperature and humidity sensor carry out information transmission through the IIC bus, microcontroller and keypad pass through GPIO and carry out information transmission, microcontroller and screen carry out information transmission through the SPI bus, microcontroller and water temperature sensor carry out information transmission through the IIC bus, microcontroller and adjustable speed motor carry out information transmission through the PWM of GPIO, microcontroller and rivers sensor carry out information transmission through pulse counter.
For the first embodiment and the second embodiment, it is necessary to supplement that the well water temperature is usually about 4 ℃, and the hot water temperature is usually about 80 ℃;
in the process of initializing and setting suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities through a mobile phone APP, a user can set a suitable drinking water temperature range according to the outdoor temperature and humidity ranges, if (1) the outdoor temperature is set to be 10-20 ℃ and the outdoor humidity is less than 50%, at the moment, the suitable drinking water temperature range is 22-28 ℃, when a microcontroller selects 25 ℃ as the suitable drinking water temperature value, after the rotating speed of a speed-adjustable motor is adjusted, the water discharging temperature is assumed to be 21 ℃, namely the water discharging temperature exceeds the suitable drinking water temperature range by 22-28 ℃, the suitable drinking water temperature value needs to be increased, and the rotating speed of the speed-adjustable motor is changed to enable the water discharging temperature to fall between 22-28 ℃; (2) setting the outdoor temperature to be 30-40 ℃, the outdoor humidity to be less than 30% and the suitable drinking water temperature range to be 10-15 ℃, when the microcontroller selects 13 ℃ as the suitable drinking water temperature value, and after the rotation speed of the speed-adjustable motor is adjusted, assuming that the drainage temperature is 16 ℃, namely the drainage temperature exceeds the suitable drinking water temperature range to be 10-15 ℃, reducing the suitable drinking water temperature value, and changing the rotation speed of the speed-adjustable motor to ensure that the drainage temperature falls between 10-15 ℃;
the water temperature sensor can be arranged at the outlet end of the drainage pipeline and can also be placed in the drinking trough; when water temperature sensor placed at the trough, the calorific loss that the air brought the temperature has been considered to the drainage temperature that detects, so, there is the difference between drainage temperature can and the suitable drinking water temperature, and based on this, when the user carries out initialization setting to the suitable drinking water temperature scope that different outdoor humiture corresponds through cell-phone APP, the influence factor of this difference should be considered to suitable change the suitable drinking water temperature scope that different outdoor humiture corresponds.
In conclusion, by adopting the automatic water temperature regulating system and method based on the microcontroller, the mobile phone APP arranged at the mobile terminal is used for initializing and setting the suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities, and the initialization data is sent to the water temperature regulating equipment through the cloud server, so that the intelligent regulation of the water temperature regulating equipment is realized, and finally the water temperature regulating equipment discharges the drinking water at the suitable temperature.
The principles and embodiments of the present invention have been described in detail using specific examples, which are provided only to aid in understanding the core technical content of the present invention. Based on the above embodiments of the present invention, those skilled in the art should make any improvements and modifications to the present invention without departing from the principle of the present invention, and therefore, the present invention should fall into the protection scope of the present invention.

Claims (8)

1. An automatic water temperature adjusting system based on a microcontroller is characterized by comprising water temperature adjusting equipment and a mobile phone APP, wherein the mobile phone APP is deployed at a mobile terminal and controls the water temperature adjusting equipment;
a user carries out initialization setting on suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities through a mobile phone APP, and the mobile phone APP sends initialization data to the water temperature adjusting device through the cloud server;
the temperature adjusting device comprises a microcontroller and an outdoor temperature and humidity sensor arranged outside the microcontroller, a key panel, a screen, a water temperature sensor, a water flow sensor and a drainage device, wherein a user sends a water drainage task to the microcontroller through a mobile phone APP or the key panel, the microcontroller receives the water drainage task and then collects outdoor temperature and humidity through the outdoor temperature and humidity sensor, the outdoor temperature and humidity are transmitted to the screen to be displayed, a proper drinking water temperature range is obtained according to the collected temperature and humidity value and received initialization data, finally, the speed adjustable motor of the drainage device is controlled through a driver, the water drainage task is executed, and quantitative discharge of drinking water at proper temperature is achieved.
2. The automatic water temperature regulating system based on the microcontroller according to claim 1, characterized in that the water draining device comprises a water pump, a hot water pipeline, a well water pipeline and a water draining pipeline, wherein the water inlet end of the water pump is communicated with the hot water pipeline and the well water pipeline through speed-adjustable motors respectively, the water outlet end of the water pump is communicated with the water draining pipeline, and a water temperature sensor and a water flow sensor are respectively arranged in the hot water pipeline, the well water pipeline and the water draining pipeline;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller realizes water speed regulation by controlling the rotating speed of the speed-adjustable motor;
in the process that the microcontroller controls the drainage device to execute the drainage task, the water temperature sensor of the drainage pipeline detects the drainage temperature, and when the drainage temperature exceeds the range of the suitable drinking water temperature, the microcontroller adjusts the rotating speed of the speed-adjustable motor, changes the drinking water temperature in the suitable range and enables the drainage temperature to be in the range of the suitable drinking water temperature.
3. The microcontroller-based automatic water temperature regulating system of claim 2, wherein the potable water temperature = (hot water flow rate · hot water pipe cross-sectional area + well water flow rate · well water pipe cross-sectional area · well water temperature)/(hot water flow rate · hot water pipe cross-sectional area + well water flow rate · well water pipe cross-sectional area),
the cross section area of the hot water pipeline and the cross section area of the well water pipeline are constant, water temperature sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water temperature and the well water temperature, and water flow sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water flow rate and the well water flow rate;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller adjusts the hot water flow rate and the well water flow rate by controlling the rotation speed of the adjustable speed motor.
4. The automatic water temperature regulating system based on the microcontroller according to claim 1, wherein the microcontroller and the outdoor temperature and humidity sensor perform information transmission through an IIC bus, the microcontroller and the key panel perform information transmission through a GPIO, the microcontroller and the screen perform information transmission through an SPI bus, the microcontroller and the water temperature sensor perform information transmission through the IIC bus, the microcontroller and the speed-adjustable motor perform information transmission through a PWM of the GPIO, and the microcontroller and the water flow sensor perform information transmission through a pulse counter.
5. A method for automatically adjusting water temperature based on a microcontroller is characterized by comprising the following implementation processes:
deploying a mobile phone APP for controlling the water temperature adjusting equipment at the mobile terminal;
a user carries out initialization setting on suitable drinking water temperature ranges corresponding to different outdoor temperatures and humidities through a mobile phone APP, and the mobile phone APP sends initialization data to water temperature adjusting equipment through a cloud server;
the temperature adjusting device comprises a microcontroller and an outdoor temperature and humidity sensor arranged outside the microcontroller, a key panel, a screen, a water temperature sensor, a water flow sensor and a drainage device, wherein a user sends a water drainage task to the microcontroller through a mobile phone APP or the key panel, the microcontroller receives the water drainage task and then collects outdoor temperature and humidity through the outdoor temperature and humidity sensor, the outdoor temperature and humidity are transmitted to the screen to be displayed, a proper drinking water temperature range is obtained according to the collected temperature and humidity value and received initialization data, finally, the speed adjustable motor of the drainage device is controlled through a driver, the water drainage task is executed, and quantitative discharge of drinking water at proper temperature is achieved.
6. The microcontroller-based automatic water temperature adjusting method according to claim 5, wherein the water discharging device comprises a water pump, a hot water pipeline, a well water pipeline and a water discharging pipeline, wherein a water inlet end of the water pump is communicated with the hot water pipeline and the well water pipeline through speed-adjustable motors respectively, a water outlet end of the water pump is communicated with the water discharging pipeline, and a water temperature sensor and a water flow sensor are mounted in the hot water pipeline, the well water pipeline and the water discharging pipeline respectively;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller realizes water speed regulation by controlling the rotating speed of the speed-adjustable motor;
in the process that the microcontroller controls the drainage device to execute the drainage task, the water temperature sensor of the drainage pipeline detects the drainage temperature, and when the drainage temperature exceeds the range of the suitable drinking water temperature, the microcontroller adjusts the rotating speed of the speed-adjustable motor, changes the drinking water temperature in the suitable range and enables the drainage temperature to be in the range of the suitable drinking water temperature.
7. The method of claim 6, wherein the drinking water temperature = (hot water flow rate:hotwater pipe cross-sectional area + well water flow rate:wellwater pipe cross-sectional area:wellwater temperature)/(hot water flow rate:hotwater pipe cross-sectional area + well water flow rate:wellwater pipe cross-sectional area),
the cross-sectional area of the hot water pipeline and the cross-sectional area of the well water pipeline are known constants, water temperature sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water temperature and the well water temperature, and water flow sensors arranged in the well water pipeline and the drainage pipeline are used for measuring the hot water flow speed and the well water flow speed;
on the premise of knowing the specific suitable drinking water temperature, the microcontroller adjusts the hot water flow rate and the well water flow rate by controlling the rotation speed of the adjustable speed motor.
8. The method for automatically adjusting the water temperature based on the microcontroller as claimed in claim 5, wherein the microcontroller and the outdoor temperature and humidity sensor perform information transmission through an IIC bus, the microcontroller and the key panel perform information transmission through a GPIO, the microcontroller and the screen perform information transmission through an SPI bus, the microcontroller and the water temperature sensor perform information transmission through the IIC bus, the microcontroller and the speed-adjustable motor perform information transmission through a PWM of the GPIO, and the microcontroller and the water flow sensor perform information transmission through a pulse counter.
CN202310005848.2A 2023-01-04 2023-01-04 Automatic water temperature adjusting system and method based on microcontroller Pending CN115963872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310005848.2A CN115963872A (en) 2023-01-04 2023-01-04 Automatic water temperature adjusting system and method based on microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310005848.2A CN115963872A (en) 2023-01-04 2023-01-04 Automatic water temperature adjusting system and method based on microcontroller

Publications (1)

Publication Number Publication Date
CN115963872A true CN115963872A (en) 2023-04-14

Family

ID=87354624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310005848.2A Pending CN115963872A (en) 2023-01-04 2023-01-04 Automatic water temperature adjusting system and method based on microcontroller

Country Status (1)

Country Link
CN (1) CN115963872A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5025754A (en) * 1990-02-01 1991-06-25 David Plyler Apparatus and method for providing drinking water to poultry
CN103574911A (en) * 2013-10-30 2014-02-12 东华大学 Automatic water temperature and flow adjusting system with delayed memory characteristic
CN108040919A (en) * 2017-12-29 2018-05-18 北京农业信息技术研究中心 A kind of henhouse automatic water-drinking line monitoring and control method and system
CN207783986U (en) * 2017-12-29 2018-08-31 北京农业信息技术研究中心 A kind of henhouse automatic water-drinking line monitor controller
CN109892244A (en) * 2019-03-14 2019-06-18 山东畜牧兽医职业学院 A kind of intelligent drinking-water system of animal-breeding
CN110288059A (en) * 2019-06-24 2019-09-27 哈尔滨理工大学 A kind of management method in wisdom pasture
CN111367191A (en) * 2020-03-22 2020-07-03 衡阳师范学院 Pet intelligent home system based on internet of things technology
CN114009363A (en) * 2021-12-14 2022-02-08 中博农畜牧科技股份有限公司 Intelligent constant-temperature constant-liquid-level milk cow trough equipment
CN114097640A (en) * 2021-12-14 2022-03-01 中博农畜牧科技股份有限公司 Intelligent constant-temperature constant-liquid-level milk cow trough control system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5025754A (en) * 1990-02-01 1991-06-25 David Plyler Apparatus and method for providing drinking water to poultry
CN103574911A (en) * 2013-10-30 2014-02-12 东华大学 Automatic water temperature and flow adjusting system with delayed memory characteristic
CN108040919A (en) * 2017-12-29 2018-05-18 北京农业信息技术研究中心 A kind of henhouse automatic water-drinking line monitoring and control method and system
CN207783986U (en) * 2017-12-29 2018-08-31 北京农业信息技术研究中心 A kind of henhouse automatic water-drinking line monitor controller
CN109892244A (en) * 2019-03-14 2019-06-18 山东畜牧兽医职业学院 A kind of intelligent drinking-water system of animal-breeding
CN110288059A (en) * 2019-06-24 2019-09-27 哈尔滨理工大学 A kind of management method in wisdom pasture
CN111367191A (en) * 2020-03-22 2020-07-03 衡阳师范学院 Pet intelligent home system based on internet of things technology
CN114009363A (en) * 2021-12-14 2022-02-08 中博农畜牧科技股份有限公司 Intelligent constant-temperature constant-liquid-level milk cow trough equipment
CN114097640A (en) * 2021-12-14 2022-03-01 中博农畜牧科技股份有限公司 Intelligent constant-temperature constant-liquid-level milk cow trough control system

Similar Documents

Publication Publication Date Title
CN105650808A (en) Adjusting and controlling method and device for outlet water temperature of chilled water of water chilling unit
CN105974976B (en) A kind of intelligent greenhouse control and management system based on Internet of Things
CN106196515A (en) The energy efficiency controlling method of central air conditioner system and device
CN204902127U (en) Terminal coordinated control's of air conditioner water system and air conditioner economizer
CN103760833A (en) Environment control system and circuit specially used for poultry cultivation
CN104145826B (en) A kind of automatic control system of poultry house Wet-curtain temperature reducing in summer and control method thereof
CN209431511U (en) For heat regulating device and heating system
CN115963872A (en) Automatic water temperature adjusting system and method based on microcontroller
CN208724513U (en) Plant factor's temperature and humidity adjustment system
CN205481245U (en) Internet intelligence heat exchanger group
CN113587371A (en) Air conditioner control method and device and air conditioner
CN106595767A (en) Method and system of intelligently adjusting temperature and humidity of air
CN114963447B (en) Intelligent control system and method for water chilling unit
CN109601414B (en) Automatic calf feeding device
CN208828080U (en) The automatic adjustment ventilating system of polar region ship machinery space
CN107965887A (en) A kind of computer based indoor temperature control method
CN209524805U (en) Control the device and heat-exchange system of heat-exchange unit
CN112902290A (en) Heating water outlet control method, device, equipment, medium and heating system
CN208536228U (en) A kind of sullage anti-block machine and air-conditioning system
CN112088780A (en) Automatic pig farm temperature and humidity adjusting system applying ground source heat pump technology
CN208519930U (en) A kind of operation of air conditioning systems
CN106288143A (en) A kind of air conditioner intelligent control system and method
CN205481244U (en) Intelligent heat -exchange machine set
CN112484185A (en) Photovoltaic air conditioner control method and device applied to farm and photovoltaic air conditioner
CN111406673A (en) White feather chicken is bred and uses circulated air temperature control system

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