Communication between Maxuino and Multiple Arduino Boards
Hi All!
In our project we have to control 20 stepper motors. Each pair of stepper motors is connected to an Arduino Uno board, so in total 10 boards.
Our question is:
is it possible to communicate from the same Maxuino patch with multiple Arduino Boards connected each one to an USB port?
And:
if we want to have a wireless connection between the computer and the Arduino Boards, what can be the solution?
Thanks in advance to all!
Onde
I'm not familiar with Maxuino, but if you code it directly in Max you can easily setup multiple serial ports with the serial object. If what you want to do is just send values to the servos you could do it quite easily in Max without Maxuino/Firmata...
If you want a wireless connection there are several options depending on your budget, you have wifi shields for arduino, zigbee, bluetooth...
Hi Nat,
We want to spend as little as possible, for the wireless.
We need a maximum distance of 20 meters, and we like hang/make things.
The only data that we need to send are for the stepper motors at a rate of 20ms maximum.
If we can't use firmata what could we use?
max2arduino?
or Javascript?
or ………
Thanks
Onde
What is the resolution of your stepper motor ? 0-255 ?
I don't know, for now we use a rudimental method without 0-255 "limit".
this stupid sequence go inside the [ maxuino a maxuino-gui-pattr.json 3500 ] directly.
and the stepper motors works fine.
We tested it with 2 arduinos via usb
We saw that we can manage two arduinos, 1 arduino uno r3 + 1 arduino due simultanusly without problems, each arduino has 2 stepper motors and with a Low cpu consumption but using the USB cables.
Serve something that work exactly as if they were attached via usb, also using bluetooth systems.
something like that I supposed
10 Maxuino -> Wireless-Bluetooth-Transceiver-Module-RS232-TTL-X2PCS -> arduino with Firmata
Someone has experience on the use of these bluetooth devices?
Thanks
Onde
Hi Onde,
I'm working on a project with same needs. Did you solve it ?
Thanks
i am playing with BT modules and max 7
mac os yosemite
bt is not working as reliable as plain usb connection.
I have not tested my xbees yet but I have the feeling that does work well.
Hi Balam, do you use Maxuino or just Max ? how many arduinos in your network ? what are they control ? Thx.