Integration with Arduino

Learn about building and using Max for Live devices.
Post Reply
penguinpajamas
Posts: 160
Joined: Sat Mar 31, 2012 11:43 pm

Integration with Arduino

Post by penguinpajamas » Tue Jul 29, 2014 11:09 pm

Hey guys! So I've been working with both the Arduino micro controller as well as Max for Live quite a bit lately, however currently unable to bridge the gap between the two at all. I'm itching to be able to do this, as I can't stop thinking of the possibilities this allows.

I've messed around with maxuino but it was very buggy for me. I could swear everything but only certain features would work.

Are there any ways of sending data from the Arduino to Max for Live or vice-versa that anyone would care to share or point me in the direction of. It would be HIGHLY appreciated.

-Charlie

ansolas
Posts: 379
Joined: Wed Feb 27, 2013 11:01 pm
Location: Earth ~ Europe ~ Germany ~ Cuxheaven

Re: Integration with Arduino

Post by ansolas » Sat Aug 23, 2014 12:32 pm

I am also interested in using my arduino with live

chapelier fou
Posts: 6357
Joined: Mon May 15, 2006 12:15 pm

Re: Integration with Arduino

Post by chapelier fou » Sat Aug 23, 2014 1:17 pm

Not a specialist, but according to my experience, i would advice :

make a stand alone max patch using the serial communication. send it with udpsend. catch the messages with udpreceive with m4l.
It looks unsexy i know but should be easy and fast.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

gavspav
Posts: 342
Joined: Tue Jul 12, 2005 12:43 am

Re: Integration with Arduino

Post by gavspav » Sun Aug 24, 2014 2:50 pm

You don't really need a standalone max patch and network sends.

Just use the serial object in Max4Live.

Serial.print(data); to get data from Arduino to M4L and bang the serial object.

Feed data into the serial object to get data into the Arduino.

Remember to get the port and baud settings correct.

clement.m
Posts: 39
Joined: Mon Mar 11, 2013 8:40 am
Location: Brussels

Re: Integration with Arduino

Post by clement.m » Mon Aug 25, 2014 7:17 am

I remember, when I was starting to use Arduino, I found a few m4l devices but it was never a big success, probably due to my lack of knowledge on both.
All I can say is that now that I have experience with Arduino, I do as much as I can inside of it to get a stand-alone device and avoid some additional work for the computer.
MacMini i7 2,3GHz 16GB RAM - 10.10.5 - Suite 9.6 - http://clementmarion.be

chapelier fou
Posts: 6357
Joined: Mon May 15, 2006 12:15 pm

Re: Integration with Arduino

Post by chapelier fou » Mon Mar 23, 2015 1:43 pm

I've been toying a little with maxuino and i must say, after taking the time to understand it better, it's working great.
I don't use the maxuino.amxd as i find it resrictive and i hate the GUI approach. But just dropping a maxuino regular patcher in your M4L device works well.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

Post Reply