- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
地重力加速度的测量毕业论文
漳州师范学院
毕业论文(设计)
当地重力加速度的测量
Designed of The local gravity acceleration measurement
姓 名: 郑辉林
学 号: 080507235
系 别: 物理与电子信息工程系
专 业: 电子信息工程
年 级: 08 级
指导教师: 白炳良
2011 年 12 月 27 日
摘要
本文介绍了基于STC89C52RC单片机的测量当地的重力加速度的软、硬件设计方法。系统先取固定单摆的摆长1m,然后通过霍尔元件与小球中的磁铁的感应,以摆球偏离平衡位置5°的位置开始摆动,并以小球经过平衡位置时开始记录摆球经过平衡位置的次数和时间,待摆球经过平衡位置60次(也就是30个周期)的时候停止计时,再通过算法计算出当地的重力加速度;记录次数和时间都是通过中断的方法来实现,时间的计数通过定时器0中断,而次数是通过外部中断来实现;而且本系统还通过用液晶1602显示屏将经过平衡位置的次数C,所用的时间T,单摆的摆长L,重力加速度G显示出来;系统由单片机作为主控器,给出系统的基本原理、组成框图和软件流程,详细描述了霍尔元件的工作的原理,最后讲述了再软硬件调试中出现的问题,并给出了解决与改进的方法,使系统更完善。
关键词:重力加速度,单摆,周期,霍尔元件,液晶屏1602
Abstract
This paper introduces the STC89C52RC based on single chip microcomputer measurement of the local gravity acceleration design methods of software and hardware. System of a simple pendulum first take fixed long 1 m, and then through the hall element and the magnet ball induction, in order to put the ball from 5 ° balance position the position of the swinging began, and with small ball after balance position began to take place the ball after balance position number of times and the time, to put the ball through balance position 60 times (also is 30 cycle) stop the clock, again through the algorithm calculated the local gravity acceleration; Record number and time is through the interrupt way to implement, the count of time by timers 0 disrupted and the number is through the external interruption to the implementation; And the system also through liquid crystal display with 1602 through the number of balance position C, time used T, a simple pendulum long L, gravity acceleration G display; By single-chip microcomputer system as the main controller and the basic principle of the system is given, the components diagram and software flow chart, a detailed description of the principle of work of the hall element, finally about to software and hardware debugging problems, and gives the solutions to the improvem
文档评论(0)