How to Send Hex Value to Serial Port . . . ~ TricksZone -The Tech. Blog

Monday, May 21, 2012

How to Send Hex Value to Serial Port . . .

>>Most of time we are using Hyper terminal to send or receive from serial(COM) port. In hyper terminal we can type in ASCII characters. Suppose we have to transmit 1 then we simply type 1 in hyper terminal. But in real it transmit HEX value of 1 (0x31).

>>Now if we want to transmit HEX value on the serial port using there is no option available for that. We can resolve this problem using Realterm serial client which is available as freeware.

>>Realterm is a terminal program specially designed for capturing, controlling and debugging binary and other difficult data streams. It is far better for debugging comms than Hyperterminal. It has no support for dialing modems, BBS etc - that is what hyperterminal does.

>>Here is the process about transmit directly hex value on serial port using Realterm.

hyper terminal alternative, send hex on com port

>>First of all open realterm then go to port tab in it set baud rate and port number. Then click on open button to open that port.

hyper terminal alternative, send hex on com port

>>Then select Display mode from display option.

hyper terminal alternative, send hex on com port

>>At last enter hex value in byte form as shon in figure. Don't forgot to separate it by comma. Then click on send numbers button to send it on serial port.

>>Features of Realterm tool:

  • Text or Binary views of data
  • binary viewed as hex, 8 bit, 16 bit, little/big endian, signed, unsigned, special fonts
  • colorised: rx and tx data are different colors
  • ansi terminal or plain text or binary modes
  • protocol analyser / "port spying" mode
  • fixed frame sizes/line lengths
  • sync patterns with masks and xors
  • data inversion
  • full remote control through active X/ Windows Scripting
  • extensive command-line control
  • can be used for serial I/O component of other programs via activeX. Full support for minimize,hide,iconize, tooltray
  • special ascii+hex font to see hidden control chars
  • capture to file, settable capture size or capture duration
  • timestamping capture files for simple data logging
  • view and change control lines (cts,rts, dcd etc)
  • easy to send binary sequences
  • serial (comports) or telnet via tcp
  • arbitary baud rates
  • reset / power buttons for Pic Programmer
  • hideable to run in invisible or on tool-tray
  • can dump files to serial port
  • Drives I2C and SPI chips via BL233 

  • >>Download link:

    We will send you regular updates. Enter your email address :

    We really like to get your suggestions and opinions. So don't forget to leave a comment.


    Post a Comment