Commodore PET Replacement Keyboards by charlesmouse 3d model
3dmdb logo
Thingiverse
Commodore PET Replacement Keyboards by charlesmouse

Commodore PET Replacement Keyboards by charlesmouse

by Thingiverse
Last crawled date: 3 years, 3 months ago
Commodore PET Replacement Keyboards (under construction)
1) "SK" Keyboard Shell 3D Models
2) "SK" or Business Keyboard
3) "GFX" or Standard Keyboard
The Commodore PET is a part of computing history, one of the "trinity" of home computers from 1977... at least if you are American.
A working PET in one of it's many guises is quite the machine to have if you are in to retro computing. But there are two recurring hurdles for functioning PET Nivarna:
-PET keyboards are bloody crap and get more unreliably crap as the years roll on
-The groovy "SK" models have a detachable keyboard that is commonly missing
Having a bought a cheap PET 8096SK + matching floppy drive, but without keyboard, I have spent years looking for one without success - that's why keyboardless "SK" PETs are cheaper than comlete ones.
It's true that most 8bit Commodore computers use much the same connection so it's possible to butcher a Vic-20 or C=64 keyboard to do the job. But in my opinion it dosen't look right and if you are a keyboardless "SK" owner the best you can hope for is an ugly mess of wires.
Having had enough of this situation and utterly shocked that no one seems to have beaten me to it I decided to sort my lack of a keyboard once and for all by designing a drop-in replacement for the "SK" mechanism using modern components along with the 3D models required to construct an OEM acurate housing.Having gotten the bit between my teeth, and knowing how increasigly rubbish old PET keyboards are I also designed a drop-in replacement for the more common "GFX" mechanism.
Now there is finally a way to have a functioning and reliable PET keyboard it's only right that I should shareNo I'm not going to do a replacement "chicklet" keyboard as found on the very first PETs. Frustratingly the most awful PET keyboard is the most reliable anyway.
Instructions:
1) As you are most likely reading this on Thingyverse let's start with the 3D Models for the "SK" keyboard shell.
-PET_SK_Keyboard_Top.stl and PET_GFX_Keyboard_Bottom.stl are the models for the upper and lower halves of the shell
-PET_SK_Keyboard_Shell.123dx is the 123D Design file provided should you wish to edit the design further
Note:
Lacking both a "SK" keyboard of my own and the original Commodore design making this model has been quite the SOB. Having said that I believe it's pretty darn accurate and with some effort should make for a pretty convincing replacement...
...having said that I have not seen the inside of the "SK" keyboard housing so I very much doubt my internals resemble those of Commodore's.
Construction:
As far as printing the parts I'm afraid that's up to you. The .stl files are likely far too big to fit in most 3D printers so you have two options:
i) Slice up the models in your, er, slicer and print out in lots of bits.
-If doing so I'd strongly advise ABS as the parts can be permanently "glued" using Acetone slurry or having some epoxy on hand to make solid and sandable bonds.
-The Keyboard PCB can be used as a convenient method for holding the upper shell together while gluing, the lower shell can then be matched to the upper during it's assembly.
-DIY printing and assembling is going to take one hell of a long time and use a lot of plastic - be warned! It's also important to realise that once glued you will need to spend a good deal of time with filler, sand paper, primer, filler, sand paper, primer, filler, primer, paint, sand paper, paint, paint if you even remotely hope to get a good result.
Tip: A small sponge roller with some thick primer once you are happy with the shape is a good way to replicate the texture of the computer's plastics.
ii) Just send it off for commercial printing!
-Many of the problems become someone else's but it's going to be very expensive. Get some quotes!
-There will be much less finishing work to do but for this kind of project the results are entirely down to the work you put in.
The Keyboard Mechanisms:
2) 3)
Both designs are my own work based off available Comodore reference material. They are both intended to be a drop-in replacement for the OEM mechanisms.
Note:
As I don't have the means to make the metal parts my "SK" keyboard housing is designed to mount the bare keyboard PCB directly; mine or Commodore's. If you are intending to use either of my designs as a replacements for knackered Commodore units remember to keep the metal bits for fitment to Commodore's cases!
My "SK" keyboard should be a near-perfect fit as I found the original design files. The "GFX" keyboard should also fit with regard to key placement but the PCB may be a little out as I had to take an educated guess - it should be fine but a little faffing may be required
Both Keyboards:
-An accurate reproduction of the Commodore's originals using Cherry MX switches and key caps.
-There are two extra CRSR keys located either side of the Space Bar for convenience, and also the PET's Space Bar is longer than any commonly available today.
-The "old school" locking SHIFT LOCK key has no modern analogue available. I have implemented two solutions:
i) Quick 'n dirty: The SHIFT LOCK key can be configured to act as a normal SHIFT key.
ii) Awesome: The PCBs include an optional circuit to implement shift-locking electronically and an indicator LED. If used a 5v line will need to be brought from the computer's motherboard to the keyboard. I have re-purposed the unused "Key" pad at the keyboard end for this job.
-I did consider adding diodes to the keys to reduce ghosting issues but in the end decided against it:
i) Who cares? It's a retro system, any foibles within reason are part of it's charm, all of it's ancient software will will be written with this in mind.
ii) Given Commodore's habit of building kludgey solutions in to it's hardware I don't want to risk breaking the highly dodgy mapping system, especially where modifiers are concerned.
The "SK" Keyboard:
-The layout has been further altered to reflect the C=64 as some of the PET's keys are in really awkward places.
The Keyboard Circuitboards:
Designed in Eagle because that's the industry standard even though it's an unintuitive bastard to use. Still, I've done my time learning it so don't ask for versions using other CAD software! My original Eagle files are included as well as .png files of the schematics.
For those who just want to get on with it the files you will be most interested in are:
-...BOM.txt - a list of parts required to build the Keyboard - if in doubt use a search engine.
-PET_SK_Keyboard.zip - an archive of the Gerber files required to have the "SK" Keyboard PCB made.
-PET_GFX_Keyboard.zip - an archive of the Gerber files required to have the "GFX" Keyboard PCB made.
...Now don't come over all sweaty!
Assuming someone else has done all the hard work, in this case me, getting a PCB made is really, really, really, easy.
a) Select a DIY PCB fab house, there's lots to choose from. These days I use Seeed Fusion because their quality is really good and they are damn cheep!
b) You will likely need to know the dimensions (in mm) of the PCB you want making. Although many services sort this auto-magically it's worth checking the numbers are correct. The measurements are listed at the start of the BOM.txt file for each keyboard.
c) Go to the design upload page, upload the .zip file containing the Gerber files (the layout specifics of the PCB you are having made) and choose how many boards you want.
PCB's are usually made in batches so you will find ordering more than one is expected and it's not a bad idea to order the maximum for the price-breaks offered. eg: Many companies have a default of 3, Seeed tends to make a calculation based on PCB size so it's worth a fiddle before you hit "send".
d) It's highly likely that all the rest of the info can be left at the defaults. The "standard" PCB thickness is 1.6mm and I'd stick with that. Do be sure all the cheapest options are selected - you don't want to be ordering gold on flexi-PCB for example as that will cost you an arm and a leg and a wobbly PET keyboard is of no use at all!
e) This is a TWO-sided PCB design. I guess if you had nothing better to do with your life you could go through the pain of routing these as a single-sided designs to save a little money... personally I see no reason to do this unless you want bonus points for etching your own PCB from single-sided copper clad. Fun if you are in to that kind of thing.
f) You will likely have a veritable rainbow of PCB colours to choose from. Try to resist the temptation to order anything other than "green". You are only the current keeper of your classic computer, do consider the sensibilities of future custodians!
g) Once happy hit send and fill in whatever details are required for payment and postage.
Note:
Most of the cheaper / better Fab houses are in the Far East - be very careful to be sure you selected a cheaper postage option. Yes that will take a while but it's time you can use to collect parts. Overnight delivery from the far East will come with an eye-watering bill!
h) Once your PCB and parts have arrived take a good look at everything, note the helpful writing on the PCB to guide you, and go solder up your monster. I strongly advise dry-fitting everything to be sure you are happy with how things go together BEFORE attacking it with a soldering iron!!!
PS
Chances are you ended up with more parts than you need as well as more than one PCB. That's ok, it's nice to have spares in case of cock-ups. Also the savvy will build more than one as the spares can be sold on to recover costs. ;-)
Yes, yes, I know... The SHIFT LOCK circuit is done with mostly surface mount parts. There's really not many to solder and it's really not hard to do, it just requires patience. Look up some Youtube videos if you need guidance. Practice first!
If you really, really, don't want to face it that's fine. I included a jumper pad to bypass the whole thing - your SHIFT LOCK key will function as another SHIFT.
Key Caps:
Cherry MX keys so there's plenty to choose from. The ...BOM.txt files should help with specifics, they are all standard size keys. Both keyboards use a x7 length Space Bar because that's the longest available.
Do try to get key caps that are somewhat like the Commodore originals... would you want to see your granny wearing your sister's clubbing outfit..?
Decals:
A keyboard isn't much use if all the keys are blank. It's really up to you how you go about making those key caps useful. My prefered option is to:
-Download the required images, just do a search
-Print them out on to water soluable decal paper
-Apply the decals
-A light blow-over with some satin lacquer
Note:
If you are applying more than one decal to a key, such as the PETSCII decals on the front of "GFX" keys, I would suggest doing one at a time followed by waiting for the lacquer to properly dry before adding the next one.
Connections:
If you are going to use my designs to replicate an "SK" keyboard it's entirety likely you don't have the connection cable, me too! :-(
Happily suitable multi-core cables (preferably curly) are readily available, as is the required connector at the computer end - search engine. Just make sure you choose a cable with one extra core for that 5v line if you intend to use my SHIFT LOCK circuit.
The connector for the keyboard PCB is a Commodore only item so you won't find one new. Two options are to solder the cable direct to the keyboard (I have included pads) or reuse a connector from a dead Vic20 or C64 mechanism.
I have included a wiring diagrams for the "SK" cable, the "GFX" connection is pretty straightforward and there's plenty of info on line if you are stuck.
Finally:
I hope you have fun building your PET SK keyboard, if you find this "thing" useful or interesting do please share. There are a lot of PET owners out there who would kill for a replacement keyboard, it amazes me that as far as I can tell I'm the first to publish a full set of DIY instructions and files.
PS
If you're thinking "I wonder if I can persuade CharlesMouse to make one for me?" the answer is "No!, don't ask!"
-I do these projects for my own amusement and needs
-I like to share because it's nice to be nice, and I hope to encourage others to get stuck in
-Going in to production opens a tedious can of worms that I have absolutely no interest in.
Q & A:
Q: Are there any mistakes in these files?
A: Very likely, although I have thoroughly checked everything. Sadly the world we live in requires me to state that I accept absolutely no responsibility for the suitability of any of the provided material.
Q: What am I allowed to do with these files?
A: If it's for your own personal use whatever you like and I hope you find them useful.
A: If you intend to make stuff for others that's very generous of you, all the best.
A: If you intend to use to manufacturer for profit items based on these designs or derivatives of these designs I expect to be credited.
Otherwise best of luck but please don't go ripping people off - I have been known to manufacture boards of my own design to sell at minimal cost just to publicly embarrass / put out of business anyone I find using my material to make silly money.
You have been warned! If I am prepared to give away my hard work for free the least you can do is not take unreasonable advantage of people.
Q: Feedback?
A: As the years go by I get increasingly jaded as there's always a vocal minority who seem to feel it's their duty to rain on other's parade, but do feel free to leave comments here:
-Kind comments are always welcome
-Suggestions are always welcome
-Constructive criticism is always welcome
-If you think you could have done better then do so, I don't need to hear about it
-Pissy comments will be met with a suggestion to go -f- yourself if I bother to respond at all
Q: Will you be making / selling any boards yourself?
A: Never say never but assume the answer is absolutely not!
Q: Why?
A: I do this kind of thing for my own amusement and release what I do in the hope others may benefit.
-Manufacturing runs of electronic devices is no fun at all
-I just can't be bothered with the flack one inevitably receives from selfish idiots as a result of going in to production...
...unless it's to teach carpet-baggers charging too much for my designs a lesson!
Q: Support?
A: If you have a question feel free to ask but while I try to give full and helpful answers I'm rarely about so don't answer often.
Q: Why are you such a misery?
A: Too many years of too many unreasonable responses to my attempts at being helpful. As a result I remain helpful but only on my own terms.
Do have fun, I sincerely hope lots of people find these designs useful.
CharlesMouse.

Tags