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.
PC keyboard and LCD
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: PC keyboard and LCD
I would start by reading http://www.computer-engineering.org/ps2protocol/ and http://www.computer-engineering.org/ps2keyboard/ and perhaps http://www.beyondlogic.org/keyboard/keybrd.htm
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
Re: PC keyboard and LCD
Hi kersing,
Thx for the links.
I thought it would be easier to use the keyboard ^^
Nicolas
Thx for the links.
I thought it would be easier to use the keyboard ^^
Nicolas
- 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
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.
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 447 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
Re: PC keyboard and LCD
Thx Benj
I'll try to understand it and then I'll try to make one : )
Nicolas
I'll try to understand it and then I'll try to make one : )
Nicolas