General Category > Amstrad CPC hardware

6128 Keyboard scan codes

(1/2) > >>

Ynot.zer0:
Hi,
Does anyone know if there is any information on using a CPC 6128 keyboard, capturing and converting the scan code signals and outputting to a PS/2 keyboard (basically so I can plug a genuine 6128 keyboard into my T-REX or a PC laptop running WinAPE).

I've found CPCKey but there is not enough information supplied and the project died a long time ago.

Basically I'm looking for any information anyone has on the scan codes that get output from the keyboard membrane to the CPC (are there any electrical engineers out there?)  I plan to capture the scan codes, use a simple PIC to then convert them to PC codes and then output to the PS/2.

any help greatly appreciated.

Ynot.zer0:
 :o  maybe I should have searched the CPCWiki a little bit harder the first time around!

also found a helpful reference guide in the 'Anatomy of the CPCs' book, Page 80+81 (maybe having all the books scanned in and uploaded to the CPCWiki is a good idea, after all)

Still, if anyone else has done this sort of thing before (or even considered it and stopped), please let me know

Gryzor:
Heh! I saw the email notification and I was sure there was something on the wiki, but you beat me to it :D

Ygdrazil:
The CPCKey project is a very extensive project and would probably not be well suited for your "Laptop CPC project" - The complexity and physical size would make it hard to fit into the small casing of a laptop. A more modern approach would be to use a PIC controler and let it make the matrix calculations instead.

Having all the books scanned on the CPCWIKI would indeed be great.. But it would also be the mother of all scanning projects!! But who nows only time can tell.. One book at a time.

By the way i think your laptop CPC project is very very nice. I am anxious how it will turn out.

/Ydrazil




--- Quote from: ynot.zer0 on 20:57, 01 August 09 --- :o  maybe I should have searched the CPCWiki a little bit harder the first time around!

also found a helpful reference guide in the 'Anatomy of the CPCs' book, Page 80+81 (maybe having all the books scanned in and uploaded to the CPCWiki is a good idea, after all)

Still, if anyone else has done this sort of thing before (or even considered it and stopped), please let me know

--- End quote ---

Ygdrazil:
Well to be more specific,

A similar approach with a PIC controller has already been used on a Apple II 70's computer!

check:

http://seb.riot.org/appleII/keyboard.sml

I would use a different PIC controller because the way the CPC addresses the keyboard is different than how the Apple II does.

The PIC18F1XK22 would do okay i think, and costs about 2€ at my local electronics store. 

The pins of the 20pin keyboard connector of the CPC would go into the respective I/O ports of the PIC otherwise the diagrams would be the same.

As stated on the page:

Even if it's obvious: don't solder everything directly to the CPC keyboard-socket, put another 20pin connector with pins on both sides inbetween, you risk damaging the CPC PCB
You would need a PIC flasher and some PIC programming nowledge(not to hard as there are som exelent tutrials/tools out there), and not be affraid to use a soldering iron  :)

Would be nice project though..

Regards,
Ygdrazil

PS. About PIC's http://en.wikipedia.org/wiki/PIC_microcontroller


--- Quote from: Ygdrazil on 13:54, 02 August 09 ---
The CPCKey project is a very extensive project and would probably not be well suited for your "Laptop CPC project" - The complexity and physical size would make it hard to fit into the small casing of a laptop. A more modern approach would be to use a PIC controler and let it make the matrix calculations instead.

Having all the books scanned on the CPCWIKI would indeed be great.. But it would also be the mother of all scanning projects!! But who nows only time can tell.. One book at a time.

By the way i think your laptop CPC project is very very nice. I am anxious how it will turn out.

/Ydrazil

--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Reactions Mod
Powered by SMFPacks Alerts Pro Mod
Powered by SMFPacks Mentions Pro Mod