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...


Tetris on a PIC Microcontroller [Project]

The psychology of Internet Trolls [Psychology]

What is a black hole? [Physics]

14 Free eBooks On Embedded Systems [Knowledge]

Slingshot Crossbow Pistol [DIY]

Latest Google Glass Firmware Gives A Tantalizing Glimpse At A Ton Of Future Features [APK Teardown]

10 facts about black holes [Space]

RumbleRail - Floppy Disk Jukebox [Project]


<< 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: Long comments or comments of general interest are NOT to be posted here. Please use the forum instead. You will receive a reply much faster.


      

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