欢迎来到天天文库
浏览记录
ID:11257005
大小:4.83 MB
页数:34页
时间:2018-07-11
《基于单片机的液位控制系统本科论文.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、徐州工程学院毕业设计(论文)摘要二十一世纪是高科技时代,科技正在发展,一些传统的测控方式也会随着科技的发展而改革更新。现代的工业、农业的生产中不仅要求液位控制系统更精准,更稳定,还要求其更新自动化程度快和性价比高。基于单片机的液位控制系统具有测量精准度高、性能稳定可靠、能量消耗低而使用寿命较长的特点,将科学与液位测量相结合,而达到合理调配资源,降低能源消耗的目的。超声波能在不同媒质中传播,且方向性强,传播距离远,消耗能量缓慢,碰到障碍物会产生反射,形成反射回波。所以超声波常常被用于测量距离。本设计采用超声波模块测量液面的高度,并把数据传送给AT89C51单片机。单片机处理数据信息后判断
2、是否开启水泵抽水来实现水位的基本控制功能。本系统由LCD1602显示器、键盘、传感器、电源和水泵组成。关键词:单片机;超声波;LCD1602;传感器II徐州工程学院毕业设计(论文)Abstract21stcenturyistheeraofhightechnology,technologyisbeingdeveloped,someofthetraditionalmeasureswillbeupdatedwiththedevelopmentandreformofscienceandtechnology.Modernindustryandagriculturerequiresnotonlya
3、moreintuitionandstableperformance,butalsofastupdateautomationandhighcost-effectivewiththecostinreducingproductionequipmentrequirements.Liquidlevelcontrolsystembasedonmicrocontrollerwithitshighcontrolaccuracy,reliableperformance,lowenergyconsumptionandlongworkinglifesettobeappliedtotheliquidlevel
4、systemcharacteristicsofthecontrol.Combinesciencewithliquidlevelmeasurementtoachieveareasonableallocationofresourcesandreducethepurposeofenergyconsumption.Ultrasonicpropagationindifferentmedia,andstrongdirection,transmissiondistance,slowenergy,obstacleswillproducereflectiontoformecho.Ultrasoundis
5、oftenusedtomeasuredistance.Thisdesignusesultrasonictomeasuretheheightofliquidlevel,thensentthedatatoAT89C51microcontroller.Microcontrollerdetermineswhethertoopenthepumpafterprocessingthedatafromultrasonicwavedistancemeasurementmoduletoachievethebasiclevelcontrol.ThesystemconsistsofLCD1602monitor
6、,keyboard,sensors,powersupplyandwaterpump.Keywords:AT89C51UltrasonicwaveLCD1602sensorII徐州工程学院毕业设计(论文)目录1绪论11.1选题的背景和意义11.2国内外发展形势11.3本系统主要完成的任务22系统硬件设计32.1系统硬件结构32.2AT89C51单片机模块32.3超声波测距模块52.3.1超声波简介52.3.2HC-SR04超声波传感器62.3.3HC-SR04超声波传感器测距原理72.3.4HC-SRO4超声波模块电路图82.4LCD1602显示模块82.4.1LCD1602显示器介绍8
7、2.4.21602LCD指令说明及其时序102.5电源模块112.6按键模块112.7报警模块122.8抽水系统模块132.9整体电路图133系统软件设计173.1系统工作原理173.2主程序流程图173.3超声波测距模块设计183.3按键模块设计203.4报警模块设计204软件制作与调试224.1软件制作224.2软件调试225硬件制作与调试245.1硬件制作245.2硬件调试2430徐州工程学院毕业设计(论文)总结28致谢29参考文献303
此文档下载收益归作者所有