Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

8051 and Hyperterminal

Status
Not open for further replies.

glenjoy

Banned
Joined
Jan 1, 2004
Messages
962
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
Has anyone tried/made a program of using the 8051 to work witht Hyperterminal?

Say for example you have a prompt then command the 8051 to turn on or turn off a device?

Thanks.
 

A simple ASCII protocol can be implemented to work with Hyperterminal. You can program the micro to send at initialization a ASCII string (or just a prompt as you said) and the wait for a ASCII character from PC. You can implement different tasks function of the character received.
Good luck
 
Are you sure you have an RS232 to ttl converter (eg max232) between the uC and the PC?
Are you sure you have set Flow Control to None
Are you sure you heve selected the correct number of data bits, parity and number of stop bits?

Also Hyperterminal on WindowsXP on certain laptops seems to have problems with 115kbit baudrate. And it's an Hyperterminal issue since my own RS232-communication routines work at that baudrate.

Antharax
 

I am looking for a C or Basic Source Code, the program must be like a menu and you have selections.


I forgot, the hardware is complete with RS232, I am using MAX233
 

Hi Mrs\glenjoy ;-)

I wasn't had any RS232 serial watcher.
But i used HyperTerminal as serial watcher.
I send a many of commands(ASCII) serially to pc from uC and watch it on hyper terminal.
So i guess that you can send commands to uC from HyperTerminal too.

Bye
 
You may look C written booloader as an example, try www.thebytefactory.com. They have a nice bootloader that works with any ASCII terminal implemented with software flow control.

dps
 

hii,
i have made with 89c51 something like it on experimental basis just to control port pins by sending command from hyperterminal with a serial link.
the serial link is possible with all baud rates till 115k using 11.059mhz crystal, but i prefere lower baud rate like 9600 as with 115k baud rate controller does not has time do any other processing.
code is in assembly and also i have tried in c .
if u need more info i can send a simple code and shematic which i used.

regards

seaspac
 

I already made it in C, problem is, I want to make a MENU system.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top