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.

Interfacing of AT89C51 with computer

Status
Not open for further replies.

Noman Yousaf

Full Member level 4
Joined
Nov 19, 2003
Messages
208
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
Lahore Pakistan
Activity points
1,763
at89c51 max232 interfacing

i work on AT89C51 assambly lang.
i want to interface the AT89C51 with any computer via serial or parallel port
please can any body guide me that how can i do it?
any site which tells about it
how can i start doing?

Thanks in advance
 

Choosing between serial or parallel depends on your data, and your project spec.
I prefer serial, for doing it you need an external line driver/reciver chip like MAX232...

Do you need to send command from PC to '51 chip or your PC is just watching it?
 

thanks to all
but my problem is how to make a software for PC that will make the interface with MCU?
serial or parallel.
if i will press a button on keyboard a specific code will be generated by computer via serial port (RS232) or LPT, i can check the code, produced by PC by AT89C51 then it will turn on or off any thing relay or some thing.
i can do every thing with AT89C51 but i can't do any thing by computer

thamks
 

hi Noman Yousaf, I have exemplo in C to 89s8252, when you press a pushbutton
transmit by Serial to PC run Hyperminal, and write the port name in hyperteminal, and when you write in hyperminal show in a display LCD, if you want it tell me I post it
 

For testing, use any terminal program, such as Hyperterminal, which comes bundled with each Windows; or search "term by Bray", "tera term" and similar.

But if you want to write some fancy windows program that contains various controls and buttons and will send out commands through serial line - well you have a long way to go - and you should redirect your question into the "PC Programming" forum.

wek
 

Noman Yousaf said:
thanks to all
but my problem is how to make a software for PC that will make the interface with MCU?
serial or parallel.
if i will press a button on keyboard a specific code will be generated by computer via serial port (RS232) or LPT, i can check the code, produced by PC by AT89C51 then it will turn on or off any thing relay or some thing.
i can do every thing with AT89C51 but i can't do any thing by computer

thamks

I'm wondering which programming language you use in Computer platform???

I have many experiences in interfacing PC to 89C51 using Visual Basic.

I recommend you to use Visual Basic and the MSComm32 component to make dialog between PC and your uC!
 

I think which interface type you choose depending on your type of communication data and its feature,such as speed. serial interface is a good ]
selection. you must choose a interface chip. such as
TI17965 OR max 232
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top