基于单片机的液位控制系统_毕业设计
摘要
二十一世纪是高科技时代,科技正在发展,一些传统的测控方式也会随着科技的发展而改革更新。现代的工业、农业的生产中不仅要求液位控制系统更精准,更稳定,还要求其更新自动化程度快和性价比高。基于单片机的液位控制系统具有测量精准度高、性能稳定可靠、能量消耗低而使用寿命较长的特点,将科学与液位测量相结合,而达到合理调配资源,降低能源消耗的目的。
超声波能在不同媒质中传播,且方向性强,传播距离远,消耗能量缓慢,碰到障碍物会产生反射,形成反射回波。所以超声波常常被用于测量距离。本设计采用超声波模块测量液面的高度,并把数据传送给AT89C51单片机。单片机处理数据信息后判断是否开启水泵抽水来实现水位的基本控制功能。本系统由LCD1602显示器、键盘、传感器、电源和水泵组成。
关键词:单片机;超声波;LCD1602;传感器
Abstract
21st century is the era of high technology, technology is being developed, some of the traditional measures will be updated with the development and reform of science and technology. Modern industry and agriculture requires not only a more intuition and stable performance, but also fast update automation and high cost-effective with the cost in reducing production equipment requirements. Liquid level control system based on microcontroller with its high control accuracy, reliable performance, low energy consumption and long working life set to be applied to the liquid level system characteristics of the control. Combine science with liquid level measurement to achieve a reasonable allocation of resources and reduce the purpose of energy consumption.
Ultrasonic propagation in different media, and strong direction, transmission distance, slow energy, obstacles will produce reflection to form echo. Ultrasound is often used to measure distance. This design uses ultrasonic to measure the height of liquid level, then sent the data to AT89C51 microcontroller. Microcontroller determines whether to open the pump after processing the data from ultrasonic wave distance measurement module to achieve the basic level control. The system consists of LCD1602 monitor, keyboard, sensors, power supply and water pump.
Keywords: AT89C51 Ultrasonic wave LCD1602 sensor
目 录
1 绪论 1
1.1选题的背景和意义 1
1.2国内外发展形势 1
1.3本系统主要完成的任务 2
2 系统硬件设计 3
2.1 系统硬件结构 3
2.2 AT89C51单片机模块 3
2.3 超声波测距模块 5
2.3.1超声波简介 5
2.3.2 HC-SR04超声波传感器 6
2.3.3 HC-SR04超声波传感器测距原理 7
2.3.4 HC-SRO4超声波模块电路图 8
2.4 LCD1602显示模块 8
2.4.1 LCD1602显示器介绍 8
2.4.2 1602LCD指令说明及其
您可能关注的文档
- 基于单片机的电动轮椅用手柄控制器设计电子信息工程单片机课程设计_毕业设计.doc
- 基于单片机的电子密码锁设计_毕业设计.doc
- 基于单片机的电机转速测量系统设计通信工程本科_毕业设计.doc
- 基于单片机的电子密码锁设计报告单片机原理及应用课程设计报告_毕业设计.doc
- 基于单片机的定时打铃设计_毕业设计.doc
- 基于单片机的电子天平的设计_毕业设计.doc
- 基于单片机的多参数气动参数测试系统的设计_毕业论文.doc
- 基于单片机的多点采集系统设计_毕业论文.doc
- 基于单片机的多功能充电器设计_毕业设计.doc
- 基于单片机的多功能智能台灯测控技术与仪器_毕业论文.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)