...
首页> 外文期刊>Electrical Design News >μC makes effective frequency counter
【24h】

μC makes effective frequency counter

机译:μC成为有效的频率计数器

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Figure i shows an efficient and cost-effective frequency counter using an Atmel 89C2051 μC (Reference 1). The design can use any μC of the 8051 family. The circuit counts frequency and sends the count to a PC via the serial port. The signal connects to pin 3.4 of the μC. The TTL-compatible output of the μC drives the 1488, which converts the output to RS-232 voltage levels. The output of the 1488 connects to the RxD pin on the serial port of the PC. In this design, only unidirectional communication exists between the μC and the PC. But you can use the TxD line to control another device. The assembly routine in Listing 1 shows initialization of the timer, counter, and interrupts. The main program sets up T0 to count external pulses and T1 to count time in the autoreload mode 2 (Reference 2). The main program monitors the main-program flag, frqflg, until the flag is set.
机译:图i显示了使用Atmel 89C2051μC(参考文献1)的高效且经济高效的频率计数器。该设计可以使用8051系列的任何μC。电路对频率进行计数,然后通过串行端口将计数发送到PC。信号连接到μC的引脚3.4。 μC的TTL兼容输出驱动1488,它将输出转换为RS-232电压电平。 1488的输出连接到PC串行端口上的RxD引脚。在这种设计中,μC和PC之间仅存在单向通信。但是您可以使用TxD线来控制另一台设备。清单1中的汇编例程显示了计时器,计数器和中断的初始化。主程序在自动重载模式2(参考2)中设置T0以计数外部脉冲,并设置T1以计数时间。主程序监视主程序标志frqflg,直到该标志被置位。

著录项

  • 来源
    《Electrical Design News》 |2000年第24期|p.164. 166|共1页
  • 作者

    Fazal Pathan;

  • 作者单位

    Physical Research Laboratory, Ahmedabad, India;

  • 收录信息 美国《科学引文索引》(SCI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 一般性问题;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号