Society of Robots - Robot Forum

Software => Software => Topic started by: rox2007 on January 24, 2008, 11:37:02 AM

Title: when i use hyperterminal to read my robot get gibberish.
Post by: rox2007 on January 24, 2008, 11:37:02 AM
bÇÓåÃÓW
׳ãSÓÓCZÆÓccFÇJLÓ‘W÷ƒWwêW¶Çúgç3óÓ×'6¢Ç÷W76âÇÓWgWf—–Ç’gbÍ÷c×"*Ó×
³™WÝg7÷×ÓÇ÷W'ên‰óÓ×'âÇ÷cWŒÇó:;ªgç◝g¡ÇÓc§ÆÓccFϝƷÓc×wjWMµ"gã3g×gãbÝc×sFWØc×7êëSÓòÃWÆÓ?BÃPÛŸ(cWsâÇÓJ̍±Ç’¸ãâÇ÷×gã"G÷ãW â»ÓMWÓ×gÆ¢ÇÇò¸ã#8ÝcG(câÇ(cRÇÓcWwñ×WMµ"¸ÂWgãBÇSBÃÆÃcSS¾CWNWL×ÛGèMW ¶ÇÓÝÃƱ]—*xãbx(c×sÆÇÓ?¥s×Ç÷×7É2Wž›’gãâ8ÝGgã†G(c âÇFÓ
’Ç

this is my output in hyperterminal
what did i do wrong
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: neo01124 on January 24, 2008, 11:51:41 AM
give us at least some details of what ur trying to do like what is being read, how its connected,etc.

in the meanwhile u could try ur hand at putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
it has better GUI than hyperterminal and IMO is better and easier to use than hyperterminal
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: rgcustodio on January 24, 2008, 12:00:15 PM
yeah i second neo01124's comment.
provide more information

also does the baud settings of the sender and receiver match? (specially if auto-baud is not being used)
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: JonHylands on January 24, 2008, 12:04:16 PM
Check your baud rate, check your settings (8N1), make sure you've got hardware flow control turned off, make sure you're doing TTL -> RS-232 conversion...

- Jon
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: rox2007 on January 24, 2008, 12:06:17 PM
i am trying to relate information about my robot through uart to my computer.
I get info from the robot, but it is not readable (shown above).
i'm using uart with baud settings 38400
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: neo01124 on January 24, 2008, 12:12:09 PM
reading this post might help, it has some general troubleshooting tips....
http://www.roboticsindia.com/modules.php?name=Forums&file=viewtopic&t=2826 (http://www.roboticsindia.com/modules.php?name=Forums&file=viewtopic&t=2826)
by the way did u try putty and was the output with it same??
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: rox2007 on January 24, 2008, 12:24:55 PM
yes the output was the same
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: Admin on January 24, 2008, 01:48:05 PM
I 2nd JonHylands and rgcustodio, your baud rate is wrong somewhere.

Make sure the baud is set the same in the microcontroller software, on your PC hardware driver, and hyperterminal. Thats three different places - if you mess up one, all get messed up . . .
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: pomprocker on April 18, 2008, 12:29:43 PM
I've gotten this when i've done too many printf's in one control loop in my code.
Title: Re: when i use hyperterminal to read my robot get gibberish.
Post by: paulstreats on April 18, 2008, 03:36:29 PM
yeah and without a delay between the puts or printf commands can mess up the buffer