I’m wondering if anyone has experienced this strange behavior: we have 3 arduino megas setup to communicate with max using the serial object component in max. Each mega is using 9 of its PWM pins to control 3 sets of RGB strip lights.
When we plug them in one at a time they work fine, the problem arises when we have all 3 plugged in at once: simply put, when we change the color of a single strip light, for example the first one on the first arduino, the other 2 arduinos are receiving this information as well and changing their color as well!
I have each of the arduinos setup in max using its respective port (a, b and c) and from what I understand about serial communication this means that each of them should not be aware of any of the other arduinos data.
Hardware wise each arduino and its lights are isolated from the other arduinos, so its not current leaking from one circuit over to the other…
At a loss and the professor I’m working on this for is leaving supposed to be taking it to Germany in a day or two if anyone has any ideas would love to hear them!
I guess your problem is the "v holding" object in the 3 subpatchers. If you send a list to one of them, all with the same name store the same list. Did you try to rename the second and third one with other names (f.e. "v holding2", "v holding3")?
– Pasted Max Patch, click to expand. –
Copy all of the following text. Then, in Max, select New From Clipboard.