InmaculadaDiaz 0 Report post 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 Share this post Link to post Share on other sites
alvieboy 25 Report post 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 ? Share this post Link to post Share on other sites
InmaculadaDiaz 0 Report post 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 Share this post Link to post Share on other sites
Jack Gassett 0 Report post 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. Share this post Link to post Share on other sites
InmaculadaDiaz 0 Report post 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! Share this post Link to post Share on other sites
Jack Gassett 0 Report post 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. Share this post Link to post Share on other sites
alvieboy 25 Report post 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. Share this post Link to post Share on other sites
InmaculadaDiaz 0 Report post Posted February 11, 2014 I put delay and it works perfectly!thank u so much Share this post Link to post Share on other sites
alvieboy 25 Report post Posted February 17, 2014 Is your design going smoothly ? In case you need more help, just ask here in the forums. Share this post Link to post Share on other sites
InmaculadaDiaz 0 Report post 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 Share this post Link to post Share on other sites