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.

schematic for interfacing AT89c52 with the PC serial port

Status
Not open for further replies.

eng_ahmed22

Full Member level 3
Joined
Jun 7, 2005
Messages
189
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,944
schematic pc serial port

hi all
i am trying to interface AT89c52 with the standard PC serial port, but it didn't work:cry:

could someone send the scematic for this application?? i have the program in keil C.
i am using MAX232 and hyperterminal to send and receive characters.
anyone have good sw example plz send,

thanx alot for your time

salam :D
AHMED
 

at89c52 with

Serial tutorial for '51: **broken link removed** and followup.

wek
 

at89c52 serial schematic

Did u work on Keil simulator, it is working fine ? if u use example program , plz void it.
Check u r com port is working or not? did u r cable is right? rxd(pc) to txd(at89c51)
and vice versa.
please check reply me.

shashavali.m
bangalore.
 

at89c52 programer

just check the scematics given in "8051 uC and embedded systems" by mazidi
 

interfacing of 8051 with pc serial port

#asm
MOV SCON,#01110000b ; Mode 1/Stop b/Rec en/x/x/Flags
MOV TH1,#0FDh ; Reload value for 9600 Bps
MOV TCON,#01010101b ; Fl1/Tim1 on/Fl0/Tim0 on/Ext1-edge/Ext0-edge
MOV TMOD,#00100001b ; Gate1/Timer/Mode2/Gate0/Timer/Mode 1

START: JNB RI,START
CLR RI
MOV A,SBUF
MOV SBUF,A
SJMP START
#endasm

Have a look at the simplest possible configuration of connecting 8051 microcontroller to a PC via serial port ..
Use 11,059200 crystal ..
Also, you can use this short code to test communication ..
This code simply echoes characters sent to microcontroller ..

Pin allocation for DB-9F:
Rx-->3
Tx-->2
GND-->5

Regards,
IanP
 
tutorial del at89c52

thanx every body

i think the problem in the max232. i'll try the Ianp schematic and program and see.

thanx again :D

i also search for interfacing the AT89C52 to the serial EEPROM 24Cxxx.
could anybody send the scematic and the program to read & write to the EEPROM???

could u help?? hope so :D

thanks alot

bye

Ahmed
 

pc port schematic

Here you will find detailed description on how to connect I2C EEProm (24CXX) to 8051-derivative:
**broken link removed**
As 89C52 doesn't have dedicated I2C interface you can use two unused general-purpose I/O port pins to bit-bang the serial clock (SCL) and the bi-direction data line (SDA)..

Regards,
IanP
 

+at89c52 +schematic

please help me,can i use hyperterminal to program at89s52 using serial port, please help me.
 

at89c52 max232 interfacing schematics

eng_ahmed22 said:
hi all
i am trying to interface AT89c52 with the standard PC serial port, but it didn't work:cry:

could someone send the scematic for this application?? i have the program in ke*il C.
i am using MAX232 and hyperterminal to send and receive characters.
anyone have good sw example plz send,

thanx alot for your time

salam :D
AHMED

I think the good program for you is proteus because you can bulid complete project like at89c52 interface with serial port "you can see output and send input in physical com port in your pc" and interface with LCD and serial EPROM and max232 and other components and debug your code all this things in one program
See the following link

http://www.labcenter.co.uk/

SOKRAT
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top