Pages: [1]   Go Down
Author Topic: Arduino Micro, serial problem?  (Read 2351 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: