Pages: [1]   Go Down
Author Topic: send serial from MAX MSP to arduino (SOFT)  (Read 893 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm new in the arduino world.

I'm trying to send data (int) from MAX MSP to the ARDUINO software, unfortunally i can't do it.

I'm using the serial object in max.

Can anybody PLEASE help me!? i need this!...

thank you.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can't send data? Or, you don't receive any data on the Arduino?

My crystal ball is at the cleaners.

I'd need to see some code to help.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

At this time i don't have any kind of code... i really don't know what to do.

sorry :-[
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I'm trying to send data (int) from MAX MSP to the ARDUINO software, unfortunally i can't do it.

I'm using the serial object in max.

Quote
At this time i don't have any kind of code... i really don't know what to do.

Rock <-- you --> Hard place
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 38
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try Maxuino.org
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have this:

int incomingByte = 0;

void setup() {
      Serial.begin(9600
}

void loop() {

      if (Serial.available() > 0) {
            incomingByte = Serial.read();

            Serial.print("I received: ");
            Serial.println(incomingByte, DEC);
      }
}

I used a slider (255 val) conected to the (serial a 9600) object in max msp.

the serial monitor window in arduino report this:

"serial port com1 not found."
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What port did you use to upload the sketch to the Arduino? It most likely was not COM1.

There can only be two devices on a serial port. If MAX is on one end, and the Arduino is on the other end, you can't have the Serial Monitor window open on the 3rd end.
Logged

Pages: [1]   Go Up
Jump to: