- 17
- 0
- 约1.92万字
- 约 26页
- 2017-06-11 发布于北京
- 举报
基于单片机的TDS水质测试仪设计
王春
(陕理工物理与电信工程学院电子信息工程专业1103班,陕西 汉中,723000)
指导老师:秦伟
[摘要]本设计通过研究分析TDS(溶解性总固体)测量的原理,设计了一款以STC89C52单片机为核心的水质测试仪。本设计通过电导率测量电路实现电导率信号的采集,并采用温度传感器进行温度测量,使用温度补偿方法减小温度对电导率测量值的影响,通过单片机程序进行相关计算得出TDS值。该设计包括信号采集电路、按键电路、温度测量电路、数码管显示电路。该水质测试仪结构简单,操作容易,低成本,测量的TDS值对帮助人们了解水质情况起到了非常重要的作用。
[关键字]STC89C52,溶解性总固体,水质测试
The design of TDS water quality tester based on SCM
Wang Chun
(Grade03,Class11,Major Electronic Information Engineering,College of physics and engineering,Shaanxi University of Technology,Hanzhong 72300,Shaanxi)
Tutor:
[Abstract] This design studies the principle of Total Dissolved Solids (TDS) measurement.And it designs a water quality tester which takes STC89C52 Single Chip Microcomputer (SCM) as the core.The design collects the electrical conductivity signal by electrical conductivity measurement circuit .And it uses temperature sensor to measure temperature. And it reduces the influence of temperature on the electric conductivity measurement by using the temperature compensation method.And through the SCM program for correlation calculation to calculate the value of TDS.The design includes signal acquisition circuit, key circuit, temperature measurement circuit and digital tube display circuit.The water quality testing instrument has the advantages of simple structure, easy operation, low cost, which?play a very important role in helping people to understand the situation of water quality .?
[keywords]STC89C52, TDS, water quality testing
目录
引言 1
1设计内容与方案 2
1.1设计内容与要求 2
1.2方案论证 2
1.3方案选择 2
1.3.1单片机的选择 3
1.3.2温度传感器的选择 3
2系统硬件电路设计 4
2.1单片机最小系统 4
2.1.1单片机STC89C52简介 4
2.1.2单片机最小系统 4
2.2 TDS值测量电路 5
2.2.1 TDS值测量原理 5
2.2.2 TDS测量电路 6
2.3温度补偿原理与电路 8
2.3.1温度补偿原理 8
2.3.2温度测量电路 8
2.4数码管显示电路 9
2.4.1共阳极数码管工作原理 9
2.4.2数码管显示电路 10
2.5按键电路 10
2.6总体电路图 11
3系统软件设计 12
3.1软件设计的整体思想 12
3.2总流程图与各部分流程图 12
3.2.1总流程图 12
3.2.2 电导率测量 13
3.2.3 温度测量流程图 14
3.2.4 TDS测量流程图 15
3.2.5 按键电路流程图 16
3.2.6 数码管显示流程图 17
4软硬件调试 18
4.1 软件调试 18
4.2 硬件调试 18
结论 19
展望 20
致谢 21
参考文献 22
引言
水
您可能关注的文档
最近下载
- 2025《“混改”后的云南白药公司治理及效果分析》6700字.doc VIP
- 2025年山东理工职业学院单招《数学》检测卷(word)附答案详解.docx VIP
- 2025年山东理工职业学院单招《数学》考前冲刺练习【实用】附答案详解.docx VIP
- 新人教版九年级数学下册导学案全册.docx VIP
- (正式版)JJF(蒙) 082-2024 《旋转蒸发仪校准规范》.pdf VIP
- 国际脓毒症和脓毒性休克管理指南解读.ppt
- 七年级下册语文单元测试卷及解析.docx VIP
- 人工智能安全与伦理挑战.pptx VIP
- 2023年执业药师继续教育咽喉反流性疾病的诊治参考答案.docx VIP
- 2025年山东理工职业学院单招英语模拟试题(附答案解析) 完整版2025.pdf VIP
原创力文档

文档评论(0)