Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 27th August 2004, 10:46 PM   #1
Default rs232 communication with hyperterminal

Assuming i have already made a serial interface and have used it to connect my project to a PC, how do i communicate with hyperterminal. Do i need to send specific bytes first to initiate communication or do any sort of setup?, or just send a start bit? If there is some sort of set of various communications i need to make to ensure it works right, is there a link someone can give me to a list of them? Thanks.
dak246 is offline  
Old 28th August 2004, 01:28 AM   #2
Default

hyperterminal is nothing but a "dumb terminal"... it just directly displays the data that is coming in on the serial port as ASCII characters. and every possible data packet you can send it has an ASCII character associated with it... as long as you have it set to the right baud rate/etc. it will work with zero overhead.
evandude is offline  
Old 28th August 2004, 08:19 AM   #3
Default

You work with ASCII characters in hyperterminal, and not bits. The serial channel is transparent to you once it's properly set-up, ie the baudrate, no of bits per packet etc.
checkmate is offline  
Old 28th August 2004, 09:48 AM   #4
Default

if you want a terminal that allows you to almost everything then check out RealTerm

http://realterm.sourceforge.net/

I use it to debug all my serial comm's projects.
Exo is offline  
Old 10th May 2005, 05:10 AM   #5
Default

sorry to bump a super old thread, but it proves i was searching

I need to send BCD data out of com1 to a device, as i understand this is not possible with hyperterminal after much fussing around i discovered it sends in ascii only.

will realterm do this? the send numbers features looks like what i want to do, or actually the dump file and the looping feature. But will it send BCD?

I don't have my setup right here or i'd try it, however i'd appreciate any guidance in sending bcd data over com1 to a device.
bonanz is offline  
Old 10th May 2005, 05:18 AM   #6
Default

I recall I used miniterm on linux.
which is available in source form. its a single file
miniterm.c which is easy to understand and modify.
you will find options in it like canonical mode etc. which will
let you send anything on the port. i mean any binary data.

but ofcourse its for linux and it appears you are using windows.
__________________
Its not the Practice that makes a man perfect. Its the Man who makes the practice perfect
----- Pradeep K. Shima -----
pkshima is offline  
Old 10th May 2005, 05:20 AM   #7
Default

Quote:
Originally Posted by bonanz
sorry to bump a super old thread, but it proves i was searching

I need to send BCD data out of com1 to a device, as i understand this is not possible with hyperterminal after much fussing around i discovered it sends in ascii only.

will realterm do this? the send numbers features looks like what i want to do, or actually the dump file and the looping feature. But will it send BCD?

I don't have my setup right here or i'd try it, however i'd appreciate any guidance in sending bcd data over com1 to a device.
You can send raw hex bytes with realterm, and that's all you need.
just convert your bcd value to hex and send
Exo is offline  
Old 10th May 2005, 05:41 AM   #8
Default

I use TeraTerm Pro instead of HyperTerminal. It is much better than later.

http://hp.vector.co.jp/authors/VA002416/teraterm.html
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline  
Old 10th May 2005, 09:17 AM   #9
Default

Quote:
Originally Posted by bonanz
sorry to bump a super old thread, but it proves i was searching

I need to send BCD data out of com1 to a device, as i understand this is not possible with hyperterminal after much fussing around i discovered it sends in ascii only.

will realterm do this? the send numbers features looks like what i want to do, or actually the dump file and the looping feature. But will it send BCD?

I don't have my setup right here or i'd try it, however i'd appreciate any guidance in sending bcd data over com1 to a device.
What do you mean by 'BCD'?, it's a very 'abused' term, and not really relevent to a PC?.

So what EXACTLY do you want to send?, please give examples.

Any terminal program sends out esentially the same thing, 8 bit numbers between 0 and 255, the only problems arise when either end of the link treats certain values as control codes.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 11th May 2005, 01:23 AM   #10
Default

sorry i wasn't clear as I wasn't sure, but realterm worked like a charm for my purposes. I needed to send raw hex apparently, but i wasn't sure of that, but i was sure that hyperterminal only sent ascii and all i knew was that wasn't right

thanks for the help guys
bonanz is offline  
Old 6th June 2005, 10:50 AM   #11
Default

Hi all,


May be you can try to write your own program to send data out to device.

http://www.geocities.com/bagtool/vb/vb_lesson9.html

free :wink:
free1 is offline  
Reply

Thread Tools
Display Modes




All times are GMT. The time now is 03:51 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker