HOW TO MAKE PC VOLTAGES AND MICROCONTROLLER VOLTAGES SAME!!

Discussion in 'Embedded Systems and Microcontrollers' started by hada, Dec 15, 2008.

  1. hada

    Thread Starter Member

    Sep 24, 2008
    15
    0
    hi,
    am new to microcontroller.i have been assigned a project of calculator.i am stuck on one thing that when i have to give input through keyboard to microcontroller my pc voltages and 8051 microcontroller voltages are not same.so what device i must use in between them to make my pc and microntroller voltages same.do i have to use voltage converter.please elaborate.thank u.
     
  2. RiJoRI

    Well-Known Member

    Aug 15, 2007
    536
    26
    First, how are you to communicate with the PC? Through the Serial (RS-232) port, through the printer port, or through the USB bus? The answer to this question will indicate the answer.

    ASSuming the serial port, the easiest way is to use a level-shifter chip, such as the MAX 232.

    --Rich
     
  3. hada

    Thread Starter Member

    Sep 24, 2008
    15
    0
    yup i have to use serial parallel port between pc and microcontroller.thanks 2 u.
     
  4. hada

    Thread Starter Member

    Sep 24, 2008
    15
    0
    and i dont know which port to use?printer port or usb port?what do u suggest to use?
     
  5. Papabravo

    Expert

    Feb 24, 2006
    10,163
    1,796
  6. nanovate

    Distinguished Member

    May 7, 2007
    665
    1
Loading...