毕业论文-基于单片机控制的自动抽放水系统.doc
文本预览下载声明
摘 要
本设计主要要求实现的设计,经过比较,决定使用来实现测量。系统在分析可行性、可靠性的基础上,参照工程设计方法,确立了结构化设计的思路。设计了一套检测系统,该系统是一种基于AT89C52单片机的测距系统,它以传感器为接口部件,应用单片机技术测量。该系统主要由主控制器、、、显示和等五个构成。设计利用51单片机系统的I/O口,,经过放大和整形电路进入单片机,比较调试后确定其对应的。可实现米内,使用LD显示测量,当小于值时。
基于单片机控制的系统,,减少了人为计算给测距带来的误差,简化了外围接口电路,解决了生活中测距方面带来的不便。关键字:传感器;AT89C52单片机;LD显示单元;
Abstract
The water level control system has a wide application in various fields.With the development of single-chip microcontroller technology,the function of water level sensors has been improved greatly,not only improved the measurement accuracy,but also greatly expended the scope of application of automatic water level conctrolation.
The design of the main demands of the design of automatic water pump, after comparison, the decision to promote the use of float and pulley device to achieve the measurement of potential. System in the analysis of the feasibility and reliability, based on the reference to engineering design methods,the design establishs the thinking of the structure. Designed a water level detection system, which is based on AT89C52 SCM (single-chip microcontroller )water level ranging system, which the water level sensor interface components, the water level through different potential applications when measuring water level in single-chip technology. The system is mainly composed by five parts ,namely the main controller module, the water level detection module, signal processing module, display module and solenoid valve control module. 51 SCM (single-chip microcomputer) system design using the I / O interference, to accept and deal with the water level sensor input signal, after amplification and shaping circuitry into the microcontroller, after comparison testing to determine their corresponding level. Can be measured a range of 10 centimeters in water level, water level measurements using the LED display, when the water level is less than the lower limit when the solenoid valve open to add water, or when water level than the upper limit of the water sol
显示全部