Processing with MEGA Board

I have a question about using the MEGA board with processing. This is a bit complicated but I walk through what I'm working on:

I have an UNO and a MEGA board. There are two separate arduino libraries for each type of board. When I use the UNO board and the UNO library in processing, I'm able to:

  • Upload the Standard Firmata from Arduino environment
  • THEN, I can upload a separate sketch with a serial read function from the Arduino Environment
  • THEN, when I run processing, the serial write from processing still works with that Arduino sketch with the serial read.

With the MEGA board and the MEGA library for Processing, I'm only able to communicate with Arduino from Processing if the Standard Firmata sketch was the LAST sketch uploaded in the Arduino environment. How can I make it work so that I can upload a separate sketch like I can with the Uno?

Thanks so much for any help, this would be a great boost.

Erick

You use the same IDE for both, you just have nominate Uno or Mega before you do anything but, in my case the Uno uses COM4 and the Mega uses COM6. Make sure you have those settings right. You will see notice of that in the bottom right corner of the IDE. I am changing between UNO and Mega a lot, it can be flakey but it always works in the end and, if the written notice is correct, it will always work.

Before you go too much further down this rabbit hole, I'd suggest that you should search the forum for Firmata and Mega. See how many people have successfully used the two. See if you can find a single thread where anyone has said anything like "Hey, I'm here from Firmata, and we'll get right on your problem".

Not a single instance since I've been a registered member.