1、 本 科 生 毕 业 设 计 毕业设计题目 可视倒车雷达设计 I 摘 要 设计了一个以 STC89C52 单片机为控制核心的测距控制器,能够利用超声波 传感器测量物体距离障碍物的距离,并能够通过串口传送给上位机,能够语音播 报提示信息;同时设计了一个基于 LabWindows 的上层监控软件,能够实时显示 距离值和视频图像。 首先介绍了控制器的硬件方案和软件方案,然后介绍了语音录放电路、超声 波检测电路和串口通信电路等硬件电路的设计过程;详细的介绍了下位机主程 序、超声波测距程序、语音播报程序、串口通信程序等的设计。简单介绍了利用 LabWindows 软件进行监控软件的前面板、图形化编程、摄
2、像头和串口通信 C 程 序的设计。并简单介绍了系统硬件和软件的调试过程。实验结果表明:设计的超 声波测距控制器能够准确测量,并能够和上位机实现通信。利用 LabWindows 设 计的监控界面具有显示直观、操作方便等优点,此外 LabWindows 具有丰富的库 函数,处理视频图像十分方便。 关键词:STC89C52 单片机、超声波测距、后视摄像、监控软件 II Abstract A single chip microcomputer as the control core with STC89C52 range controller is designed, to the use of ul
3、trasonic sensors measure object distance obstacle distance, and can be sent through the serial port to the host computer, can broadcast voice prompt information; while the design of a LabWindows based on the upper monitoring software, can display the distance values and the video image. First introd
4、uces the hardware scheme and software program, and then introduced the voice recording circuit, an ultrasonic detection circuit and the serial communication circuit and hardware circuit design process; introduced in detail the next-bit machine main program, ultrasonic ranging program, broadcast voic
5、e procedures, such as serial communication program design. Briefly introduced the use of LabWindows software monitoring software front panel, graphical programming, camera and serial communication C program design. And introduces the system hardware and software debugging process. The experimental r
6、esults show that : the design of ultrasonic ranging controller can be accurately measured, and can realize communication with computer. Using LabWindows to design the monitoring interface has the advantages of visual display, convenient operation and other advantages, also has a wealth of LabWindows library functions, video image processing is very convenient. Keywords:STC89C52 single chip microcomputer、ultrasonic distance measuring、Rear view camera、Monitoring Software III 目 录 摘 要 I Abstrac