首页> 外文期刊>HardwareX >A novel analogue keyboard for embedded applications, based on integer division truncation
【24h】

A novel analogue keyboard for embedded applications, based on integer division truncation

机译:一种基于整数除法的嵌入式应用新型模拟键盘

获取原文
获取外文期刊封面目录资料

摘要

Modern micro-controllers are powerful control devices available in a range of packages with a variable number of input/output pins. Smaller microcontrollers, for example the Attiny45, have only six available pins for input/output but relatively powerful performance in terms of processing. However, it is often not possible to exploit the resources of such a microcontroller due to the limited number of pins available. Using an analogue keyboard only one pin of a microcontroller is required. In other analogue keyboards, each character or command corresponds to an analogue value produced on the nodes of a voltage divider composed of several resistors. The principle difference between the system proposed here and previous analogue keyboards is in the algorithm. Because no resistor has zero tolerance, the voltage drop across the voltage divider nodes in a standard analogue keyboard is never precisely as expected. Thus, in order to function correctly, the microcontroller must be programmed for such a system so as to recognise that each analogue value lies between two particular fixed values. In the proposed system, the discretisation is instead entrusted to an approximation from an integer division. Using the same approach, it is also possible to easily convert a standard potentiometer into a discrete switching device. This keyboard is not intended to replace a standard alphanumeric computer keyboard, rather it is an alternative for any case where a cheap, compact micro-controller based device requires control, particularly when a microcontroller has limited input/output pins. Lastly it can be implemented as an analogue rotating selector, and is adaptable because the number of selection steps/keys is set purely as a software parameter.
机译:现代微控制器是功能强大的控制设备,可提供多种包装,其中包含可变数量的输入/输出引脚。较小的微控制器,例如Attiny45,只有六个可用的引脚用于输入/输出,但在处理方面却具有相对强大的性能。但是,由于可用的引脚数量有限,通常无法利用这种微控制器的资源。使用模拟键盘仅需要微控制器的一个引脚。在其他模拟键盘中,每个字符或命令对应于在由多个电阻器组成的分压器的节点上产生的模拟值。这里提出的系统与以前的模拟键盘之间的原理差异在于算法。由于没有电阻具有零容差,因此标准模拟键盘中分压器节点上的电压降永远不会像预期的那样精确。因此,为了正确运行,必须为这种系统对微控制器进行编程,以识别每个模拟值都在两个特定的固定值之间。在建议的系统中,离散化被委托给整数除法的近似值。使用相同的方法,也可以轻松地将标准电位计转换为分立的开关设备。该键盘无意取代标准的字母数字计算机键盘,而是在任何需要廉价,紧凑的基于微控制器的设备进行控制的情况下的替代产品,尤其是在微控制器的输入/输出引脚数量有限的情况下。最后,它可以实现为模拟旋转选择器,并且具有适应性,因为选择步骤/键的数量纯粹是作为软件参数设置的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号