3

I have been unable to use the serial monitor with the Arduino YUN, I can download the compiled sketch with IDE 1.5.5 (on Windows XP via the USB connector that appears as COM6), the serial monitor opens but displays nothing. In order to investigate I modified the Blink example sketch as follows:

/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
  pinMode(led, OUTPUT);
  Serial.begin(9600);
  while  (!Serial) {;}
  Serial.println("Blink Program");
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  Serial.println("Blink Program -H");
  delay(5000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  Serial.println("Blink Program -L");
  delay(5000);               // wait for a second
}

The sketch upoloads and runs, I see the LED blinking, it does not wait for SerialMonitor to open. The SerialMonitor displays nothing. I have noticed that during the upload COM6 disappers from the Windows device manager, a new port COM7 appears, the upload completes successfully, COM7 disappears and COM6 reappears.
I have also found that the YunSerialTerminal example is not working.
Do other people have successfully used the IDE 1.5.5 SerialMonitor on Windows XP?
Should I conclude that my Arduino Yun board is malfunctioning?
Any help would be greatly appreciated.

6
  • I have in the mean time verified that serial communication works properly on Linux. Commented Dec 19, 2013 at 19:29
  • Serial Communication over USB also works properly in Linux running in VirtualBox hosred on the Windows XP machine on which it fails. Commented Dec 20, 2013 at 8:54
  • did you solve your issue? Looks like it's happening the same here.... Commented Jan 8, 2014 at 17:52
  • Any update on this issue? Commented Jan 28, 2014 at 18:01
  • @ Sr.Richie, @meilon, I am sorry but I only saw your comments today. Personally I have come to the conclusion that it can not be done in XP, I reboot to Windows 7 (which occasionaly refuses to work and I have to reinstall the drivers) or Linux which works reliably. It might also have to do with XP service pack. I used SP2 at the time, I haven't tried with SP3 Commented Mar 6, 2016 at 15:48

3 Answers 3

3

I had the same problem. A reset on 32U4 solved the problem (the button on the left top corner, next to the Ethernet connector). The serial port appeared on the arduino 1.5.x IDE and the connection was established and the data received. Bridge and Console should be used when the selected port is the wifi one, not the real serial port. I hope that helps. Best,

Sign up to request clarification or add additional context in comments.

1 Comment

This helps when I have some buggy code that locks up the Yun. Thanks
0

I am running 1.5.5 and had a similar problem. Console.begin() and Bridge.begin() work just fine. Serial gives me nothing. I started with the following.

 void setup() {

  // for debugging, wait until a serial console is connected
  Serial.begin(9600);
  delay(4000);
  while(!Serial);

  Serial.print("Initializing the bridge...");
  Bridge.begin();
  Serial.println("Done");
}

void loop()
{
Serial.println("running...");
}

Comments

0

Try to change your USB cable(needs to be USB data cable) and Port settings in Arduino IDE. Tools-->Port-->COM6(Arduino Yun). This solved my problem in Windows.

1 Comment

Thank you. What do you mean by usb data cable? the one with 4 wires or someting else? For sure I used a 4 wire cable, the same one with XP, Linux and VBox.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.