基于单片机的超声波测距仪的设计

基于单片机的超声波测距仪的设计

ID:8322561

大小:490.00 KB

页数:57页

时间:2018-03-19

基于单片机的超声波测距仪的设计_第1页
基于单片机的超声波测距仪的设计_第2页
基于单片机的超声波测距仪的设计_第3页
基于单片机的超声波测距仪的设计_第4页
基于单片机的超声波测距仪的设计_第5页
资源描述:

《基于单片机的超声波测距仪的设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、湖南人文科技学院毕业论文学科分类号:___________湖南人文科技学院本科生毕业设计题目:超声波测距器的设计学生姓名:学号系部:通信与控制工程系专业年级:电信08级2班指导教师:职称:副教授湖南人文科技学院教务处制湖南人文科技学院毕业论文摘要本设计是以单片机技术为基础,实现的对前方物体距离测量。使用超生波传感器对前方物体进行感应,经过单片机中的程序对超声波传感器发射和接收的超声波信号进行分析和计算处理,最后将处理结果在LED数码管上显示。本设计使用的STC89C52单片机的超声波测距系统,是根据超声波在空气中传播反射原理,把超声波传感器作为接口部件,利用超声波

2、在空气中传播的时间差来测量距离,设计了一套超声波检测系统。该系统主要分为主控制器模块、超声波发射模块、超声波接收模块和显示模块等四个基本模块构成,用接收部分接收超声波。本设计利用两个中断,在发射信号时,打开定时器中断0和外部中断0使定时器计时,接收到发射超声波信号时,外部中断0关闭中断,这时定时器中断0计录的时间就为超声波传播经过测距仪到前方物体的来回时间。利用公式S=T×V/2(V为超生波传播速度,本设计设定值340m/s),单片机把处理的距离值S并且通过八段LED显示出来。关键词:超声波;测距;单片机湖南人文科技学院毕业论文AbstractThedesigni

3、sbasedonmicroprocessortechnologytoachievetherightmeasurementofthefrontobjectdistance.transmissiondistanceisfarinmedium.useofultrasoundsensorsonthefrontinductionobjects,SCMlogicanalysisandcalculatethroughtheproceduresofultrasonicsensorstransmittingandreceivingultrasonicsignals,Finally,

4、afterprocessingthedataisinthedigitalLEDtube.UltrasonicRangingSystemBasedonAT89C51,Theultrasonicsystembasedontheair-bornereflectionprinciple,ultrasonicsensorsareinterfacecomponents,usedthetimegapultrasonicwavetransmitintheairtomeasuredistancewithapplicationofSCMtechnology,beabletodesig

5、nasetofultrasonicdetectionsystem.acontrollermoduledesign,ultrasonictransmittermoduledesign,ultrasonicreceiveranddisplaymodule4moduleisThesystemdesignwork.Paperspresentedthedesignthroughultrasonicsensor(non-contactmeasurement)measurementultrasonicsensorsarefatRadioemissionofultrasonic,

6、withsomereceivingultrasonicreceiver.Theuseoftwodesigninterruptionwhenthesignalislaunchedopentimerandexternalinterrupt0sothatthetimerinterruptiontime,Whenreceivingultrasonicsignalstothelaunch,theexternalinterrupt0closedinterruptionAtthistimethetimerinterrupt0Totalrecordedthetimeistheul

7、trasonicwavetransmissionjourneybetweentheultrasonictelemeterandthefrontobjects.UseformulaS=T×V(Vistheultrasonicwave’svelocity,Thedesignsettings340m/s)microprocessordisposethedistancevaluedisplayedontheLED.Keywords:singlechipmicrocomputer;ultrasoundsensor湖南人文科技学院毕业论文目录第一章绪论IV1.1课题设计目的及

8、意义IV1

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。