electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to interface 89c51 microcontroller with PC


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to interface 89c51 microcontroller with PC
Author Message
centiago



Joined: 30 Sep 2005
Posts: 177
Helped: 13
Location: Lions Den


Post19 Nov 2005 8:18   

microcontroller 89c51


Hi
I am new to microcontroller, can anyone give me transmit & receive program to upload & download data between PC & 89c51 microcontroller.
Thanks
Centiago
Back to top
sanJerry2004



Joined: 05 Feb 2005
Posts: 43


Post19 Nov 2005 8:45   

89c51 microcontroller


Maybe RS232 is the common way to solve your topic. And u can find the program anywhere.
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6492
Helped: 1542
Location: West Coast


Post19 Nov 2005 8:48   

how to interface microcontroller with pc


If you can, I would ecourage you to build/buy a development board with RS-232 port ( http://www.pjrc.com/tech/8051/board3/schematic.html ) which includes some very usefull additional features such as for example SRAM ..
Using a monitor program you will be able to upload/download contains of this SRAM, run programs dowloaded to SRAM and many more ..
Check out this link:
http://www.pjrc.com/tech/8051/paulmon2.html

Regards,
IanP
Back to top
freewilly30



Joined: 05 Mar 2005
Posts: 59
Helped: 1


Post20 Nov 2005 22:07   

microcontroller to pc


try first the parallel port instead of the serial just to get used to the interfacing as parallel is easier to understand and in assembly is easier to get data, serial is more complex in acquiring data as you have to wait that buffer is full and respond to the interrupt, more work
enjoy
Back to top
khongai



Joined: 20 May 2005
Posts: 245
Helped: 5


Post21 Nov 2005 2:34   

interfacing microcontroller to pc


and there:
http://chaokhun.kmitl.ac.th/~kswichit/
Back to top
virgorabbit



Joined: 29 Nov 2004
Posts: 30
Helped: 2


Post02 Dec 2005 4:33   

interfacing of microcontroller with computer


RS232 interface can generate interrupts and it needs few wires, but it will cost more because of a external RS232 level -shifter (such as max232) is needed.
parallel port need almost no externel components, but it is diffcult to handle the realtime applications because of no interrupt will be generated if you use the parallel port.
Back to top
rana



Joined: 28 Oct 2004
Posts: 5


Post13 Dec 2006 15:20   

interfacing microcontroller pc


khongai wrote:
and there:
h**p://chaokhun.kmitl.ac.th/~kswichit/

www.8051.com
Back to top
manish12



Joined: 21 Nov 2006
Posts: 1020
Helped: 31


Post14 Dec 2006 8:09   

microcontroller interfacing with pc


not 51 8052.com
Back to top
ashad



Joined: 28 Mar 2006
Posts: 307
Helped: 9
Location: Singapore


Post23 Dec 2006 3:50   

interface 89c51 with pc


hi,

concern the following program and circuit



ORG 30H

INI:
MOV TMOD,#21H
MOV TH1,#0A0H ;9600 BAUD
MOV SCON,#50H ;8 BIT UART MODE
MOV TH0,#HIGH(-50000)
MOV TL0,#LOW(-50000)

SETB TR1

MAIN:
JB RI,SERIAL
JMP MAIN

;==================
SERIAL:
CLR RI

MOV A,SBUF

JMP MAIN

How to interface 89c51 microcontroller with PC
Back to top
Google
AdSense
Google Adsense




Post23 Dec 2006 3:50   

Ads




Back to top
Shani



Joined: 26 Jul 2006
Posts: 67
Helped: 3
Location: Karachi, Pakistan


Post23 Dec 2006 14:34   

89c51 rs232


Assalamo Allykum !

You can do this by using parallel port as well as serial port.

But asyou are new to Microcontroller then use Parallel port for your convenience, and usr At89C52 rather than AT89C51, because of memeory size because you are interfacing the data transfer from the PC.

www.8052.com

it is a good site and it will help you a lot.

TAke CAre

Wish you a good luck.
Back to top
snaiks



Joined: 28 Jul 2007
Posts: 13


Post03 Sep 2007 13:49   

microcontroller pc interface


Can you define the commands in details since I know only the machine code. hex language
Back to top
garg29



Joined: 17 Nov 2004
Posts: 352
Helped: 10


Post04 Sep 2007 4:08   

interfacing of microcontroller with computer


which language are you planning to use on pc "C" or "VB" i'm having examples i can send it
Back to top
vijaya_narayana



Joined: 12 Jun 2007
Posts: 147
Helped: 9


Post04 Sep 2007 6:06   

interfacing of 8051 with pc


it is simple just put a mediator between 8051 and PC that is max232 IC and connect it to PC this will do the job
Back to top
akbar_nateghi



Joined: 04 Sep 2007
Posts: 2


Post04 Sep 2007 19:03   

89c51 development board


how to interface 89c51 microcontroller with computer keyboard?
Back to top
ashad



Joined: 28 Mar 2006
Posts: 307
Helped: 9
Location: Singapore


Post06 Sep 2007 2:39   

interfacing microcontroller with computer


Assalam

Akbar, better u ask this question in new topic ....

because the ATKeybaord is working on I2C protocol having data clk Vcc GND lines

please check the following website

http://www.beyondlogic.org/keyboard/keybrd.htm
Back to top
vijaya_narayana



Joined: 12 Jun 2007
Posts: 147
Helped: 9


Post07 Sep 2007 9:43   

8051 interfacing with computer


first try to understand at what protocal does the keyboard works then by using the 8051 core i think it is possible to communicate the micro controller with the computer keyboard
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to interface 89c51 microcontroller with PC
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to interface 89c51 with a modem (spectra 910) (4)
How to interface the RTC HT1380 with µ Controller 89C51 (9)
How to Interface IR with microcontroller ? (6)
how to interface a bluetooth with microcontroller (4)
how to interface bluetooth with microcontroller, (1)
How to interface OLED with microcontroller???? (1)
How to Interface Ethernet Controller with Microcontroller.. (14)
How to interface true color dotmatrix with microcontroller (1)
lf356 interface with 89c51 along with adc (4)
lcd interface with atmel 89c51 (8)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS