- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
转速表计数器的设计制作
转速表计数器的设计制作
摘 要
本文论述了基于单片机的计数器功能来实现对主轴所感应信号的记忆,利用单片机的定时功能通过转换输出转速,根据转速计算出喷油次数,利用MAX232串行接口来实现单片机与微机间的数据通信的设计思想,并给出了相应的实现方法。
基于单片机的转速表计数器的设计制作主要是利用AT89C52单片机作为程序的载体,通过汇编语言来编制程序对所采集到的数据进行处理和存储,利用按键来实现对喷油次数的预置数功能,并选用24C02串行EEPROM芯片对喷油次数进行掉电存储,且串行EEPROM采用I2C总线形式,后又在此系统上附加了油温的测量功能,油温检测采用比较新型的DS18B20一线测温技术,通过数码管将转速、喷油次数和油温显示出来,操作简单,功能全面。
有时候单片机组成的电子设备可能要和计算机联机传输数据,因为在许多需要大量计算的应用中,还必须借助计算机的强大数据处理能力。这样必须通过通信电路实现单片机与计算机之间可靠的数据传输,而最简单的自动化联机方式就是使用串行通信。本设计采用单片机的异步收发器完成单片机和计算机之间的串行通信,外围电路为通过MAX232和计算机接口的电路,从而可以借助计算机的强大数据处理能力。
关键词:AT89C52,MAX232,单片机,通信,DS18 B20
The Design and Production of
Tachometer Counter
ABSTRACT
This article discusses the counter based on MCU function to achieve the right axis sensor signal by the memory, Timing MCU function by converting the output speed, speed calculated according to the number of fuel injection, realized data communication between the MCU and the microcomputer design thought using the MAX232 serial interface, and has produced the corresponding realization method.
Mainly is does based on the MCU of the design and production of tachometer counter using the AT89C52 for the procedure carrier, storage and handle to the gathers data through the compilation language, using the pressed key to realizes the pre-placed number function of the blow number of times, and selecting the 24C02 serial EEPROM chip to memory the blow number of times without electricity, also serial EEPROM uses the form of I2C main line, then the system imposed on the oil temperature measurement function, the examination of oil temperature uses DS18B20’s 1-wire temperature measure technology, the rotational speed, injection frequency and the oil temperature demonstrated through the digital tube, operation is simple, the function is comprehensive.
Sometimes electronic installation composed by the MCU transmission data possibly must on-line with the computer, because in many applications which needs massively to calculate, but also must with the help of the support from
文档评论(0)