Home     Contact     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home      Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   


<< Back to INDEX

PS/2 Keyboard Interface Tutorial [Video]
posted September 26 2011 10:02.45 by Giorgos Lazaridis




Chris from Pyroelectro uploaded a new interesting electronic tutorial. In his pages he explains how can someone interface a PS/2 keyboard to a PIC18F microcontroller, with a short theory, a circuit and the complete code for the PIC.

The main goal here is to create a system that is capable of communicating with PS/2 devices, specifically the PS/2 keyboard. The PIC microcontroller will be connected to a PS/2 keyboard and it will receive keypress commands. Whenever a keypress is detected the PIC should output onto a 7-segment LED display which key was pressed.

Since PS/2 is a serial communication protocol and the PS/2 keyboard controls the clock signal we will need to use the PIC's capture module interrupt to detect falling edges (ps/2 data is valid on falling edges). Additionally, some constant values will need to be progammed in to represent letters and numbers to display onto the 7-segment LED output display.


[Link: pyroelectro]
Tags: electronic project   pic   microcontroller   articles   theory/tutorial   communication protocols   how it works   pc related   
Share



You might also like...


Microchip PIC chips could have been the Power Behind Arduino [Article]

10-terawatt laser fits on a desktop [News]

A global look at personal income taxes [Infographic]

These are some of the most expensive materials on Earth [Photos]

Why Are Olympic Records Always Broken? [Science]

Researchers levitate objects using nothing but sound [Innovation]

3D Printed AtmoMotor HV Atmospheric Motor [Project]

Why Calorie Counts Are Wrong


<< Back to INDEX



Comments

  Name

  Email (shall not be published)

  Website

Notify me of new posts via email


Write your comments below:
BEFORE you post a comment:You are welcome to comment for corrections and suggestions on this page. But if you have questions please use the forum instead to post it. Thank you.


      

No comment yet...

Be the first to comment on this page!












 Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS   

Site design: Giorgos Lazaridis
© Copyright 2008
Please read the Terms of services and the Privacy policy