<< return to Pixycam.com

Pixy into Max/MSP or PD

Hi everyone,

I have my Pixy up and running. Had a lot of fun with the Pan/Tilt Demo!

I am hoping someone here can help me out with my next test, sending data into Max/MSP. I am not sure of the best approach. Can the Pixy talk direct to Max via the serial object, or should I use Arduino? I was able to run the Arduino demo, and receive the serial data, but I am unsure how to send the Pixy data from Arduino into max (i tried Maxduino and Arduino2Max).

Any help/advise/or pushes in the right direction would be greatly appreciated!

Thanks,
Tohm

Hi Tohm,

What kind of device do you have running Max?

I’m not familiar with Max/MSP, but I can tell you that the device that Pixy communicates with needs to understand its protocol. We’ve written a library for Arduino to handle this communication (found “here”:https://github.com/charmedlabs/pixy/tree/master/arduino/libraries/Pixy). You can use this source code as a reference for porting the protocol to other languages/devices.

Hope this helps.

Scott

Hi Scott,

Thanks for the reply.

Max/MSP is a visual programming application for interactive music and video. It is a commercial/more refined version of the open source PureData. Infos for Max at cycling74.com and PureData at puredata.info. Both programs can receive serial, MIDI, and OSC data.

I was checking out this thread (http://www.cmucam.org/boards/9/topics/3305) and it seems like I can connect directly into the cpu via USB, I thought, but I am probably off now that I re-look at it. I got the Arduino code working, but I was rather hoping I could go direct.

I’ll dig deeper into the Arduino code :slight_smile:

Thanks again, this pixy has a LOT of potential for interactive installations!
Cheers,
Tohm