...
首页> 外文期刊>Everyday practical electronics >Mastering rotary encoders - Part 2
【24h】

Mastering rotary encoders - Part 2

机译:精通旋转编码器-第2部分

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

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

       

摘要

IN the past few months there have been a couple of threads on the EPE Chat Zone relating to rotary encoders. Last month, Lincoln asked about a budget (65p from Alps) three-terminal rotary encoder to advance or retard counters in a PIC circuit. In his circuit, one of the encoder outputs interrupts the program and the interrupt then reads the other pin to see if the encoder has been turned forwards or backwards, which in turn raises an appropriate flag. He found that the counting was not always working the way he wanted; he tried software debouncing and adding capacitors, but felt that these solutions were not ideal. Lincoln also asked about the advantages of more expensive rotary encoders and if he needed to raise the clock speed of his PIC.
机译:在过去的几个月中,EPE Chat Zone上有一些与旋转编码器有关的线程。上个月,林肯(Lincoln)询问了一个预算(从阿尔卑斯山获得65p)三端旋转编码器,以增加或延迟PIC电路的计数器。在其电路中,一个编码器输出中断程序,然后该中断读取另一个引脚以查看编码器是正向还是反向,这反过来会引发一个适当的标志。他发现计数并不总是按他想要的方式进行。他尝试了软件去抖动和添加电容器的功能,但认为这些解决方案并不理想。林肯还询问了更昂贵的旋转编码器的优势,以及是否需要提高PIC的时钟速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号