首页 | 本学科首页   官方微博 | 高级检索  
     

基于AT89C52单片机的遥控电扇
引用本文:刘晓鑫.基于AT89C52单片机的遥控电扇[J].国外电子元器件,2012(1):144-147.
作者姓名:刘晓鑫
作者单位:河海大学计算机与信息学院,江苏南京211100
摘    要:采用AT89C52型号的单片机对传统的电扇系统进行改造,实现对电扇的短距离控制。该设计利用单片机进行红外发送,红外接收,在此过程中对红外进行编码和解码,而后通过不同的编码形成对风扇的不同控制。同时对单片机P0口的输出进行DA变换后,完成对风扇的速度的实时控制。通过仿真实验,验证了该方案的可行性,该设计简单、可靠,具有很强的实用性。

关 键 词:单片机  红外发送  红外接收  DA变换  实时控制

Remote electric fan based on AT89C52 MCU
LIU Xiao-xin.Remote electric fan based on AT89C52 MCU[J].International Electronic Elements,2012(1):144-147.
Authors:LIU Xiao-xin
Affiliation:LIU Xiao-xin(Department of Computer and Information,Hohai University,Nanjing 211100,China)
Abstract:The model rebuilds the traditional system of fans with the use of AT89C52 microcontroller and realize the short distance control of the fans.The design uses microcontroller for infrared transmission and infrared receiver.In the process the system finishes infrared encoding and decoding.The system can achieve different control according to the different codes.At the same time it can finish the DA conversion of the output of popt po.Then the real-time speed of the fan can be controled.After testing through simulation experiments,the feasibility of the program can be verified.In a word,the design is simple,reliable,and highly practical.
Keywords:MCU  infrared transmission  infrared receiver  DA conversion  real-time control
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号