Serial Monitor start and then freeze on "Hello_world" program

Status
Not open for further replies.

JORIS

Member
Hello all,

I've just received my teensy3.6, I tried to run a basic Hello world and I got troubles with the Serial.println command on the IDE Arduino

The monitor starts printing "Hello World" but stop after 3 or 4 seconds ...

I found a similar topic on this forum but no real solution is given so I tried to post my own topic on this issue.

What I have already done:
- Update Arduino IDE version to 1.8.7
- Update Teensyduino with the new release 1.44
- Change USB wire
- Restart everything (teensy, computer etc...)
- Google


- I'm running IDE arduino on "Linux Mint 17.2 rafaela"

Please, I would love it if you could help.
Best regards

Joris

Code:
/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly. Serial monitor of arduino 
 
  This example code is in the public domain.
 */
 
// Pin 13 has an LED connected on most Arduino boards.
// Pin 11 has the LED on Teensy 2.0
// Pin 6  has the LED on Teensy++ 2.0
// Pin 13 has the LED on Teensy 3.0
// 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);
  
}

// 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("Hello world");
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(100);               // wait for a second
}

capture_helloworld.jpg
 
I'm running it here on Ubuntu. Works fine.

sc.png

Maybe there's something different about Mint? Historically, the Gnome Modem Manager has been a problem. The udev rule file (you installed it properly, right?) is supposed to tell Modem Manager not to touch or interfere with the USB serial devices for Teensy.
 
When the serial monitor output stops, does the LED continue blinking on your Teensy 3.6?

HI Paul,

Yes it's still blinking.
But thanks to you I solved the problem. My udev rules file was wrong and I corrected it and it works. Thanks a lot for the clue!

Regards

Joris
 
Status
Not open for further replies.
Back
Top