Go Down

Topic: Arduino Micro, serial problem? (Read 2745 times) previous topic - next topic

Ales

HI, i have two arduino MICROs that i want to communicate with each other,
the thing is that no matter what i do... they dont "talk"
Is it possible there is a problem with serial communication when USB cable is not attached?
http://forum.arduino.cc/index.php?topic=181523.msg1346388

PaulS

Quote
HI, i have two arduino MICROs that i want to communicate with each other,

OK.

Quote
the thing is that no matter what i do... they dont "talk"

No schematics + No code == no proof.

Quote
Is it possible there is a problem with serial communication when USB cable is not attached?

Serial communication with what? Using which instance?

There is something wrong with your link.

krkl

Resurrecting this thread. The micro handles USB and serial communication differently than the standard board. The details are outlined here:
http://arduino.cc/en/Guide/ArduinoLeonardoMicro#toc4
I think it boils down to using "Serial1" instead of "Serial".

Good luck.

I have also the same problem, using Serial1 it doent work , If I am using Serial it is working.

void setup()
{
  // put your setup code here, to run once:
  Serial.begin(9600);
}

void loop()
{
  Serial.println("Hello World"); 
  delay(2000);
}

I have use this program , the TX pin of Arduino Micro is blinking in every two seconds when my Serial Moniter window is open, when I close the window it stops.



Please help in codding for transmission of 4 analog signals wirelessly using Arduino Micro and Xbee S2.
ASAP Please Reply.
Thanks.

Go Up