第 1 页 共 30 页多功能 LED 显示电风扇控制器的设计摘要本课题设计了一种使用 ATC89C51 单片机当做核心控制器的智能系统产品。实现了电风扇的多功能,而且能够将检测到的实时温度使用高清晰的液晶屏来显示。用户还可以通过使用按键对电风扇的启动温度进行设置,超过该值后将使得电风扇转动功能。这款多功能 LED 显示电风扇控制器内部核心框架是由 ATC89C51 单片机作为主控部分并且在这款高性能的微处理器芯片外部还配置了 LCD1602 液晶屏幕、DS18B20 温度传感器和有源蜂鸣器等智能模块。通过 ATC89C51 单片机对这些模块电路的高效控制驱动,实现了对单一功能的电风扇的扩展。整体设计框架方面分为了硬件电路和软件程序两大部分本课题通过模块设计方法将多功能 LED 显示电风扇控制器的整体部分化繁为简,逐一进行设计,最终实现所有功能指标。课题最终对这款系统的设计结果进行了长时间的功能检测,检测过程中出现的所有问题都进行了优化和改进,实现了非常高的稳定性。关键词:C51 单片机,LCD,DS18B20 温度传感器,电动机AbstractThis subject invented an intelligent system product using ATC89C51 single chip computer as the core controller.The multi-functional electric fan is realized, and the current temperature detected can be displayed through a high-definition liquid crystal screen.Users can also set the starting temperature of the electric fan by pressing keys, which will make the fan turn.The core framework of this multi-functional LED display fan controller is ATC89C51 single chip microprocessor as the main control part, and the intelligent modules such as LCD1602 LCD screen, DS18B20 temperature sensor and active buzzer are also configured outside the chip of this high-performance microprocessor. These modules are efficiently controlled and driven by ATC89C51 single chip microprocessor to realize the single function of electricity. Fan expansion, The overall design framework is divided into the two parts: hardware circuit and software program. The whole part of the multi-fun...