Arduino analog input to Max 4.3?

Oct 31, 2008 at 3:50pm

Arduino analog input to Max 4.3?

Hi everyone,

I need to run some analog sensors (pots) through Arduino to MaxMSP 4.3. I don’t own anything between that and Max 5, and in order to run Max 5 on the ibook used in the installation (not mine) I’d need to upgrade it to Tiger. Right now everything works fine and dandy, with the patch auto-starting, and I kind of hate to mess with the system… plus it sounds as if a G3 500mHz iBook might not run well with Tiger. I’m also going to see if there’s any way I can get an authorization for 4.6 since I’ve upgraded to 5. However…

Is it possible to get Arduino analog information into Max 4.3?

Thanks!

#40587
Oct 31, 2008 at 4:04pm

the serial object is what you need. included in 4.3 (and earlier!)

On Fri, Oct 31, 2008 at 11:50 AM, Betsey Biggs wrote:
>
> Hi everyone,
>
> I need to run some analog sensors (pots) through Arduino to MaxMSP 4.3. I don’t own anything between that and Max 5, and in order to run Max 5 on the ibook used in the installation (not mine) I’d need to upgrade it to Tiger. Right now everything works fine and dandy, with the patch auto-starting, and I kind of hate to mess with the system… plus it sounds as if a G3 500mHz iBook might not run well with Tiger. I’m also going to see if there’s any way I can get an authorization for 4.6 since I’ve upgraded to 5. However…
>
> Is it possible to get Arduino analog information into Max 4.3?
>
> Thanks!
>

#143720
Oct 31, 2008 at 4:10pm

Thanks – can you be more specific? All of the patches I’ve seen use itoa in order to convert ACII information (I think). But itoa is not included in Max 4.3… however I have tap.itoa if that makes a difference.

Are there any example patches available to get me started? I’m not sure where to go from the serial help patch.

Thanks,
BB

#143721
Oct 31, 2008 at 4:18pm

On 31 oct. 08, at 16:50, Betsey Biggs wrote:

> Is it possible to get Arduino analog information into Max 4.3?

You only need the [serial] object, which is included in Max 4.3, so I
suppose it should work although I cannot test it myself: I trashed 4.3
since 4.5…

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max

#143722
Oct 31, 2008 at 4:47pm

On 31 oct. 08, at 17:10, Betsey Biggs wrote:

>
> Thanks – can you be more specific? All of the patches I’ve seen use
> itoa in order to convert ACII information (I think). But itoa is not
> included in Max 4.3… however I have tap.itoa if that makes a
> difference.

I think it doesnt make any difference. There is also the good old
[itoa] by Steve Allisson, still available somewhere on Ircam’s ftp : ftp://ftp.forumnet.ircam.fr/pub/max

> Are there any example patches available to get me started? I’m not
> sure where to go from the serial help patch.

maxuino may help you:

http://www.parasitaere-kapazitaeten.net/max_msp/pduino_for_max

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max

#143723
Oct 31, 2008 at 5:27pm

http://www.music.mcgill.ca/~gary/306/week5/serial.html#SECTION00023000000000000000

Though that’s for Max 4.6. Should still work on 4.3 though.

#143724

You must be logged in to reply to this topic.