(论文)- I -(论文)摘 要在科学技术不断发展,人民生活水平的不断提高的现代,洗浴也成了人们日常生活必不缺少的一部分,人们对于洗浴产品的追求也随之提高。目前,市面上的太阳能热水器,使用时调节温度就显得极为不方便,对于浴室的水温的要求,只可以通过浴室水阀来调节水温,用来满足相应的对水温舒适度的需求,但是这种温度调节是人为的不断调节的结果,人们在洗浴的过程还要考虑到水温的变化,这就给洗浴造成了不舒适感。基于此种情况,本课题使用温度传感器 DS18B20 实时测量水温,微处理器 STM32F103C8T6 采样水温值,并根据水温值的实时变化合理调节冷热水的进水量,当水温低于所设定温度的范围则继续加热水,如果水温高出所设定温度的范围则加凉水,使得出水始终保持在舒适的温度,即自动控制浴室水温,避免了频繁人为改变水温的麻烦,同时也在一定程度上减少了能源的消耗。为了达到预期的实验目标,本课题还进行了实物的组装,软件程序的调试等。- II -关键词:STM32F103C8T6 单片机 DS18B20 传感器 自动控制水温 太阳能热水器(论文)AbstractWith the continuous development of science and technology and the continuous improvement of people's living standards, bathing has become an indispensable part of people's daily life, and people's pursuit of bathing products has also improved. At present, the solar water heater on the market, when used to adjust the temperature is extremely inconvenient, for the bathroom water temperature requirements, only through the bathroom water valve to adjust the water temperature, used to meet the corresponding water temperature comfort demand, but this temperature adjustment is the result of artificial continuous adjustment, people in the bath process also take into account the change of water temperature, which causes discomfort to the bath. This paper uses temperature sensor DS18B20 measure water temperature in real time, microprocessors STM32F103C8T6 sample water temperature value, and adjust the water intake of cold and hot water reasonably accordin...