挂钩许多输入Arduino的 [英] Hooking up many inputs to Arduino
问题描述
我需要帮助建立一个系统,我的Arduino和挂钩〜90的投入到它。这里是我预想的系统:
I need help setting up a system with my Arduino and hooking up ~ 90 inputs to it. Here is the system I am envisioning:
-
在Arduino是迷上了变化/钱插入机器(如在自动售货机焦支付)。
The Arduino is hooked up to a change/money insertion machine (like paying for a coke at a vending machine).
当顾客插入的资金适量,他们可以选择他们想要激活(如自动售货机上选择不同的糖果)的设备。将有大约〜90的选择。
When the customer inserts the appropriate amount of money, they can choose which machine they want to activate (like choosing different candy bars on a vending machine). There will be about ~90 choices.
我想阿尔杜伊诺借此输入,并能够用信号通知任何个别机出来的90机器来激活一些过程中,个别机。
I want the Arduino to take this input and be able to signal to any individual machine out of the 90 machines to activate some process in that individual machine.
如何系统目前工作原理是,每台机器都有,在每台机器单独激活过程中自有资金插入机制。我想创建一个集中支付制度,它知道每台机器。
How the system currently works is that each individual machine has its own money insertion mechanism that activates the process individually at each machine. I want to create a centralized payment system that knows about each individual machine.
我的问题有以下几点:
-
是否有可能钩了90投入的Arduino再到个人信息发送到每个90投入?
(我的研究已经使我移位寄存器,但它似乎不太可能能90个人的输入端连接到Arduino这种方式。
Is it possible to hook up 90 inputs the Arduino and then to send individual messages to each of the 90 inputs? (My research had lead me to a shift register, but it seems unlikely to be able to connect 90 individual inputs to the Arduino this way.
有没有连接到Arduino可以接受的钱作为变革的一部分?
Is there a part that connects to the Arduino that can accept money as change?
推荐答案
有多路复用器,您可以将您的Arduino连接,从而增加其容量输入:
Arduino的游乐场复用器教程
There are multiplexers that you can connect your arduino to, which increase its capacity for inputs: Arduino Playground Multiplexer Tutorial
Sparkfun有 prebuilt屏蔽它封装复用器IC,但只给你48个输入。
Sparkfun has a prebuilt shield which encapsulates the multiplexer IC, but it only gives you 48 inputs.
至于采取硬币,设备称为硬币接收可以找到。有许多供应商,其中包括 Sparkfun 。
As for taking coins, a device called a coin acceptor can be found. There are a number of suppliers, including Sparkfun.
有可能的方式可以减少所需的输入和/或输出。例如,你需要90按钮,或者你可以使用一个10键键盘,并给予每个项目两位数code?
There may be ways you can reduce the necessary inputs and/or outputs. For example, do you need 90 buttons, or could you use a 10 key pad, and give each item a two digit code?
这篇关于挂钩许多输入Arduino的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!