摘要
给出了一种采用C8051F020单片机实现红外遥控电风扇的系统方案。将红外接收模块、温度采集电路、实时时钟电路、报警电路和风速控制电路置于电风扇中,通过C8051F020单片机实现电风扇风速控制、定时功能和运行模式切换功能,采用4×4键盘或者遥控器完成数据和控制指令的输入,并通过TS1602LCD完成基本的状态数据和控制指令实时显示等。实验结果表明:本系统能够成功实现电风扇的运行模式切换、风速控制和定时功能,自动运行模式下,风速由环境温度决定,温度控制精度为±1℃。
A new method based on C8051F020 MCU is proposed to design infrared remote-control fanner.The control system consists of infrared receiver module,temperature collection module,clock circuit,alarm circuit and wind speed control circuit.C8051F020 MCU is used to realize wind speed control,timing and work mode switch.Control instruction and data are input by 4×4 keyboards and displayed by TS1602 LCD.Experiments show that the designed system can realize work mode switch,wind speed control and timing function.Wind speed is decided by environmental temperature and control precision is ±1℃ under self-work mode.
出处
《现代电子技术》
2011年第19期119-120,123,共3页
Modern Electronics Technique