预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共20页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

C51单片机的智能台灯的设计与实现 摘要:着重论述了以一款 为控制核心,选用ESP8266wifi模块为无线传输方式,设计并制作的一款新型只能台灯。 该款智能台灯系统独特的设计了两种不同的工作方式。模式一:本地模式,通过红外感应是否 有人靠近,光线感应模块感应环境光亮度,当有人靠近时打开台灯,并根据环境光调节亮度; 模式二:远程控制模式,通过ESP8266作为wifi信号传输工具,在利用手机上的上位机实现 台灯的远程操作,包括打开关闭台灯以及亮度控制,其亮度利用单片机的PWM输出进行调节 实现。通过测试可知,这款新型智能台灯能够实现预定功能。具有响应速度快,便携、节能等 优点,在智能家居领域具有很大的应用价值。 关键词:台灯;STC12;亮度;红外;wifi; Title:Designofintelligentdesklampbasedon51singlechip microcomputer AbstractThispaperbrieflydiscussesthebackgroundmeaningofthesmarttablelampandthe developmenthistoryofthetablelamp,focusingontheSTC12asthecontrolcore.theselectionof ESP8266wifimoduleasthewirelesstransmissionmode,thedesignandproductionofanewonly tablelamp.Thesmartdesklampsystemisuniquelydesignedtoworkintwodifferentways.Mode1: inthelocalmode,thelightsensormodulecansensetheambientbrightnessbyinfraredsensing whethersomeoneisnear,turnonthelampwhensomeoneisnear,andadjustthebrightness accordingtotheambientlight;Mode2:remotecontrolmode,ESP8266asawifisignaltransmission tool,theuseofmobilephoneontheuppercomputertoachievetheremoteoperationofthetable lamp,includingturningonandoffthetablelampandbrightnesscontrol,thebrightnessoftheuseof MCUPWMoutputtoadjusttherealization.Testsshowthatthisnewsmartdesklampcanperform theintendedfunction.Withtheadvantagesofquickresponse,portabilityandenergysaving,ithas DesklampSTC12;Brightness;Infrared;Wifi; 录 摘要.........................................................................................................................................1 ABSTRACT................................................................................................................................1 1绪论.........................................................................................................................................2 1.1课题研究背景..................................................................................................................2 1.2智能台灯的优势.................................................................................................