摘要枪械握把温度监测和存储模块主要用于测量轻武器在射击时握把的温度并存储温度数据,通过串口上传至上位机,以此作为新型武器研发过程中握把选材的依据。整个枪械握把温度监测和存储模块包括硬件电路和软件编程两大部分,硬件电路主要是以单片机AT89S52为核心、通过数字温度传感器DS18B20、时钟芯片DS12C887、存储芯片AT24C04、按键开关和串口转换芯片MAX233等电路完成对握把的温度数据进行采集、显示、存储和通信。61178
软件编程部分分为上位机和下位机编程。下位机采用Med Win软件开发平台,对系统各模块进行子程序设计,包括测温模块、时钟模块、串口通信模块、存储模块及按键模块以实现温度数据的监测与存储等各功能。上位机采用Lab Windows/CVI软件开发环境编写,人机界面友好。当温度采集完成之后,将五个位置所测得的温度数据通过串口RS-232上传到上位机,上位机把从单片机接收到的数据进行显示与存储。
毕业论文关键词:AT89S52、DS18B20、存储单元、RS-232串口、多点温度测量。
毕业设计说明书(论文)外文摘要
Title :Multipoint temperature monitor and memory module of gun’s grips design
Abstract Multipoint temperature monitor and memory of gun’s grips module is mainly designed for new weapons research and materials selection by measuring the temperature of the gun’s grips and save the temperature data . Data is communicated through a serial port RS-232 to PC . The whole module is made up of hardware circuit and software sub-systems .The hardware circuit is based on the signal chip AT89S52 , taking advantage of DS18B20 digital temperature sensors , real-time clock chip DS12C887,memory chip AT24C04, keys and serial-port communication chip MAX233 to implement function.
The software programming is constituted by two main parts :the host computer and the lower computer.The lower computer adopted the Med Win software development platform to design subroutines of each module , including temperature measurement module,the clock module ,the serial communication module, memory module , and buttons module to implement function.The host computer adopted CVI to get friendly human-computer interface.When the gathering of temperature data is done , data of the five points is communicated through a serial port RS232 to PC ,and the host computer receive ,display and save these data .
Keywords:MCU AT89S52、DS18B20、storage unit、serial port RS-232、multipoint temperature measurement .
1 绪论
1.1 课题研究背景及意义 1
1.2 国内外测温技术的发展 1
1.3 模块的总体设计思想 4
1.4 研究内容及论文结构 4
2 总体方案设计
2.1 枪械握把温度监测存储模块的功能要求 6
2.2 系统总体设计方框图 6
2.2.1 单片机 6
2.2.2 信号的获取电路 7
2.2.3 多点温度测量 7
2.2.4 数据存储 8
2.2.5 RS-232串口电路 8
2.2.6 日历时钟电路 8
2.2.7 复位电路