文档介绍:摘要
本设计为机动车超载检测系统的设计,要求能够判断机动车是否超载并且在超载时能够提供报警和显示超载的重量。本设计采用AT89C51单片机作为系统处理的核心,利用桥式称重传感器WPL110将机动车载重量转换成电压信号;然后通过放大电路将电压信号调理后送到A/D转换芯片TLC0838转换成数字信号并计算出载重量;所得的载重量将通过RS485接口电路送到上位机,上位机与设定的载重量作比较并判断是否超载,若超载显示超载的重量并报警。
关键字:AT89C51单片机;超载检测;称重传感器;A/D转换;显示;
Abstract
The design for the motor overload detection system design, requires to determine whether motor overloads and when overloads gives an alarm and displays the weight of design uses AT89C51 microcontroller as the core system processing, the use of a bridge load weighing sensor WPL110 changed motor weight into voltage signals; then the voltage signal via amplifier circuit and sent to A / D converter chip TLC0838 into digital signals and calculates the load; obtained through the RS485 interface circuit load to the puter, the puter and the seting load parison and to determine whether the overload, if overload shows the weight and gives an alarm.
Keyword: AT89C51microcontroller;Overloading detector;Weighing sensor;A / D converter;Show;
;
目录
摘要 I
ABSTRACT II
第一章绪论 1
1
(研究)内容 2
2
2
第二章系统总体结构方案设计 3
3
3
3
4
4
AVR系列 4
51系列 5
5
第三章系统的硬件设计 7
7
8
8
9
Op07芯片 11
TLC0838芯片 13
小结 15
16
17
18
RS-485的优点 18
MAX485芯片 19
20
MAX813L芯片 20
24C02芯片 23
24
电源模块 24
第四章软件设计 26
26
设计思想 26
资源分配 26
主程序流程图 26
27
设计思想 27
资源分配 28
参数恢复子程序流程图 28
30
设计思想 30
资源分配 30
看门狗中断子程序流程图 31
32
设计思想 32
资源分配 33
通讯子程序流程图 33
34
设计思想 34
资源分配 35
键盘子程序流程图 35
36
设计思想 36
资源分配 36
采集子程序流程图 37
38
设计思想 38
资源分配 38
显示子程序流程图 39
第五章总结 40