单片机课程设计 - 图文(2)

2019-08-20 19:28

摘要:本设计以STM32F030C8T6和TM4C123GH6PM单片机为控制单元,采用Dallas单线数字温度传感器DS18B20和无线收发模块NRF24L01对试验现场温度数据进行远程无线测量与控制。整个系统包括主、从两个子系统,其中主系统完成对试验现场设定值显示、实际值显示和接收数据功能;子系统完成温度采集、设定温度值、温度控制、显示温度、失控报警和发送数据功能。该系统结构简单实用、功能齐全,通用性强,可被应用于许多工业生产领域。

关键词:

ARM单片机;

i

温度采集系统;无线收发;温度传感器;

Abstract: This system STM32F030C8T6 and TM4C123GH6PM microcontroller for the control unit, the use of single-wire digital temperature sensor Dallas DS18B20 and wireless transceiver module NRF24L01 test site temperature data for remote wireless measurement and control. The system includes the main, from two subsystems, wherein the master system to complete the test site set value is displayed, the actual value display and receive data capabilities; complete subsystem temperature acquisition, set temperature, temperature control, temperature display, alarms and out of control functions to send data. The system is simple and practical, functional and versatile, can be applied to many spheres of industry.

Keywords: temperature acquisition system; wireless transceiver; a temperature sensor; ARM microcontroller;

ii

iii

目录

引言................................................................................................................................................... 1 1 综述............................................................................................................................................... 3

1.1项目设计的内容 ................................................................................................................ 3 1.2设计要求 ............................................................................................................................ 3 1.3系统基本方案选择 ............................................................................................................ 3

1.3.1单片机选择 ............................................................................................................ 3 1.3.2 温度传感器的选择与论证 ................................................................................... 4 1.3.3 无线收发模块的选择与论证 ............................................................................... 4 1.3.4 显示模块的选择与论证 ..................................................................................... 5 1.3.5 报警模块的选择与论证 ..................................................................................... 5 1.3.6 电路设计方案的最终确定 ................................................................................. 5

2系统硬件的设计与实现 ................................................................................................................ 6

2.1 接收机硬件设计 ............................................................................................................. 6

2.1.1 TM4C123GH6PM最小系统 ...................................................................................... 6 2.1.2 无线接收模块 ..................................................................................................... 8 2.1.3 LCD1602液晶显示器 ........................................................................................ 10 2.2 从机硬件电路设计 ....................................................................................................... 11

2.2.1 单片机STM32F030C8T6 .................................................................................... 11 2.2.2 温度传感器DS18B20 ........................................................................................ 13 2.2.3 数码管显示电路 ............................................................................................... 16 2.2.4 按键原理图 ....................................................................................................... 17 2.2.5 蜂鸣器原理图 ................................................................................................. 17

3接收机程序设计框架 .................................................................................................................. 19 4 从机程序设计框架 ................................................................................................................... 20 5 实物制作 ................................................................................................................................... 21 结束语............................................................................................................................................. 24

iii


单片机课程设计 - 图文(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:两票实施细则

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: