基于单片机的指南针设计本科毕业设计论文.doc

基于单片机的指南针设计本科毕业设计论文.doc

  1. 1、本文档共63页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
青岛理工大学琴岛学院本科毕业设计说明书(论文) 基于单片机的电子指南针设计 学  号: 20120272070 系  别: 机电工程系  专  业:电气工程及其自动化 PAGE \* MERGEFORMAT PAGE \* MERGEFORMAT I 摘 要 指南针是我国的四大发明之一,早期的指南针采用了磁化指针和方位盘的组合方式,这样的指南针携带起来很不方便,且指示灵敏度上有一定不足,准确性很差。本文通过对电子指南针基本工作原理的研究分析,采用磁阻(GMR)传感器采集某一方向磁场强度,然后通过MCU控制器对其进行处理并显示上传,达到了显示当前所指方向的目的。实际测试指南针模块精度达到1°,能够在LCD上显示当前方位,并能通过键盘控制上传数据到上位机。这样的指南针精度更高,更智能,在大大提高了精度的同时,也降低了成本和设计难度。 关键词:电子指南针;磁阻传感器;单片机;液晶显示器 PAGE \* MERGEFORMAT PAGE \* MERGEFORMAT II Abstract One of the Chinas four great inventions is a compass, early compass pointer and orientation using magnetic disk combination, it is not convenient to carry such a compass. and instructions to have insufficient sensitivity and accuracy is poor. This article through to the electronic compass basic on working principle of research and analysis, using magnetic resistance (GMR) sensors to collect a certain direction magnetic field intensity, and then through the MCU controller for the treatment and display the upload to display the current pointed direction of purpose. The actual test compass module, up to 1 ° accuracy, it can be displayed on LCD and the current position, and through the keyboard control upload data to the PC. Such a compass not only higher accuracy, more intelligent, greatly improving the accuracy, but also reduce the cost and difficulty of design. Key words:Electronic Compass; GMR; MCU; LCD 目录 TOC \o 1-2 \h \u /* T6963驱动库 */ #include DataBase.h #include PCF8583.h #include UART.h unsigned char GblCnt = 0; unsigned char T0IRQCNT = 0; unsigned char oldtempx, oldtempy; unsigned int Angle; unsigned char keyflag = 0; extern unsigned char COMBUF[10]; /* 定义接收缓冲区*/ unsigned char COMCNT=0; /*************************************** **函数名称:delay() **函数功能:软件延迟 **入口参数:延迟时间倍数 **出口参数:无 **具体资源:无 **调用程序:无 **备 注:延时不精确 ****************************************/ void delay(unsigned int time) { unsigned int i,j; for (i=0; itime; i++) { for (j=0; j1700; j++){;} } } /**********

文档评论(0)

weidameili + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档