摘要:温度是一个很重要的物理参数,是表征物体冷热程度的物理量,在工程和科学研究的很多场合中都需要测量温度。利用高性能嵌入式ARM的Cortex-M3内核微控制器芯片STM32设计多通道测温系统,并给出了硬件设计的原理框图。重点阐述了温度采集端、报警电路和上下位机通信部分,并进行了相关软件的设计。由于DSl8B20和STM32芯片内部集成度比较高,从而简化了硬件结构。系统带有RS232串行口与远程上位机进行通信,实现远程上位计算机数据实时监控的需要。该系统具有扩展方便、可靠性高、配置简单和成本低等特点。经工业现场实际应用,该测量系统各项技术指标均达到了设计要求。52051

毕业论文关键词:多通道测温,DSl8B20,STM32,串口通信

Abstract:Temperature is a very important physical parameter ,and it is the physical objects and degree in engineering  and scientific research in many occasions to measuring temperature .A method of designing multi-point thermometer is introduced in the paper, which is based on embedded and high performance Cortex-M3 micro-controller STM32.The hardware circuit of temperature capture terminal , alarm circuit ,upper and lower machine communication part are presented and the related software is designed Since DSl8B20 and STM32 micro controller is highly integrated,the hardware structure of the thermometer is simplified .System with a RS232 serial port is used to communicate with the remote host computer ,this part can realize the needs of remote host computer data real-time monitoring .It is convenient to extend and is outstandingly reliable, simple in con—figuration and low cost. The practical application of industrial field, the technical indicators of this measuring system have reached the design requirements.Keywords:multi-channel temperature measuring, DS18B20, STM32, machine communication 

 目   录

1 绪论 4

1.1选题背景 4

1.2系统框架图 4

2 硬件设计 5

2.1 ARM芯片选择 5

2.2温度采集端 5

2.2.1DS18B20的优势 6

2.2.2DS18B20的使用场所 6

2.2.3温度采集端电路图 6

2.3液晶屏选择 7

2.4报警电路 8

2.6矩阵键盘 9

3.1主程序流程图 11

3.2 初始化程序 12

3.2.1时钟配置的步骤 12

3.2.2端口的配置 13

3.3中断程序 13

3.4矩阵键盘扫描程序设计 14

3.5 DS18B20程序设计 15

3.5.1 复位程序设计 16

3.5.2等待程序设计 16

3.5.3 读取一位程序设计 17

3.5.4 读取一字节程序设计 17

3.5.5 写一字节程序设计 18

3.5.6 温度开启程序设计 19

3.5.7 温度转换程序设计 19

3.6串口通信程序: 20

3.6.1 STM32的USART

上一篇:AT89S52单片机数显电子秤的设计+PCB电路图+源程序
下一篇:PID气相色谱仪控制系统设计

基于Kinect手势识别的遥操...

基于51单片机自动门智能控制系统设计

STM32的4G太阳能电站监控系统设计+PCB电路图

基于TI-DSP平台的电力电子测控平台设计

基于传感器网络的分布式集员滤波问题的研究

STM32单片机的无刷直流电机控制系统设计

基于飞思卡尔芯片LED色彩控制器的设计

《水浒传》中血腥暴力研...

提高小學语文課堂朗读教...

浅析施工企业保理融资成...

大规模MIMO系统的发展研究现状

PCI+PID算法直流力矩电机速...

高效课堂教师问卷调查表

从企业eHR建设谈管理信息...

小型通用机器人控制系统设计任务书

MNL模型历史城区居民活动...

遥感土地用变化监测国内外研究现状