基于at89c51的家电开关控制的设计.rar

RAR格式版权申诉手机打开展开

基于at89c51的家电开关控制的设计,摘要本设计基于单片机技术实现了家电智能控制系统,该系统采用单片机 at89c51 为控制核心,以pc机为上位机,实现在pc机上自动控制8路家电的开关状态,通过控制系统亦可以使用按键控制家电的开关。在本系统中,以led模拟待控制的8路家电,如电视,空调,洗衣机等,并在显示器上显示led灯的状态,以模拟家电的开关状态。系统...
编号:150-156345大小:1.15M
分类: 论文>计算机论文

该文档为压缩文件,包含的文件列表如下:

内容介绍

原文档由会员 白痴学东西 发布

摘 要
本设计基于单片机技术实现了家电智能控制系统,该系统采用单片机 AT89C51 为控制核心,以PC机为上位机,实现在PC机上自动控制8路家电的开关状态,通过控制系统亦可以使用按键控制家电的开关。在本系统中,以LED模拟待控制的8路家电,如电视,空调,洗衣机等,并在显示器上显示LED灯的状态,以模拟家电的开关状态。系统硬件部分包括单片机最小系统,串口通信、液晶显示界面等模块。最小系统部分选用AT89C51单片机,串口选用MAX232芯片进行232电平到TTL电平转换。液晶选用128X64点阵的液晶模块。软件部分应用C 语言实现全部控制功能,包括基本的按键处理,状态指示,液晶显示等。上位机部分利用VB编写了友好的人机界面,可以通过鼠标实时操作控制家电的开关状态,实现了家电集中智能化控制,方便、可靠 。本系统显示直观,控制方便,在今后家电智能化控制领域能够得到广泛应用。
关键词:教学设备防盗系统,单片机,报警时间记录




Abstract
The design is based on microcontroller technology to achieve the appliance intelligent control system that uses SCM AT89C51 for the control of the core, PC, as the host computer, implemented in PC, automatically controls 8 appliances on and off, through the control system also can use the keys to control home appliances the switch. In this system, the LED to be controlled by analog 8 appliances, such as TV, air conditioning, washing machine, etc., and LED lights in the display shows the status of the switch to simulate the state of home appliances. System hardware, including minimum system microcontroller, serial communication, LCD display interface and other modules. AT89C51 microcontroller minimum system part of the selection, use MAX232 chip for serial port 232 level to TTL level conversion. LCD 128X64 dot matrix LCD module is used. C language application software portion of all the control functions, including basic keys, status indicators, LCD display. PC part of the use of VB, a friendly man-machine interface for real-time operating control home appliances through the mouse, the switch state to realize the intelligent control of household appliances centralized, convenient and reliable. The system displays the intuitive, easy to control, the field of intelligent control of household appliances in the future can be widely used.

Keywords: microcontroller, intelligent control, matrix keyboard, serial port communication
目 录
第1章 绪论 1
1.1 LED家电控制开关的概念 1
1.2 智能家居的功能 1
2.1.1 控制网络 2
2.1.2 信息网络 2
1.3 目标及设计思路 3
第2章 系统方案设计 5
2.1 总体设计分析 5
2.2可行性分析 5
2.3 系统方案设计 7
第3章 硬件设计 9
3.1 单片机系统框图 9
3.2 AT89C51主控芯片 10
3.3 单片机与PC机串口通信 13
3.4 稳压直流电源设计 14
3.5 矩阵键盘设计 15
3.6 液晶显示驱动电路设计 16
第4章 软件设计 18
4.1 软件总体设计 18
4.2键连击现象的克服与处理 20
4.3串口中断 21
4.2显示子程序设计 22
第5章 系统仿真及测试 24
5.1系统仿真 24
5.2系统测试 25
结论 26
致谢 27
参考文献 28
附录 30