PDA

View Full Version : Request - Hyperterminal tutorial



presario1425
- 23rd November 2007, 16:38
I would like to put out a request for a short and easy tutorial on how to interface a PIC with HyperTerminal. What I’m looking for is:

1) A schematic so that I know what is required specifically for the PIC-to-PC connection (the clock, power supply etc. can be left out as I know how to do those)

2) A simple PBP file that teaches me how to input some data (for example, an integer from the keyboard) into a PIC and get an output on the HyperTerminal.

Thanks in advance for any help.

Melanie
- 23rd November 2007, 17:19
You don't need to wait for a tutorial... just go do it... if you don't play - you don't learn!

2nd posting in the thread tells you how to hook up your PIC to your PC... or look at the code!

http://www.picbasic.co.uk/forum/showthread.php?t=573

presario1425
- 23rd November 2007, 17:46
2nd posting in the thread tells you how to hook up your PIC to your PC... or look at the code!

http://www.picbasic.co.uk/forum/showthread.php?t=573

Ah-ha!

Thanks Melanie.

penelopepug
- 23rd November 2007, 18:16
Hi! If you plan to interface to a PC for more than just a few projects, you may want to buy a USB to TTL serial adapter. Here's a link for one place in Western Canada, where I live;

http://www.hvwtech.com/products_list.asp?CatID=166&SubCatID=183&SubSubCatID=0

Also, I would bet Digikey sell them and Digikey seems to be everywhere.

One last note, Mr. E had a post a while back where he reccomended a program called RealTerm? The application is way better than Hyperterminal and easy to use. It's here;

http://realterm.sourceforge.net/

mister_e
- 23rd November 2007, 18:33
a short Hyperterminal tutorial
http://www.best-microcontroller-projects.com/rs232-work.html

i hate Hyperterminal... but it's me ;)

Acetronics2
- 23rd November 2007, 19:45
Hi, Steve

Did you try this one ???

http://www.synthmodules.com/other/VBHexTerm-Setup.exe

Alain

mister_e
- 23rd November 2007, 23:59
Not bad, but i prefer the one i begun some times ago. AND i can access the whole COM PORT range 1-256 :D

MicroCode Studio Serial Communicator is nice too. For simple test and ease of use, it's perfect.

penelopepug
- 24th November 2007, 13:21
I have a question I hope someone can help me with; When using Hyperterminal or RealTerm, is the presentation of the data shown limited to carraige returns and linefeeds (13,10)? Is there anyway to show columns of data for example? I am assuming I would need to build a VB application for anything more elaborate?

Thanks.

mister_e
- 24th November 2007, 16:54
Still possible to do it on the PIC side, just insert some spaces between your data and you should be able to have some decent results.

Still possible to insert a , in between each data, then dump it to the pc, save the file, import in excel/access

Darrel Taylor
- 24th November 2007, 21:28
... is the presentation of the data shown limited to carraige returns and linefeeds (13,10)? Is there anyway to show columns of data for example

Yes, you can do all kinds of stuff with HyperTerminal, and ANSI.

Here's a couple of the basics ...
ClearScreen:
HSEROUT [27,"[2J"]
RETURN
<hr>
Line VAR BYTE
Column VAR BYTE

Line = 14
Column = 32
GOSUB MoveCursor

MoveCursor:
HSEROUT [27,"[",DEC2 Line,";",DEC2 Column,"H"]
RETURN

penelopepug
- 25th November 2007, 00:35
Thanks Steve and Darrel for your help!