1. You can now buy finished microcontroller project from us, Check out the Store for the complete list of projects.
  2. Need a custom project, Send us some details about your project. So that we can quote the price for it.

8051 PS2 Keyboard and LCD interfacing with 8051 microcontroller 1.0

Interfacing code for connecting a PS2 keyboard with 8051 microcontroller in Keil C.

  1. sajivjess
    Interfacing code for connecting a PS2 keyboard with 8051 microcontroller. The keil c code reads the keyboard and display it over the LCD display.

    LCD Connection
    ---------------------------------------------------
    |LCM-----51 | LCM-----51 | LCM------51 |
    --------------------------------------------------|
    |DB0-----P1.0 | DB4-----P1.4 | RW-------P2.0 |
    |DB1-----P1.1 | DB5-----P1.5 | RS-------P2.1 |
    |DB2-----P1.2 | DB6-----P1.6 | E--------P2.2 |
    |DB3-----P1.3 | DB7-----P1.7 | VLCD 1K resistor connected to GND|
    ---------------------------------------------------

    Sponsored Links

    Keyboard Connection
    PS/2--------51
    1 DATA------P3.4
    3 GND
    4 VCC
    5 CLK-------P3.3Connected to the 51 external interrupt trigger is low


    [Note:AT89S51 is used and clocked with 12M or 11.0592M crystal]
Loading...