PC keyboard and LCD

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

PC keyboard and LCD

Post by Spanish_dude »

Hi everyone,

I have a little project in mind.
What I want to do is to write on an LCD with a PC keyboard.

But, the problem is that I don't know how a keyboard work, how it send the data, how do I connect it to the microcontroller, ...

Can anyone help me with that ?

Thx : )

Nicolas

PS: I readed this first: http://computer.howstuffworks.com/keyboard.htm, but it wasn't of great help.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: PC keyboard and LCD

Post by kersing »

“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: PC keyboard and LCD

Post by Spanish_dude »

Hi kersing,

Thx for the links.

I thought it would be easier to use the keyboard ^^

Nicolas

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PC keyboard and LCD

Post by Benj »

Hello Nicolas

Here is an example program of interfacing a PS2 keyboard. The code is quite old and isn't great im afraid but I did get the keyboard working quite nicely.
Attachments
Software.zip
(260.78 KiB) Downloaded 424 times

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: PC keyboard and LCD

Post by Spanish_dude »

Thx Benj

I'll try to understand it and then I'll try to make one : )

Nicolas

Post Reply