InmaculadaDiaz Posted February 10, 2014 Report Share Posted February 10, 2014 hi, newbie here I'm trying to do this tutorial http://papilio.cc/index.php?n=Papilio.ZPUinoIntroduction#Section1 , but when i open my serial terminal i cant see "hello World" , only " ÒÕKVRHªëÒÕKVRHªëÒÕKVRHªëÒÕKVRHªëÒÕKVRHªë" all the time any solution? i'm worked on Windows 8.1 thank u very much Link to comment Share on other sites More sharing options...
alvieboy Posted February 10, 2014 Report Share Posted February 10, 2014 It looks like your baud rate is not correct. Is it set to 9600 baud ? Care to post the sketch you are testing ? Link to comment Share on other sites More sharing options...
InmaculadaDiaz Posted February 10, 2014 Author Report Share Posted February 10, 2014 It looks like your baud rate is not correct. Is it set to 9600 baud ? Care to post the sketch you are testing ? It's the tutorial "Run Hello World Example" : void setup() { //Setup Serial port Serial.begin(9600); // prints Hello World Serial.println("Hello World!");} void loop(){ // prints Hello World over and over Serial.println("Hello World!");} Serial terminal is 9600 in ZAP and Putty too.Programmer: Papilio programmerI have connected Papilio by USB at port COM5. Thanks for quick reply Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 10, 2014 Report Share Posted February 10, 2014 Hello, Is COM5 the second serial port that is showing up? If you unplug the Papilio you should see the COM ports go away, then plug it back in and see if two COM ports show back up. The second one that shows up should be the correct one. The output you posted before looks like a speed mismatch... Can you try different speeds than 9600 and see if it's any better? Thanks,Jack. Link to comment Share on other sites More sharing options...
InmaculadaDiaz Posted February 10, 2014 Author Report Share Posted February 10, 2014 Hello, Is COM5 the second serial port that is showing up? If you unplug the Papilio you should see the COM ports go away, then plug it back in and see if two COM ports show back up. The second one that shows up should be the correct one. The output you posted before looks like a speed mismatch... Can you try different speeds than 9600 and see if it's any better? Thanks,Jack. I do this: void loop(){ // prints Hello World over and over Serial.println("Hello World!"); Serial.println("22222"); // NEW} OUTPUT: Hello World!22222Hello World!22222... awesome it works! but if i comment the NEW line again no.. i dont know why I try with different speed and the output it's the same Thanks! Link to comment Share on other sites More sharing options...
Jack Gassett Posted February 10, 2014 Report Share Posted February 10, 2014 Ahhhhhh! You know what, I just realized that I've seen this before too. If you put a delay in the main loop it will clear it up... I'm not sure what is happening but its almost like the ZPUino runs too fast or something and the UART cannot keep up. so add to your loop:delay(100); Jack. Link to comment Share on other sites More sharing options...
alvieboy Posted February 11, 2014 Report Share Posted February 11, 2014 When you have a constant byte stream it is sometimes difficult for the RS232 receiver to figure out where the byte actually starts. So a simple delay(1) is enough for the receiver to resynchronize the serial stream. Link to comment Share on other sites More sharing options...
InmaculadaDiaz Posted February 11, 2014 Author Report Share Posted February 11, 2014 I put delay and it works perfectly!thank u so much Link to comment Share on other sites More sharing options...
alvieboy Posted February 17, 2014 Report Share Posted February 17, 2014 Is your design going smoothly ? In case you need more help, just ask here in the forums. Link to comment Share on other sites More sharing options...
InmaculadaDiaz Posted February 18, 2014 Author Report Share Posted February 18, 2014 thank you for ask. I'm trying to do some examples with sd.h. I will post here some news about these modifications Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.