Pages: [1]   Go Down
Author Topic: Serial Port already in Use  (Read 592 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Hi

I've been trying to get max to send data to arduino using the simple 'dimmer' example. However, I keep getting the following error:
Serial port '/dev/cu.Bluetooth-Modem' already in use. Try quitting any programs that may be using it.

Below is the arduino window:

Binary sketch size: 2,850 bytes (of a 32,256 byte maximum)
processing.app.SerialException: Serial port '/dev/cu.Bluetooth-Modem' already in use. Try quiting any programs that may be using it.
   at processing.app.Serial.<init>(Serial.java:171)
   at processing.app.Serial.<init>(Serial.java:77)
   at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:77)
   at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
   at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
   at processing.app.Sketch.upload(Sketch.java:1671)
   at processing.app.Sketch.exportApplet(Sketch.java:1627)
   at processing.app.Sketch.exportApplet(Sketch.java:1599)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
   at java.lang.Thread.run(Thread.java:695)
processing.app.debug.RunnerException: Serial port '/dev/cu.Bluetooth-Modem' already in use. Try quiting any programs that may be using it.
   at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:101)
   at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
   at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
   at processing.app.Sketch.upload(Sketch.java:1671)
   at processing.app.Sketch.exportApplet(Sketch.java:1627)
   at processing.app.Sketch.exportApplet(Sketch.java:1599)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
   at java.lang.Thread.run(Thread.java:695)

I thought that max/msp and arduino have to be on the same port to be able to communicate? Anyone know how to correct this error or what I'm doing wrong?

Any advice would be appreciated..
Logged

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

Quote
I thought that max/msp and arduino have to be on the same port to be able to communicate?
They do. Your issue appears to involve bluetooth. That's a horse of a different color. Get rid of the bluetooth crap, and see if the problem goes away.
Logged

Pages: [1]   Go Up
Jump to: