Hello Again Everyone,
First of all thanks a ton to all of you who have help me so far, I am learning a ton.
So here is what I need to do.
I would like to use a PIC to emulate keyboard key presses. Like sending ASCII strings to the pc. I would like to interface this to the computer via the ps/2 port.
The programs that will be using this need to believe the codes are coming from the keyboard or it will get angry lol. So the keyboard just needs to pass though.
The power source would of course be the 5 volt rail from the ps2 port.
Here are my requirements:
1. I need at least 20 I/O ports
2. I need to be able to program multi-key combos on one I/O (ex Ctrl-a or Alt-j)
3. I need key presses to be repeating (like an arrow key or joystick)
4. Preferable be able to program LED's but this is not a must.
5. I would prefer to be able to reprogram the PIC but again this is not necessary
6. Cost of the PIC needs to be less than $30.00 for this to still be feasable
SO here is what I am asking and be fore I continue, I would gladly pay someone if you would be willing to help me with the circuit. Or I own several CNC machines so if you need control panels etc cut, just let me know.
Also, I will be have my own PCB boards produced so there is no limitation there.
1. Is this possible?
2. How complicated would this be?
3. What parts would I need to insure no damage to the PC ps/2 port?
4. How would you interface the I/O's to the PIC etc.?
5. Which PIC would you recomend if this would work?
I know there are pre-made encoders out there such as keywiz and and the ultimarc I-pac etc.
However, I do not want to have to arrange the I/O's in any sort of matrix because then key ghosting becomes and issue. Like the Keywiz.
The I-pac boards look like a simple pic with some resistors and diodes and is reprogram amble, but I think I could go cheaper than $30.00 since I will have my own PCB anyway.
THANKS for all you help and I eagerly await you responses.
You may contact me here, respond to thread, or directly at
I forgot to mention that I do have experience programing in BASIC so if there is a pic that could use BASIC programing that would be a plus.
First of all thanks a ton to all of you who have help me so far, I am learning a ton.
So here is what I need to do.
I would like to use a PIC to emulate keyboard key presses. Like sending ASCII strings to the pc. I would like to interface this to the computer via the ps/2 port.
The programs that will be using this need to believe the codes are coming from the keyboard or it will get angry lol. So the keyboard just needs to pass though.
The power source would of course be the 5 volt rail from the ps2 port.
Here are my requirements:
1. I need at least 20 I/O ports
2. I need to be able to program multi-key combos on one I/O (ex Ctrl-a or Alt-j)
3. I need key presses to be repeating (like an arrow key or joystick)
4. Preferable be able to program LED's but this is not a must.
5. I would prefer to be able to reprogram the PIC but again this is not necessary
6. Cost of the PIC needs to be less than $30.00 for this to still be feasable
SO here is what I am asking and be fore I continue, I would gladly pay someone if you would be willing to help me with the circuit. Or I own several CNC machines so if you need control panels etc cut, just let me know.
Also, I will be have my own PCB boards produced so there is no limitation there.
1. Is this possible?
2. How complicated would this be?
3. What parts would I need to insure no damage to the PC ps/2 port?
4. How would you interface the I/O's to the PIC etc.?
5. Which PIC would you recomend if this would work?
I know there are pre-made encoders out there such as keywiz and and the ultimarc I-pac etc.
However, I do not want to have to arrange the I/O's in any sort of matrix because then key ghosting becomes and issue. Like the Keywiz.
The I-pac boards look like a simple pic with some resistors and diodes and is reprogram amble, but I think I could go cheaper than $30.00 since I will have my own PCB anyway.
THANKS for all you help and I eagerly await you responses.
You may contact me here, respond to thread, or directly at
I forgot to mention that I do have experience programing in BASIC so if there is a pic that could use BASIC programing that would be a plus.
Last edited: