计算机电子指南针设计.docVIP

  • 46
  • 1
  • 约3.12万字
  • 约 49页
  • 2017-09-14 发布于福建
  • 举报
S.K 东莞理工学院城市学院 本 科 毕 业 论 文 毕业论文题目: 电子指南针设计 学 生 姓 名: 学 号: 系 别: 计算机与信息科学系 专 业 班 级: 指导教师姓名及职称: 起 止 时 间: 2012 年 2 月— 2012 年 5 月 摘 要 随着科技发展,现代人愈发追求高效、快捷。传统的指南针所采用的是磁化指针和方位盘的组合方式,整个指南针系统从现实使用的角度上看,在指示灵敏度、便携性上都存在着一定的不足。而本次的设计采用专用的磁场传感器结合高速微控制器(MCU)的电子指南针能有效解决这些问题。 本文所设计的系统,通过采用磁阻(GMR)传感器采集某一方向磁场强度后,传送至MCU控制器对其数据进行处理并判断对应角度的结果,最后通过LCD显示屏显示出来。该系统通过实际测试,指南针模块精度达到1°,能够在LCD上显示当前方位角度。 关键词: 电子指南针 单片机 磁场传感器 ABSTRACT With the development of science and technology, modern people are chasing the convenience and efficiency. The traditional compass is the combination of the magnetized pointer and orientation, in terms of the practical use of the compass system, there are certain disadvantages in the instructions sensitivity and convenience. And this decide can solve these problems by the using the special design magnetic field sensor combined with high speed micro controller (MCU) electronic compass. The design of the system, will collect a certain direction of the magnetic intensity by using the magnetic resistance (GMR) sensors, transmit to the MCU controller which can deal with the data processing and judge the results of the corresponding Angle, and finally display it through the LCD screen. After the practical test, a compass module accuracy can reach 1 °, and display on the current position of the LCD screen. Keywords: Electronic compass MCU Magnetic sensors 目 录 1. 课题绪论 1 1.1. 课题背景 1 1.2. 课题目的 1 1.3. 课题的意义 2 1.4. 设计内容 2 2. 模块方案的选择 4 2.1. 方案一:PLC控制 4 2.2. 方案二:51系列单片机 4 3. 系统硬件设计 6 3.1. 系统设计原理 6 3.2. 系统总体结构 6 3.3. 模块电路设计 7 4. 系统软件设计 16 4.1. 系统主程序 16 4.2. 信号采集程序 16 4.3. 信号显示程序 18 4.4. 越境提示程序 19 5. 数据测试与结果分析 20 6. 总结 21 致谢 23 参考文献 24 附录 25 系统总电路 25 系统程序 26 实物图 37 电子指南针设计 课题绪论 课题背景 作为我国四大发明之一的指南针,古称“司南”。它代表着我国劳动人民在长期实践中对物体磁性认识的结果。由于生产劳动,人们了,开始了对磁性质的了解。人们首先发现了磁石引铁的性质。后来又发现了磁石的指向性。经过多方的实验和研究,终于发明了可以实用的指南针。 指南针的始祖大约出现在战国时期。只水勺,用天然磁石

文档评论(0)

1亿VIP精品文档

相关文档