光敏电阻式自动窗帘系统概要

光敏电阻式自动窗帘系统

目 录

摘要 ................................................................................................................................................. 1 关键字 ............................................................................................................................................. 1 Abstract ............................................................................................................................................. 1 Key words ......................................................................................................................................... 1 1 引言 .......................................................................................................................................... 1

1.1 研究背景及意义 ......................................................................................................... 2 1.2 国内外研究现状 ......................................................................................................... 2 2 系统研究内容 ......................................................................................................................... 3

2.1 系统研究思想及内容 ................................................................................................ 3 2.2 系统总体方案设计 .................................................................................................... 3 2.3 系统基本功能 ............................................................................................................. 3 2.4 系统总体结构设计 .................................................................................................... 3 3 硬件分析及设计 .................................................................................................................... 4

3.1 总体硬件分析 ............................................................................................................. 4 3.2 光敏电阻及电压比较器 ........................................................................................... 4 3.3 单片机最小系统模块 ............................................................................................... 6 3.4 步进电机及驱动模块 ............................................................................................... 7 4 程序设计与分析 .................................................................................................................... 8

4.1 键盘程序设计 ............................................................................................................. 8 4.2 步进电机程序设计 .................................................................................................... 9 5 系统调试 .............................................................................................................................. 10

5.1 电路板调试 ............................................................................................................... 10 5.2 步进电机正反转模块调试 ................................................................................... 10 5.3 光照采集模块调试 ................................................................................................. 10 总 结 ............................................................................................................................................. 11 致 谢 ............................................................................................................................................ 12 参 考 文 献 .............................................................................................................................. 13 附录一:系统原理图 .............................................................................................................. 14 附录二:程序清单 ................................................................................................................... 16

光敏电阻式自动窗帘系统

光敏电阻式自动窗帘系统

摘要:光敏电阻式自动窗帘系统核心采用的是AT89S52单片机,然后利用了光照传感器、键盘显示接口电路以及信号调理电路等外围电路,在各模块的配合下本设计可实现手动控制、自动控制功能。该系统的构成是由光照传感电路、系统主控模块电路、电源转换电路、电机控制电路、键盘等组成,重点讨论了光敏电阻式自动窗帘系统的设计过程、硬件选用和软件调试等问题,通过本系统可实现利用光照强度控制窗帘自动开闭。 关键字:单片机,自动控制,AT89S52,Protel

Photosensitive resistance type automatic

curtain system

Abstract:Photosensitive resistance type automatic curtain system design made full use of the single chip microcomputer controlling system of AT89S52,followed by the sensor, keyboard and display interface circuit and the signal conditioning circuit.Based on the different controlling mode, this design realize to control the curtain machine by mutual transformation of semiautomatic and automatic controlling . This system is composed of a light sensingcircuit, system main control module circuit, a power conversion circuit, a motor control circuit, keyboard etc.Focusing on the curtain during automatic control system design, hardware and software debugging process and other issues, the system can be realized through the illumination intensity in accordance control the curtains down,and can be realizde through the buttons to controlthe curtains open or down.

Key words:single chip microcomputer, automatic control, AT89S52, Protel

1 引言

伴随着信息化数字化时代的到来,人们的生活速度以及对生活质量的追求也在大幅提高。电子产品智能化速度的加快,也使人们的工作、生活和通讯的关系日益紧密。智能化产品的设计在改变人们工作方式与生活习惯的同时,让人们对生活质量的提升提出了更高的需求,方便、舒适成了人们所追求的生活方式,在现代家庭生活环境中,居住环境早已不仅仅局限在物理空间上,人们更加关注的是一个安全、方便、舒适的生活环境。智能化的电子产品以及设计将以前的被动

1

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4