I need some advice on how i can pass data from my Arduino Uno board, which is hooked up to a brainwave sensor into max
So far, Data is coming into a digital pin, a library takes the raw byte data from the brainwave chip, and turns it into a ASCII string of comma-separated values which can be seen in the serial port view when on 9600. (this all works perfectly, and the data is coming in separated perfectly each meaning a different parameter)
i need some kind of serial input port object which i can then unpack but after tinkering around im not really getting far..
If any one knows of any other projects where data is coming into max/msp from arduino in this manner i would greatly appreciate your help!
i have attached a photo of the incoming data (if that helps at all to know what i am trying to pass into max)
Based on the included jpg, you are using a Mindlex with the Arduino, right? If so, I’ve got the patch you need. The empty outlets in the unpack object are the comma values. I never got around to labeling the individual int boxes. However, they follow the order displayed in the Arduino window.
You’ll most likely need to change your serial port in the patch. Open the Arduino subpatcher, and modify the serial object’s argument.