Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ARM7
PS/2 interface
Vidhatha Technologies, # 1363, 3rd Floor, Shravanthi Onyx, 100ft Ring Road, Jayanagar 9th Block, Bangalore - 560 069. +91 80 6450 9955
BLOCK DIAGRAM DESCRIPTION: The block diagram as shown above consists of keyboard is interfaced with the microcontroller via PS/2 interface. LCD will display the data. The first task is to receive scan codes from keyboard and display the scan codes in hex format on the LCD. The second task is to transmit data to the keyboard when the Caps Lock key is pressed. When a specific data stream is sent the Caps Lock LED will switch on the key board. The PS/2 interface is a bit serial interface with two signals of data and clock. Both signals are bidirectional and logic 1 is electrically represented by 5V and logic 0 is represented by 0V. Whenever the Data and Clock line is not used, i.e. is idle, both the Data and Clock lines are left floating, that is the host and the device both set the outputs in high impedance. Externally, at the PCB, large (about 5 k) pull-up resistors keep the idle lines at 5V (logic 1). FEATURES: 1. It is serial communication protocol. 2. It is standard communication interface between key board and device.
SYSTEM REQUIREMENTS: OS: Windows Language: Embedded C. Software required: Keil software. Hardware required: 1. TMS2148 ARM7 controller 2. PS/2 protocol.
Vidhatha Technologies, # 1363, 3rd Floor, Shravanthi Onyx, 100ft Ring Road, Jayanagar 9th Block, Bangalore - 560 069. +91 80 6450 9955
ADVANTAGES: 1. It is a simple communication between keyboard and device. 2. Since it is a single wire communication space is less. 3. It is easy to scan the key codes.
Vidhatha Technologies, # 1363, 3rd Floor, Shravanthi Onyx, 100ft Ring Road, Jayanagar 9th Block, Bangalore - 560 069. +91 80 6450 9955