Forums > MaxMSP

Can arduinos receive osc messages from max?

Apr 16 2012 | 10:36 pm


Can arduinos receive osc messages from max?

I would like to control LED lights that are hooked up to an arduino from max through osc messages – is that possible?

Thanks for your help,

Apr 17 2012 | 4:05 am

Google says there are packages, therefore it must be true.

Just to move leds, osc may be a little overspecified – try midi

Apr 17 2012 | 8:18 am

Yes, you can do it, there are OSC libraries available for Arduino (check out Recotana’s) but for LED control I’d only bother if you want to use your Arduino on a network. If you are just USB connected then probably best use serial.

Apr 17 2012 | 10:34 am

If you have an ethernet connection between your arduino and your computer, you don’t have to use OSC, you can simply send datas over UDP (with mxj net.udp.send), as you would do over a serial connection.

Apr 17 2012 | 1:56 pm

If you did use OSC, you could control your LED’s from a tablet or anything else running OSC compatible software, but hey, that’s getting away from Max a bit and its probably simpler to just do what Patrick said.

Siska Adams UDP object also allows you to send serial data over UDP (the native Max udpsend object insists on an OSC format). Not sure if there is any speed difference?

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP