电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

基于单片机的智能垃圾桶设计和实现 电气工程专业VIP免费

基于单片机的智能垃圾桶设计和实现 电气工程专业_第1页
1/35
基于单片机的智能垃圾桶设计和实现 电气工程专业_第2页
2/35
基于单片机的智能垃圾桶设计和实现 电气工程专业_第3页
3/35
基于单片机的智能垃圾桶设计随着现代化进程的日益推进,科技越来越发达,人们的生活水平也提高了,开始追求健康、和谐的生活环境,重视生活周边的环境卫生,因此环保产品与设备也应运而生。在公司、办公室或者是家庭中,垃圾的存放经常是困扰我们的一个问题。无论是在公共场合还是家庭厨房的垃圾大都是没有盖或者有盖但需要人用手打开的。而大量堆积在外的垃圾还会发出刺鼻的异味,既污染了环境也增加了人与细菌接触的几率。系统主要包括报警、垃圾桶状态检测、人体检测、指示灯、垃圾桶控制以及主控制器。系统通过人体检测信号,判断如果有人,则控制垃圾桶打开,可以对垃圾桶状态进行检测,垃圾桶是否满,并且通过报警提示。垃圾满采集选用红外对管模块。垃圾桶控制选择步进电机,步进电机驱动选择ULN2003。选择C语言进行软件设计,应用Keil软件进行程序设计编写。最后达到系统性能要求。根据选择的器件型号,设计初系统各部分电路图,将各个功能的电路图连接在一起,绘制出系统整体电路图。按照连接关系设计软件,软件设计通过C语言进行编程,完成各个功能代码开发,进行模块化设计,最终组合在一起,并且按照逻辑流程设计初软件设计流程图。最终对系统进行调试,对代码的逻辑结构进行验证,是否可以实现功能,对设计缺陷进行优化,直到实现系统功能。关键词:STC89C52单片机;垃圾桶控制;ULN2003;红外对管1IntelligenttrashcandesignbasedonsinglechipmicrocomputerABSTRACTWiththeadvancementofthemodernizationprocess,scienceandtechnologyaremoreandmoredeveloped,people'slivingstandardshavealsoimproved,andthepursuitofahealthyandharmoniouslivingenvironmenthasbeguntopayattentiontotheenvironmentalsanitationaroundthelife.Therefore,environmentallyfriendlyproductsandequipmenthaveemerged.Incompanies,officesorhomes,thestorageofgarbageisoftenaproblemthatbothersus.Whetheritisinpublicorinthefamilykitchen,thegarbageismostlyuncoveredorcoveredbutneedstobeopenedbyhand.Alargeamountofrubbishthataccumulatesoutsidewillalsogiveoffapungentodor,whichpollutestheenvironmentandincreasestheprobabilityofhumancontactwithbacteria.Thesystemmainlyincludesalarm,trashcanstatusdetection,humanbodydetection,indicatorlight,trashcancontrolandmaincontroller.Thesystemusesthehumanbodydetectionsignaltodetermineifthereissomeone,thencontrolthetrashcantoopen,thetrashcanstatecanbedetected,thetrashcanisfull,andthealarmprompts.Infraredpipemoduleisusedforgarbagecollection.Thetrashcancontrolselectsthesteppermotor,andthesteppermotordriveselectsULN2003.ChooseClanguageforsoftwaredesignandKeilsoftwareforprogramming.Finally,thesystemperformancerequirementsaremet.Accordingtotheselecteddevicemodel,designthecircuitdiagramofeachpartoftheinitialsystem,connectthecircuitdiagramsofeachfunctiontogether,anddrawtheoverallcircuitdiagramofthesystem.Accordingtotheconnectionrelationshipdesignsoftware,thesoftwaredesignisprogrammedthroughClanguage,completethedevelopmentofeachfunctioncode,modulardesign,andfinallyputtogether,anddesigntheinitialsoftwaredesignflowchartaccordingtothelogicflow.Finally,thesystemisdebugged,thelogicstructureofthecodeisverified,whetherthefunctioncanbeimplemented,andthedesigndefectsareoptimizeduntilthesystemfunctionisrealized.2KeyWords:STC89C52singlechipcomputer;garbagebincontrol;ULN2003;infraredcounterpart3目录第1章引言..................................................................................................................................41.1研究背景与现状..............................................................................................................41.2课题研究内容......................................

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

基于单片机的智能垃圾桶设计和实现 电气工程专业

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部