- 1、本文档共41页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
智能窗帘控制器设计.doc
摘 要
窗帘是人类自定居开始就存在的家居用具,用以保护人的隐私及改变屋内光线。随着时代的发展,传统的窗帘已不能满足人们需求,为此提出一个多功能智能窗帘控制器的研究。
多功能智能窗帘控制器使用STC12系列单片机作为核心,通过利用光敏电阻在光照下变化的电阻经过分压电路及模数转换后,将转换数据送往单片机,单片机控制液晶显示器显示光照强度,并根据光照强度大小自动判断当前光照是否强烈,从而控制电机转动带动窗帘,实现自动调光功能;同时,运用红外遥控技术,实现无线遥控功能。电机电路由L298N外加续流二极管的电路提供驱动。所完成的控制器能实现开闭、自动、定时多模式的选择功能。
文中介绍了系统总体的设计方案,及系统工作原理,详细阐述系统硬件的设计和软件程序的设计流程。文章提供有关数据,并作出相应分析,总结系统所实现的功能,分析不足,为此提出展望。
关键字:STC单片机、红外遥控、自动调光、光敏电阻
Abstract
Curtain is which the existence of a house appliance since the beginning of the human settlement, it was used to protect peoples privacy and to change the house light. With the development of the times, the traditional curtain can not satisfy peoples needs, for a proposed study of multi-application smart curtain controller.
Multifunctional smart curtain controller uses STC12 Series MCU as the core, through the use of light-sensitive resistors change resistor in the light. Then the voltage which is changed by the light-sensitive resistors send to the voltage divider circuit and analog-digital conversion, and then the converted of data sent to the microcontroller. The MCU will control the LCD to display the light intensity, and in accordance with the light intensity automatically determine the current size of the light intensity of light is strong or weak, also driven by rotation of the motor to control the curtains to make out automatic dimming function; At the same time, the use of infrared remote control technology can work out the wireless remote control function. The motor circuit is driven by the chip which the model number is L298N and add external freewheeling diode circuit. The controller can select multiple modes, such as opening, closing, automatic,and timing.
This paper describes the overall system design, and the system how to work. It elaborates the system hardware design and software design processes. This articles provide the relevant data, and make the appropriate analysis, then summarized the system functions which are realized and inadequate analysi
文档评论(0)