communication to multiple arduinos using multiple serial connections issue
Hey all,
im quite new to max msp and programming in general, im making a arduino --> max --> ableton rigg for one of my installations and got stuck at a certain moment.
im sending serial info from max msp to arduino to be able to control something, super simple and this works, but now i need 3 more arduinos to control other things, and i want to do it from the same max patch.
this is my patch (see image)
somehow it doesn't want to write to serial g 9600. it doesn't even give the write 1 indication. it does on F but when i add another line like this it will only communicate on F.

Hope its something simple that im am just overlooking.
All the best,
Maarten
You need to make sure which arduino to address by using usb hub
and arduinos allways pluged in same order, to start with.
Then print the port numbers to get the port abbreviations.
-------
But to that screenshot - are you really sending float numbers to serial like that ?
And are you sure you need 3 arduinos ?
2560 would offer a lot of outputs
Thanks!
i dont really know how else to do it. the decision of the multiple arduinos though came from that i machines im operating with them have to be able to respond really fast in and in synch, i thought having one arduino might cause problems with that since it reading line for line. also couldnt figure out and got adviced to use multiple arduinos since im using digital potential meters, and they apparently multiple can not work on one arduino.
i could be completely mistaken in all of it though and would love to hear your thoughts on it. also having problems finding any documentation or reverences on how to now control my max patch with ableton. i can only find it the other way around. any thoughts?
Could you post a layout of all envolved devices ?
Like all sensor inputs, or controller outputs, and
what gets controlled from where ?
You say different machines that need to be in sync,
do you mean several computers, or some other hardware devices ?
Max or ableton ?
What should be the difference ?
Are you trying to run both software in parallel, or to port max patch
into Live as max4live device ?
There are so many questions to be answered, otherwise I can't
make any suggestions.
P.S. and which digital pots do you use.