文档详情

毕业论文-基于单片机的智能垃圾桶设计 .pdf

发布:2025-03-24约5.72万字共33页下载文档
文本预览下载声明

毕业论文-基于单片机的智能垃圾桶设计--第1页

龙岩学院

毕业设计

题目:基于单片机的智能垃圾桶设计

专业:电子信息工程

学号:

作者:

指导教师(职称):

二〇一六年五月二十三日

毕业论文-基于单片机的智能垃圾桶设计--第1页

毕业论文-基于单片机的智能垃圾桶设计--第2页

基于单片机的智能垃圾桶设计

【摘要】

本文提出一种基于单片机STC89C51的智能垃圾桶的设计。系统主要由超声

波测量距离模块、光电感应模块、电机模块和语音提示模块等功能模块组成,以单片机为

控制器,通过超声波传感器、光电传感器来获取距离数据,再通过数模转换及单片机处理

后发出相应的命令,外围电路执行相应的动作,假设当超声波传感器检测到人距离垃圾桶

的距离小于设定距离时,电机转动垃圾桶盖自动翻开;如果光电传感器检测到垃圾桶装满,

系统就会有语音进行提示;在规定时间对垃圾桶进行喷洒消毒剂消毒。本设计与传统垃圾

桶相比,不仅结构简单、性能稳定,且具有操作方便、低成本、智能化等优点,能有效提

高垃圾分类的效率,是减少环境污染的一个可行的措施。

【关键词】单片机光电传感器超声波传感器智能垃圾桶

I

毕业论文-基于单片机的智能垃圾桶设计--第2页

毕业论文-基于单片机的智能垃圾桶设计--第3页

DesignofIntelligentGarbageBinBasedonSingle

ChipMicrocomputer

【Abstract】ThispaperisadesignofintelligentashbinbasedonMCU

STC89C51,whichiscomposedofultrasonicdistancemeasuringmodule,photoelectric

sensormodule,motormoduleandthevoicepromptmodulefunctionmodule.WithMCU

asthecontroller,ultrasonicsensorsandphotoelectricsensorsareusedtoobtain

thedistancedata,andthenissuethecorrespondingcommandthroughthedigital

toanalogconversionandsinglechipprocessingandperipheralcircuitsexecute

correspondingaction,hypothesiswhentheultrasonicsensoretectsthatthe

distancebetweenthepeopleandthegarbagebinissmallerthanthesetdistance,

themotorrotatesatrashcanlidopensautomatically,iffullofphotoelectric

sensordetectiontothegarbagecan,thesystemwillhavethevoicepromptand

canbesprayeddisinfectantforthegarbageint

显示全部
相似文档