项目编号:mcuclub-dz-263
设计简介:
项目编号:mcuclub-dz-263
单片机类型:STC89C52
具体功能:
1、通过超声波模块检测水箱水位,可设定一个水箱总高度(适配所有不同高度的水箱),然后设置一个剩余水位最大值和最小值,当水位低于最小值,启动水泵加水,直到加水加到大于最大值
2、通过防水式DS18B20测量水温,可设定一个温度,当用户通过按键启动时,水温若低于这个温度,则自动加热,直到达到这个温度后停止,并蜂鸣器报警3s提醒水温达到,当用户通过按键停止时,不启动加热
3、通过RFID刷卡模块,可通过IC卡进行刷卡,卡片在上面则开启另一个水泵出水,直到卡拿走。每刷一次,使用次数就会减一,使用剩余次数为0时,不再出水,可添加使用次数
4、通过LCD1602显示水位、水温、剩余使用次数
5、通过蓝牙模块,可将数据发送到手机端,手机端可设置水温
总字数:17328
摘 要
随着能源短缺和环境污染等问题的不断出现,绿色能源受到广泛关注。太阳能热水器作为常见的节能环保家电,在日常生活中占据着重要地位。为了有效提高热水器的使用效率,需要对热水器相关参数进行实时监测,使热水器的使用更加方便快捷。
本设计采用STC89C52单片机作为主控芯片,通过超声波模块检测热水器水箱水位,通过防水式DS18B20测量水温,通过RFID刷卡用水,通过LCD1602显示水位、水温、剩余使用次数,除此之外,还使用蓝牙模块进行无线通信,可以将相关参数传输到手机上进行显示,也可以实现手机控制热水器的功能。各传感器可以将监测到的相关参数传输到主控芯片,通过单片机对相关数据进行分析和处理,控制相应的外围设备进行动作,使相关参数处于适宜的范围之内,有效保障热水器的正常适宜,使热水器的使用效果达到最佳状态。
测试结果表明,该太阳能热水器控制系统能够正常监测相关参数,并进行有效调整相关参数,使热水器的使用更加人性化和便捷化。
关键词:太阳能热水器;单片机;传感器;显示屏;蓝牙
Abstract
With the continuous emergence of energy shortages and environmental pollution, green energy has received widespread attention. As a common energy-saving and environmentally friendly household appliance, solar water heaters play an important role in daily life. In order to effectively improve the efficiency of water heaters, real-time monitoring of water heater related parameters is necessary to make the use of the water heater more convenient and efficient.
This design uses the STC89C52 microcontroller as the main control chip, detects the water level in the water heater tank through an ultrasonic module, measures the water temperature through a waterproof DS18B20, uses RFID card to swipe water, displays the water level, water temperature, and remaining usage times through LCD1602. In addition, Bluetooth module is also used for wireless communication, which can transmit relevant parameters to the phone for display, and also achieve the function of controlling the water heater through the phone. Each sensor can transmit the monitored relevant parameters to the main control chip, analyze and process the relevant data through the microcontroller, control the corresponding peripheral devices to act, keep the relevant parameters within the appropriate range, effectively ensure the normal and suitable use of the water heater, and achieve the best use effect of the water heater.
The test results indicate that the solar water heater control system can monitor relevant parameters normally and effectively adjust them, making the use of the water heater more user-friendly and convenient.
Keywords:solar water heater; Single chip microcomputer; Sensors; Display screen; Bluetooth
目 录
摘 要
Abstract
第一章 设计概述
第二章 系统设计方案
第三章 硬件设计
第四章 系统程序设计
第五章 实物测试
总结
致谢
参考文献
附录