长沙理工大学
学生毕业设计(论文)
题目:自动光控窗帘设计论文
系部:机电工程系
专业:电气自动化
姓名:刘斌
学号:205070110
指导老师:祖国建(副教授)
完成时间:2006年12月
摘 要
在社会上有很多关于自动启闭窗帘的控制器与实体,也有不少关于自动启闭窗帘的实体出现在市场.本文重点介绍用R(ATMEGA8)实现的自动起闭窗帘控制器.通过与网上的设计进行比较来说明本人设计的起闭窗帘的优越性.从而来与大家分享我的成果,进一步通过所学来与大家共同切磋在专业方面的知识.
关 键 词:ATMEGA8V,设计,自动启闭窗帘控制器,编程,定时器,
Abstract
inthesocietymanyaboutopensautomaticallyshutswindowblind'scontrollerandtheentity,alsohaanyaboutautomaticallyopensshutswindowblind'sentitytoappearinthemarket.Thisarticleintroducedwithemphasis(ATMEGA8)realizeswithRisautomaticshutsthewindowblindcontroller.Throughcarriesontheparisonwithon-linedesigntoexplainthatmyselfdesignshutwindowblind'ssuperiority.Thuseswitheverybodytosharemyachievement,furtherthroughstudiesestoparenotestogetherwitheverybodyinthespecializedaspectknowledge.
keyword:ATMEGA8V,thedesign,openautomaticallyshutthewindowblindcontroller,theprogramming,thetimer,
目录
摘 要2
Abstract2
第一章简介网上流行的设计方案3
1.1自动启闭窗帘控制器4
1.2自动调光窗帘4
第二章光敏电阻的介绍5
2.1光敏电阻器CDS6
2.2测试条件6
2.3物理和环境特性7
第三章ATMEGA8V芯片的介绍7
3.1ATMEGA8产品特性简介8
3.2ATmega8的中断向量9
3.3模数转换器9
3.4MCS-51与R之间的区别10
第四章自动启闭窗帘控制电路解析10
4.1光度采集部分10
4.1.1原理说明:11
4.2电源部分11
4.3输出控制12
4.4显示部分12
4.5按键部分13
4.6复位电路14
4.7振荡电路14
4.8ADC转换基准电压电路15
4.9ATMEGA816
4.10整体硬件16
第五章所用编译软件说明18
5.1ICCR介绍18
5.2附注和扩充18
第六章程序设计20
第七章设计总结30