单片机温度计人工智能时钟温度计.docVIP

  • 5
  • 0
  • 约2.46万字
  • 约 41页
  • 2018-02-28 发布于贵州
  • 举报
单片机温度计人工智能时钟温度计

XXXXX大学物电学院 单片机课程设计报告 课 程 名 称: 单片机课程实训 题 目: 人工智能时钟温度计 专 业 班 级: 学 生 姓 名: 学 生 学 号: 日 期: 指 导 教 师:   目 录 摘 要 III Abstract III 1 课题背景 1 1.1 系统设计 1 1.2 总体方框图 1 1.3 基本要求 1 2 设计方案简述 2 2.1 DS18B20数字温度传感器 2 2.1.1 DS18B20的性能特点 2 2.1.2 DS18B20的管脚分布 2 2.1.3 DS18B20的内部结构和工作方式 3 2.2飞思卡尔单片机 5 2.3 1602型LCD 6 2.3.1 1602型LCD的特性 6 2.3.2 1602型LCD的操作控制 6 3 详细设计 7 3.1 温度采集模块 7 3.2 单片机控制系统 7 3.3 温度和时间显示模块 8 3.4 软件设计 8 3.4.1 DS18B20的温度采集程序 9 3.4.2 系统主程序 13 4 设计结果及分析 15 4.1 测试环境及工具 15 4.2 测试方法和测试结果 15 5 总结 16 参考文献 17 附录一 系统总电路图 18 附录二 系统源代码 18 摘 要 传统温度计通常利用热胀冷缩现象为设计的依据,因此这种方法无论从设计原理还是视觉读数都有很大的误差。本次课程设计以DS18B20作为数字温度传感器,其具有线性优良、读取方便、性能稳定、灵敏度高、抗干扰能力强、使用方便等优点,可以大大提高测量温度的精度,使用飞思卡尔MC9S08QG8单片机控制,布线紧凑,能够满足各项测温需求。在测量温度的同时,还能显示时间,为温度的数字化存储、监测、传输、处理奠定了很好的基础。设计小巧,携带方便,并可以应用于冰箱、空调器等日常生活中温度的测量和控制。 关键词:温度计;DS18B20;MC9S08QG8 Abstract Traditional thermometer usual use expand with heat and contract with cold phenomenon for design basis, therefore this method regardless of all has the very big error from the principle of design or the visible reading. This curriculum designs by DS18B20 took the digital temperature sensor, it has the linearity finely, the read convenient, the performance stable, the high sensitivity, a merits and so on easy to operate, may enhance the survey temperature greatly the precision, the use Freescale MC9S08QG8 monolithic integrated circuit design, the wiring is compact, can meet each temperature measurement need. During survey temperature, but also can demonstrate the time, was the temperature digitization saves, the monitor, the transmission, processing has laid the very good foundation. Designs exquisitely, the carry home is convenient, and may apply in the refrigerator, the air-conditioner and so on in the daily life the temperature survey and the control. Keywords: Thermometer; DS18B20; MC9S08QG8

文档评论(0)

1亿VIP精品文档

相关文档