first of all, let me cheer all of you since this is my first post on this forum.
i've found many interesting and useful information on other topics in the past, but couldn't find any previous thread about this topic even if i searched quite a bit.
i'm working on a rather large project for which splitting i/o's and routines into more than a single arduino will ease development and maintenance. i have a limited amount of data to be exchanged between arduinos, for which i planned to use i2c. i have no need for large bandwidth, high speed or real time, then no more sophisticated bus is needed (such as can bus).
now my question: is there a way i can use a single computer to upload my program on different arduinos and debug what's happening on all of them at the same time (i.e. without having to change com port on ide to connect with just one at a time)? my project will use 2x nano (w. mega328) and 2x leonardo.
at present i can work on a computer with 3x 24" monitors.
i seem to understand i cannot run more than a single instance of arduino ide (double-clicking the icon sends me to the first instance) and, consequently, a single serial monitor.
it would be necessary for me to "link" the different sketches to different serial ports (inside the same instance of the ide) or to be able to run multiple instances of the ide, each of them dealing with a different serial port.
can this be done? is there any way to do this?
i was thinking i could install a couple of virtual machines inside sun's virtual box and have some win xp's run copies of arduino ide, but it's quite some work to do and i'd appreciate if there existed an easier way to do that. it's quite difficult to give access to serial ports to virtual machines in an effective way (it seems a trivial task, but it often doesn't work well).
connecting several arduinos is no problem as they will get differnt com-ports.
Only challange you will have is to keep close eye to which is which.
For each program upload you'll have to select correct board type and com-port
It is possible to start new instances of the Arduino program. Each can connect to with its own Arduino board via its own COM-port.
I was told this and tried it and it worked.
Do you use the newest Arduino IDE version ? Can you try that again ? Which OS are you using (Windows/Linux/Mac) ?
Caltoa:
It is possible to start new instances of the Arduino program. Each can connect to with its own Arduino board via its own COM-port.
I was told this and tried it and it worked.
Do you use the newest Arduino IDE version ? Can you try that again ? Which OS are you using (Windows/Linux/Mac) ?
at present i'm working with osx. it seemed to me that trying to open multiple instances of the arduino ide (latest version, i guess, but i'll check this, too) didn't work, but i'll give it another try this evening.
this would be wonderful, as i could keep a copy of the ide in my mbp monitor and another one in each of the external monitors i've connected to the notebook.
i'll tell you more this evening, as soon as i get back home.
Caltoa:
It is possible to start new instances of the Arduino program. Each can connect to with its own Arduino board via its own COM-port.
I was told this and tried it and it worked.
at present i'm working with osx. it seemed to me that trying to open multiple instances of the arduino ide (latest version, i guess, but i'll check this, too) didn't work, but i'll give it another try this evening.
i've done a simple try: just double-click on the arduino icon in finder, but it doesn't open many copies of the ide. i still haven't had the time to try to do multiple installations in different locations: perhaps having the executable (let me call it that way, even if in osx it wouldn't be exactly like that) in different folders will make me run multiple instances.
Windows 8, no Java, Arduino 1.0.5, single installation, using desktop icon to start Arduino.
I can start multiple instances, and each with its own board and COM port.
When I close one, only that one closes.
Caltoa:
Windows 8, no Java, Arduino 1.0.5, single installation, using desktop icon to start Arduino.
I can start multiple instances, and each with its own board and COM port.
When I close one, only that one closes.
Caltoa:
Windows 8, no Java, Arduino 1.0.5, single installation, using desktop icon to start Arduino.
I can start multiple instances, and each with its own board and COM port.
When I close one, only that one closes.
I didn't know you could have the Arduino IDE without the java virtual machine (JVM)?
Robin2, the Windows version of Arduino has its own Java subset. But the linux Arduino has only the 'bare' Arduino files.
For Windows without installing Java, the security risk is very low, since the subset of Java inside the Arduino is not system-wide and is not connected with the browser.
I'm very fond of the JVM concept (but not the Java language) as it allows programs to run unchanged on Linux, Mac and Windows. I like to program with JRuby.
The system you describe seems to defeat that - not suggesting it's your fault
Found this through a google search and eventually figured out a solution. For anyone still looking for a solution to this for mac Apple OSx OS x hope to help some others.
-Open 'Applications' folder.
-Right-click 'Arduino', select "Show Package Contents".
-Open 'Contents' folder.
-Open 'MacOS' folder.
-Double-click 'JavaApplicationStub' to run it.
A Terminal window will open and a new instance of the Arduino IDE will pop up shortly after. Closing the Terminal window will close that instance of Arduino IDE. So minimize it or something. I can run 3 instances of Arduino IDE with no problems, possibly more, I haven't tried.
Simply duplicate the Arduino app (go to Applications folder, right-click Arduino, and choose "Duplicate"). You can now run both, choosing a different port/board for each.
(I know I resurrected an old thread, but there was no real solution posted.)
It's REALLY EASY to launch multiple apps from a terminal command line without all that pharting around:
$ open -n /Applications/Arduino.app
...etc.
I can see why Apple deprecates it; it's really hard to tell which window is which! I suggest launching one the usual way, and using a strict "screen discipline" to organize -- when I run an IDE for boxen A and B, I launch A's IDE first, arrange the windows to be strictly on the left side of the screen, do the above, which will initially open the SAME sketch in more or less the same location, but on top. Before you lose track drag that one to the right, resize, etc.
I open one serial monitor window at a time, locate it overlapping it's sketch, then do the other.