hi all
i am trying to interface AT89c52 with the standard PC serial port, but it didn't work
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,
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.
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 ..
i think the problem in the max232. i'll try the Ianp schematic and program and see.
thanx again
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???
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)..
hi all
i am trying to interface AT89c52 with the standard PC serial port, but it didn't work
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,
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