+ Reply to Thread
Results 1 to 11 of 11

Thread: rs232 communication with hyperterminal

  1. #1
    dak246 Newbie
    Join Date
    May 2004
    Location
    PSU
    Posts
    53

    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.


  2. #2
    evandude Good evandude Good evandude Good
    Join Date
    Oct 2003
    Location
    Maine, USA
    Posts
    1,395

    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.

  3. #3
    checkmate Newbie
    Join Date
    Aug 2003
    Posts
    402

    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.

  4. #4
    Exo
    Exo is offline
    Exo Newbie
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    1,884

    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.

  5. #5
    bonanz Newbie
    Join Date
    Sep 2003
    Posts
    26

    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.

  6. #6
    pkshima Good pkshima Good
    Join Date
    Jan 2003
    Location
    New Delhi, India
    Posts
    328

    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 -----

  7. #7
    Exo
    Exo is offline
    Exo Newbie
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    1,884

    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

  8. #8
    Super Moderator kinjalgp Newbie
    Join Date
    Oct 2002
    Location
    INDIA/USA
    Posts
    1,855

    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!"

  9. #9
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,766

    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

  10. #10
    bonanz Newbie
    Join Date
    Sep 2003
    Posts
    26

    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

  11. #11
    free1 Newbie
    Join Date
    Jun 2005
    Posts
    25

    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:

+ Reply to Thread

Tags for this Thread