+ Post New Thread
Results 1 to 17 of 17
  1. #1
    Full Member level 3
    Points: 2,459, Level: 11

    Join Date
    Sep 2005
    Location
    Lions Den
    Posts
    174
    Helped
    16 / 16
    Points
    2,459
    Level
    11

    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

  2. #2
    Member level 1
    Points: 1,710, Level: 9

    Join Date
    Feb 2005
    Posts
    36
    Helped
    1 / 1
    Points
    1,710
    Level
    9

    89c51 microcontroller

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


    1 members found this post helpful.

    •   Alt19th November 2005, 07:45

      advertising

        
       

  3. #3
    Advanced Member level 5
    Points: 160,151, Level: 95
    Awards:
    Helpful silver

    Join Date
    Oct 2004
    Location
    West Coast
    Posts
    7,943
    Helped
    2297 / 2297
    Points
    160,151
    Level
    95

    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



  4. #4
    Member level 3
    Points: 1,635, Level: 9

    Join Date
    Mar 2005
    Posts
    59
    Helped
    2 / 2
    Points
    1,635
    Level
    9

    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



  5. #5
    Full Member level 4
    Points: 3,574, Level: 14

    Join Date
    May 2005
    Posts
    230
    Helped
    16 / 16
    Points
    3,574
    Level
    14

    interfacing microcontroller to pc




    •   Alt21st November 2005, 01:34

      advertising

        
       

  6. #6
    Junior Member level 3
    Points: 1,583, Level: 9

    Join Date
    Nov 2004
    Posts
    30
    Helped
    2 / 2
    Points
    1,583
    Level
    9

    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.



  7. #7
    Newbie level 4
    Points: 1,504, Level: 8

    Join Date
    Oct 2004
    Posts
    5
    Helped
    0 / 0
    Points
    1,504
    Level
    8

    interfacing microcontroller pc

    Quote Originally Posted by khongai
    and there:
    h**p://chaokhun.kmitl.ac.th/~kswichit/
    www.8051.com



    •   Alt13th December 2006, 14:20

      advertising

        
       

  8. #8
    Advanced Member level 3
    Points: 9,752, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,752
    Level
    23

    microcontroller interfacing with pc

    not 51 8052.com



  9. #9
    Full Member level 6
    Points: 4,518, Level: 15

    Join Date
    Mar 2006
    Location
    Trento, Italy
    Posts
    320
    Helped
    29 / 29
    Points
    4,518
    Level
    15

    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



    1 members found this post helpful.

  10. #10
    Member level 4
    Points: 1,546, Level: 8

    Join Date
    Jul 2006
    Location
    Karachi, Pakistan
    Posts
    68
    Helped
    4 / 4
    Points
    1,546
    Level
    8

    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.



  11. #11
    Member level 1
    Points: 1,358, Level: 8

    Join Date
    Jul 2007
    Posts
    32
    Helped
    0 / 0
    Points
    1,358
    Level
    8

    microcontroller pc interface

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



  12. #12
    Advanced Member level 1
    Points: 6,346, Level: 18

    Join Date
    Nov 2004
    Posts
    444
    Helped
    24 / 24
    Points
    6,346
    Level
    18

    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



  13. #13
    Full Member level 3
    Points: 2,098, Level: 10

    Join Date
    Jun 2007
    Location
    India
    Posts
    156
    Helped
    10 / 10
    Points
    2,098
    Level
    10

    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



  14. #14
    Newbie level 2
    Points: 949, Level: 6

    Join Date
    Sep 2007
    Posts
    2
    Helped
    0 / 0
    Points
    949
    Level
    6

    89c51 development board

    how to interface 89c51 microcontroller with computer keyboard?



  15. #15
    Full Member level 6
    Points: 4,518, Level: 15

    Join Date
    Mar 2006
    Location
    Trento, Italy
    Posts
    320
    Helped
    29 / 29
    Points
    4,518
    Level
    15

    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



  16. #16
    Full Member level 3
    Points: 2,098, Level: 10

    Join Date
    Jun 2007
    Location
    India
    Posts
    156
    Helped
    10 / 10
    Points
    2,098
    Level
    10

    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



  17. #17
    Newbie level 3
    Points: 507, Level: 4

    Join Date
    Mar 2010
    Location
    Pune
    Posts
    4
    Helped
    0 / 0
    Points
    507
    Level
    4

    Re: How to interface 89c51 microcontroller with PC

    Can i get the "c" program of these.



+ Post New Thread
Please login