Hi
I would like to know if it is possible to display information onto a hyperterminal display on a PC. The uC is processing data like voltages and temperature and i would like to know how i could print this info on a screen. I'm using assembly language to program the 8051 and would be my preferred option.
I can give more details as needed
Thanks
As long as the amount of data you are processing is not more than a reasonable baudrate can transfer, then it is possible.
Connect your the UART in your chip to a MAX232 or similar to convert from logic levels to RS232 levels.
Then write code to format your measurements in a suitable way (binary or ASCII) and drop off the data to the UART. Either directly or using a circular buffer with an interrupt.
There are huge numbers of example programs showing how to use the UART.
Then write code to format your measurements in a suitable way (binary or ASCII) and drop off the data to the UART.
Small addition: You may want to avoid doing computationally expensive formatting (e.g. by using printf) on the 8051.
These days, it would probably make more sense to connect the UART in your chip to something like this:
" (5V) and 3.3V versions, and with various connector options.
Saves messing about with the MAX232, but appears identical to both the microcontroller and the PC!
:-)
It has the advantage that it works with a laptop. The serial port is very quickly vanishing...