Page 1 of 1

Adding a PS2 keyboard to your project

Posted: Mon Sep 05, 2011 7:36 pm
by jose
Hi,
This program decodes data comming from keyboard and display its decimal value on a LCD.
It decodes normal keys and some extended keys like the arrows keys that maybe can be usefull to control something. The key value is store in "key_data" variable and you can use it for others purposes.
I think there is enough comments in flowchart showing how it works

Regards
Jose

Re: Adding a PS2 keyboard to your project

Posted: Thu Sep 15, 2011 11:35 pm
by jose
After pressing a extended key, an arrow for example, you have to press the next key twice to have its value.
This new file correct this problem.

Re: Adding a PS2 keyboard to your project

Posted: Mon Jan 27, 2014 12:04 am
by abed_hn
jose wrote:After pressing a extended key, an arrow for example, you have to press the next key twice to have its value.
This new file correct this problem.
Thank you very much ... jose:)
it's work fine with 16f877a ...
but it's not working with 16f628a
-----
when i put this MACRO (LCDdisplay)
if find this result

can you help me please ...

Re: Adding a PS2 keyboard to your project

Posted: Fri May 30, 2014 6:25 pm
by Genilsonsa
Good afternoon I come to thank the author of this topic, very useful projct this up until I added to my project I was doing. Thank you I ask

Re: Adding a PS2 keyboard to your project

Posted: Fri May 30, 2014 6:34 pm
by kersing
Please use English in this forum.

Re: Adding a PS2 keyboard to your project

Posted: Mon Oct 06, 2014 8:51 pm
by Genilsonsa
Hello I need to make an interface to emulate a PS2 keyboard with pic 16F628A, but he would have to work with boot WINDOWS.Alguém can give me some light on how this will work.

Re: Adding a PS2 keyboard to your project

Posted: Mon Oct 06, 2014 8:57 pm
by Genilsonsa
It would be a project of emulating 14 letters of the keyboard .Pic send this to 14 letters pc.Tem how to implement this with Flowcode Can anyone help me on Protoco PS2.

Re: Adding a PS2 keyboard to your project

Posted: Tue Oct 07, 2014 10:55 am
by Benj
Hello,

As your making the keyboard itself is there any reason you are using PS/2 over USB? Our USB HID component will allow you to create a bootable keyboard using a USB enabled device.

I've had a quick look around but most projects seem to use a PS/2 keyboard to interface a PIC rather than using the PIC to create the keyboard.

Re: Adding a PS2 keyboard to your project

Posted: Tue Oct 07, 2014 6:32 pm
by Genilsonsa
Hello thank you for trying responder.Vou me implement this project via USB WITH PIC 18F2550 Thank .Very

Re: Adding a PS2 keyboard to your project

Posted: Sat Oct 11, 2014 3:31 pm
by Genilsonsa
Hello I have a doubt regarding the project with HID usb implementar.Tem like me who want to make a simulation in proteus or another program to see if it is working for windows 7 64bit

Re: Adding a PS2 keyboard to your project

Posted: Mon Oct 13, 2014 12:25 pm
by Benj
Hello,

With USB it's better to dive in and get it working on hardware, simulation will be tricky at best and might not be possible in Proteus.

Here is an USB Keyboard example which should work great with hardware.
http://www.matrixtsl.com/wiki/index.php ... 7a31b97c2a

One of our PIC ECIO devices might be good to help you get started as the USB communications comes working out the box and there is no nasty configuration setup etc.