Sections
You are here: Home Forum Max/MSP 2 make controllers with MAX

2 make controllers with MAX

Up to Max/MSP

2 make controllers with MAX

Posted by Michel Bavin at July 18. 2008

I recently ran into trouble when connecting 2 make controllers via network. Connecting just one goes fine, the board is shown in McHelper and can be given commands without problems. When the second board gets plugged in, there is no response from neither board anymore. Checked network settings, but no help.

Anyone using two controllers through a network connection?

And, should this problem be solved: how to "talk" to one of the boards separately (when both are connected) through OSC? The normal commands are something like "/motor/1/speed 512" ... so how to choose between board 1 or 2?

thanks!

Re: 2 make controllers with MAX

Posted by Lou Deluxe at July 18. 2008

The MAC address is generated using two bytes of the serial number.  I don't know whether the serial number is set to something unique out of the box, but it is settable via System_SetSerialNumber.  It also might be settable via mchelper, but I haven't used that, so I don't know.  In a pinch (ie: if it isn't), you could write a small app to just make the System_SetSerialNumber call.

If two devices on a network segment have the same MAC address, I would expect problems such as this.



Re: 2 make controllers with MAX

Posted by Hugobox at August 04. 2008

/And, should this problem be solved: how to "talk" to one of the boards separately (when both are connected) /through OSC? The normal commands are something like "/motor/1/speed 512" ... so how to choose between /board 1 or 2?


With the individually set IP adresses of the boards , you should be able to send different commands to any boards via the sendOSC object.

Re: 2 make controllers with MAX

Posted by Sergey Komarov at November 09. 2008
Is the easyest way to connect more MCK? And if I need more than 2 MCK, I can use ethernet-router? Maybe I can connect MCK in serial order one to another, and only one to computer? How-to? Thanks, and sorry for bad english)))

Re: 2 make controllers with MAX

Posted by Liam Staskawicz at November 09. 2008

You can connect as many as you like over Ethernet.  You just need to have enough available spots on your router.  Make sure each board has a different serial number (they should by default) and then you can check their addresses in mchelper.  Use the corresponding addresses with the udpsend object to get your messages to the desired board. 

Re: 2 make controllers with MAX

Posted by Sergey Komarov at November 09. 2008
Thanks for the reply, for this time I have only one MCK, only several days))) but it usefull information for calculate proto-projects
Powered by Ploneboard
Document Actions