I had somewhat of a PETSCII induced fever over the past few weeks, one that needed Sating before I could practically start anything anew, or even continue anything existing……..
So, when I (eventually) re-make the C64Mini keyboard kit to be less soldery, more easierer and betterer, It may well have PETSCII on those keycaps, for all your milliputty smudgery into-ey goodness!
A500 Mini Prototype 2 is in the post, Every C64Mini keyboard kit and parts have been posted – I’m finally fully up to date!
I’m having first layer adhesion issues – which is commonly caused by poor levelling on these things
Could also be a number of other issues but I’m confident I can get this resolved next week
The major fault on this one is that the bottom row of keys is all squished going to the right hand side, due to that side not adhering to the build plate correctly.
Have had another print literally just finish – with adjustments and that’s also come off the build plate so I’m really confident that I just need to try re-levelling again!
Apolgies for any delays and people waiting on keycaps….
I believe I may have reached the end of life of my original Photon Mono printer. for the past couple of months, i’ve been having more and more print failures, and have had no idea why. I’ve approached the problem analytically to figure out what’s wrong
Where it started –
I had a proper working file that ‘just worked’ – exposure about 35s for the first layers and about 1.8s per other layer
That started failing a bit. some keys were printing incomplete. I increased the exposure slightly and success again.
More fails, this time the first layers were coming off the build plate. I increased the exposure for the first 4 layers and success again.
had many minor creeps of fails, up to now where i’m at around 50s for the first layers exposure and 2.2s per layer.
I figured maybe the temperature in the conservatory is too low – Nope, iterating a bunch of exposures with the printer near the radiator in the living room also had nothing but failures.
So, after a good 15 fails in a row, many caused my me experimenting with extremes, i’ve given up with the photon mono. There’s many things it could be, but I’m thinking it’s feasible that the LCD has finally ‘failed’. I’ve easily gotten 1500 hours of actual print time on the thing – well over 1000 will be just the production keycaps at 6.5 hours each!
I’m dialling it in to start printing the keycaps. First one’s going right now (50% UV power, 3.5 seconds exposure and 45s base layer if you like to know)
IF this keyboard prints – fantastic, I can print two at a time in just 5 hours! i’ll be through the backlog in no time 🙂
Thanks for listening and sorry again for the delays!
That’s a Pi PicoPartying like it’s nineteen QWERTY nine!!
The interest in the mini keyboard is strong as ever, but – there’s a new kid on the block soon – The Amiga A500 Mini
That Beastie –
To turn this Mini’s ridiculously small keyboard into a ‘toothpicks required to operate’ WORKING keyboard will be tricky as it has a significantly larger number of keys than the C64Mini
It’s taken me a Solid Month to figure out how to get this far – I’m a relative noob to Linux, cross compilation, Ruby, C, and, generally ‘stuff’ like this –
To be able to compile this, i’ve setup WSL for Windows – which is essentially Ubuntu Linux, running nativley in Windows!
Inception! WSL running Ubuntu whilst i type this blog!
And a few other things….all of which are quite finickitey and throw a wobbly at the slightest provocation! – Linux is fun eh!..
I’ll eventually get around to step-by step documenting and linking each step to ensure a good build environment so that others can duplicate what I’m doing
Once it’s all compiled, I drag the .uf2 file over to the pico (after holding bootsel whilst plugging it in) the thing reboots and becomes a keyboard
What’s Next………..
Ensure the Keymap is correct
Finish the basic keyboard layout, testing all basic keys
Introduce shifted keys
introduce ‘layers’ to ensure special keys are correct
introduce fancy stuff
Where this is going……………..The RP2040 Chip is fairly priced against the 32u4. I’m hoping that I can eventually switch the C64mini keyboard over to a fully SMT ready assembled kit – just add keycaps. And, i’m hoping I can do that for the Amiga Mini!, as much as I love soldering 600+ points, I appreciate some of you out there don’t!
And, I’ve another TOP SECRET project on the go also…It’ll blow yer mind! but, in 2022 that one, it’s a long burn that ‘looks’ finished (i’m holding it in my hands now!, all 2 circuit boards and about 100 3D printed pieces) but, needs quite a bit of work behind the scenes.
Also, Blinkenator, slow going, but I’m really trying, it’s just hard getting over this hurdle where it must be soldered….one last thing to try!
And, final before I go to bed, the C64 mini running the keybaord upgrade kit with pi Pico transplanted brains!
It’s being captured via a HDMI capture dongle and OBS studio so I can use my laptop as a test monitor!
There are only a couple of extremely tricky issues remaining now! they may need macros, and may not even be possible
Note with this firmware – It works perfectly with ENGLISH Language and UK Keyboard layout set in the firmware…
I hope to eventually be able to create more localised keymaps to change behaviour on boot so every language in the mini works well. IF there’s any pressing issues, please contact me, I should now be able to quickly and easily tweak a couple of keys for you.
Also, the Firmware will be part of the QMK Github soon, so you can download and tweak away yourselves!
To Upgrade your Keyboard, I’m finding QMK ToolBox to work brilliantly
Most older fimrwares out there will need to have B held down whilst shorting the reset jumper at the top of the keyboard inside , for whatever reason though t
I’ve found this a little flaky for whatever reason, sometimes mashing down every key whilst hitting reset does the trick
To make that more professional…….I now have configured the Bootmagic Lite.
To Update the firmware after this update, simply fire up QMK TOOLBOX, connect your keyboard to a Laptop. Hit ‘auto flash’, select the MCU (see picture above)…then Hold 1 and short the reset jumper inside the keyboard.
I’m still learning how configure all this, so bear with me, it’ll be slick just like those professional Mechanical Keyboards in no time*
*by ‘no tiime’ I mean potentially months and months as i’m tinkering in my limited spare time to add this extra functionality
Arduino leonardo’s can be a little tricky to flash hex files to – be persistant – there’s two Tools that help
QMK TOOLBOX – that shows the keyboard enumerating when you plug in
Set it to ‘auto flash’ and you can try pressing / holding b and space (it’s configured as a magickey in QMK) to get the bootoader to kick in and flash the chip
No PCB gerbers are public yet – play away! any suggestions, happy to look at incorporating them
I’ll follow in the future with more insight in how this lot works, and also modifications needed to get it going better… There’s a LOT to it as the Keycodes – https://sta.c64.org/cbm64pet.html
Don’t map to the HID codes used by USB…so, without some super customisation, certain combinations may never be possible
and a few other C64 USB firmware’s i’ve found – these may have the bits needed to be able to get mine working much better – But, merging things is currently beyond my skillset – I’ll figure it out eventually
And, this awesome public project! – If you want a ready made USB interface – This looks great. Has some quite complex QMK mapping that i’ve not been able to understand – maybe it can be modded for my PCB!.
My previous QMK on my small dev laptop worked great. However, moving the directories over to my new laptop (after the kids smashed the old one) – Not working so great
I was now stuck with a handful of ‘blank’ arduinos and no way to update the firmware code, nor any easy way to flash the .hex files to them
Long story short – a friend familiar with programming Arduinos found me this
C:\1leo\arduino-leonardo-uploader-master\windows>testu Upgrade procedure starting. Missing parameter or file, you should provide the full filename of an existing .hex file you want to use.
C:\1leo\arduino-leonardo-uploader-master\windows>testu C64_default.hex Upgrade procedure starting. Com Port for Arduino device is detected as COM7. Reset Arduino into bootloader Com Port for Arduino bootloader device is detected as COM6.
Starting AVR Downloader/UploaDEr…..
Connecting to programmer: . Found programmer: Id = “CATERIN”; type = S Software Version = 1.0; No Hardware Version given. Programmer supports auto addr increment. Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices: Device code: 0x44
avrdude: AVR device initialized and ready to accept instructions
I can actually program up arduinos for Mini keyboard kits!
The printer actually seems to be functioning
I’m back in Business
What’s next though
Figure out QMK, I’ve found a lovely chap who’s helping out a bit to compile my keyboard into the new version of QMK being used….then I can finally start doing some development again!
and, more importantly, get this C64Mini keyboard listed in QMK for you guys to be able to easily play with the firmware….
Having some fun with the printer this past few weeks. many, many fails
Lightly used, honest
Some possible lessons learned….
1 – Don’t mix Resin brands and pigments in untested combinations
I’d ordered a bunch of ‘expired’ Elegoo translucent green resin, going ridiculously cheap, (like 1/3rd the price it should be) it prints FANTASTICALLY…BUT
….I normally use Anycubic Clear, just because it’s what i started with, and it works.
Mixing in an old batch of C64 Brown with the new Elegoo didn’t really work. I had 6 failures in a row – which i’d assumed was the FEP or me doing something silly / bad levelling . The 7th failure punctured the FEP! At that point i’d realised what i’d done (mixing all the stuff together) so, ordered some new Clear resin. I got a perfect print straight away!
The thing you see above is me, changing the supports (finally) after having issues with the old base layer being too thick and seperating from the build plate. I’d gotten around this by using longer base exposures, but still, had more failures than I’d like.
Hopefully now i’ve new FEP, new resin, and spent a couple of hours doing the supports properly, I’ll get a fresh print tomorrow!
anyone good with QMK?
My next issue – as you can see above…QMK. I spent weeks learning how to, and setting up QMK on my old laptop, which the kids smashed.
QMK has moved on a little it seems as now there’s a dedicated QMK MSYS32 installation…BUT, it doesn’t compile my old keyboard layout. if there’s anyone good with QMK out there, give me a shout!. I’ve no doubt I can get things working again to work on the code a little, just pressed for time for the next month or two and, i’m getting the coding itch this past few days 😛
For you English, This translates to “paste for interiors”….amusing that PASTA=PASTE…no wonder some stuff we ordered a few years ago in venice came a bit squdgy 😛
Use a damp cotton bud or similar type of thing to poke a bit in at a time and not get it everywhere!…leave to dry. clean up, then coat with some type of laquer or conformal coating if you really want!
Lots of pictures here, But looks like the latest batch of C64 Mini hackers are quite the clever lot. Batch 21 has been arriving around the globe, and look wot some guys gone done!
First email arrived early this morning – Vinz!, You’re a genius…..My jaw dropped!
Some explaination of the pictures…….
In photo 1, I used a ruler with double sided tape to solder switches as straight as possible
in photo 2 I used white putty to color the caps
in photo 3 I cleaned the excess putty
in photos 4 and 5 I painted the caps with matt transparent water-based paint, in this way the filler is protected
If you’ve paid for a kit or just keycaps or waiting on spare parts, it’s now posted.
Missed the Saturday run to the post office so sorry about that.
I’ve now a small amount of stock of keycaps and plenty of kits so I can relax a little and have fun printing other stuff for a change! Can you believe that I’ve run at least 6L of resin through the printer …JUST developing and then selling these keycaps, I’ve never printed anything else on it 🙂
A quick pictorial ! on the process of creating keycaps.
Step 1, Recycle the IPA. Leave it standing for a few days, it settles, becomes clean! This is a month or two of settling. I now have about 4L left from my original 7.5L…not bad for nearly 10L of resin printed Step 2. Print and drain! Leave like this for maybe half an hour or so to drain off excess resin. Step 3. Scrape keyboard off the build plate Step 4. Throw keyboard into a small bag of IPAStep 5, throw bag in ultrasonic cleaner! BONUS step….put bottles of coloured resin in for a while to get them mixed wellStep 5a. Drain IPA off into settling container for recycling. Fill Ziplock bag with water and drain to bucket. Repeat again. One clear GPU can run under the tap!Step 6 – dry and separate the keys! Then leave overnight in a box to dry properly before curingStep 7 – ensure you agitate the vat well, scraping gently all the pigment off the bottom.Step 8 – sorting! – visual inspection of each set to grade them A or B. Also, within the same colour mix batch I’m able to potentially make one good set out of two bad ones!
I’ve missed out a few pictures, but this covers the basics. Using a timer, it’s around half hour all-up per keyboard. Sometimes a little more if a print fails!
A failure!
Tried to make a ‘GOLD’ keyboard but need to research a little on how to keep the particles suspended. This one failed due to too much gold. It all sunk to the bottom causing layers to become underexposed and ultimately sticking to the FEP
This was supposed to be clear!
Also tried to make a crystal clear keyboard…unfortunately I topped up the vat with a tiny bit of the gold mix from a poorly labelled bottle I use f or mixing (I didn’t write any label!) I’ll give these away with a kit to the first person that asks 🙂
F Keys!
Quite late into development, I’d realised that the F keys were supposed to be a different colour. So, I add two sets of F keys to kits. Some early ones went out without the extras. Happy to send some out if you shout.
Thankyou everyone for your support! Sold quite a few more kits with keycaps than expected so frantically printing away more!
If you’ve paid for a kit or just keycaps, they’re all packed and ready to go! Should take between 3 days and 3 weeks depending on where you are on the planet!
Doesn’t look much but that’s A good couple of days of Labour and a two solid working week’s worth of printing time!!
I’ll hopefully be getting more time to update on other things soon 🙂
Hi All. everyone that’s expressed interested has bought up a kit, thankyou all. I now have general stock of unassembled kits available for immediate shipping
Was just about to order another 4000 switches and take the hit…Decided to check the tracking number and FINALLY, after a month in Limbo, the switches have been released from Liege, the infamously slow sorting centre in Brussels.
SO, should be here next week and i can Finally get sending kits out!
Sorry again about the delays, I’ve now bought excessive stock so, should be able to turn around things quite quickly.
also built up a little stock of the keycaps which can be included in the kits at no additional postage cost
The letters are recessed into the keycaps and are very legible.
I’m working out postage costs as right now they’re still large letter in size here in the UK.
I probably won’t ship all of them them ‘on the supports’ as that doubles the weight
To fit them you just clip them onto your key switches
Example of a B Grade Set – note the blemishes on the F KeysAn example of an A Grade set – no obvious blemishes
Painting. I haven’t been able to find an effective way to do that my end. A few suggestions have come in, maybe White clay would work well finished with laquer.
Arduino’s are still stuck in Limbo. I received 50 incorrect ones a long while back, ordered another 50 and they’ve been stuck somewhere in the UK for a couple of weeks now. I did order 10 locally at about 2x the price I normally pay to work through some of the waiting list, but that exhaused my supply of PCB’s
So, I ordered back at the beginning of February some more PCB’s
They arrived yesterday, and, I quickly soldered one up to test, so I can start ‘kitting up’ the keyboard kits.
I may have discovered an issue with the way that i’m Using EASYEDA, which has recently shown up in an EASYEDA update….it could be a bug, or a behaviour change, but, it’s B0rked my PCB!
This will set back the kit availability a couple of weeks whilst I address it and get new boards made. I know what the issue is, I can re-create it and have a work around to order more PCB’s so it’s no major worry
Here’s the C64 Keybaord matrix that i’m using. I’ve always used number prefixes for the number keys. i.e. if it’s A, I’ve used the PREFIX A, 1, Prefix 1, etc , etc.
Something changed in EASYEDA a couple of months ago which now means that Prefixes with a single digit number now all seem to tie their nets together.
Here’s the resulting PCB – Note, the nets for the centre pins are all the same!
I didn’t spot this in the one that I just had made! and despite the thoroughly heroic efforts of the JLCPCB staff to fix a couple of cockups i’d made , I have to now trash this batch .
Here’s what happens when I select the Net – ALL the numbers light up as they’re all connected!. oops
Ah well, off to learn a little more about EASYEDA, quite an expensive mistake though, but this shows why, when you make changes, testing is important.
You can imagine how amused I was when I discovered that EVERY key worked on my board, except the number keys, which only typed 0 or 9 !
In other news – I purchased one of these
An Ultrasonic Cleaner – Dual Frequency 28KHz and 40KHz. I’ll do another post about it later.
All i can say now is WOW – No need for the wash and cure station now! – this thing superbly and consistently cleans the prints, giving a good surface finish. Prior to this, it was impossible to get a good finish on every key, every time. Now, i’m 4 prints in , and 3 are perfect, 1 is crap due to over-cleaning! I’m dialled in and ready for production
The mechanical, fitty holey type tolerance, not the other type of ‘oh, that’s annoying, but i’ll put up with it’ type….
Here’s the keyswitch fitting into the space bar. zoom in. we’re talking fractions of a millimeter fit, which I can achieve consistently and reliably! there’s about 0.1 mm available on the sides with the latches and about 0.2mm availavle on the longer sides. the extra really being there to allow some grace when placing the keycap on to fit it. less clearance means it’s a royal pain to get the switch located into the hole.
BUT, the keys don’t ‘latch’ into place on the switches. So, to try to address that (if it’s even possible) i’m now adding a small feature
See that bit in Blue!
This is the underside of one of the ‘F’ Keys. That small part in blue is a 0.1mm ridge sat about 0.8mm up from the bottom and 1mm from the top. I’m hoping that will be enough to latch the keys on, AND allow ease of fitting without breaking the keycaps. Everything else is done now, this is the only barrier to releasing. I’ll run off a print tomorrow to see how it works out. I’ll run off further prints with this sticking out even more if i need to
Happy chappy this morning. They finished printing last night, my draining widget worked a treat – I’ll put a quick GIF up soon.
But, forgot about them until a mad panic at close to 1AM remembering I’d left them on the printer. With these, you can’t as the resin in the concave surfaces will part set in the morning and cause an uneven surface.
So, quickly washed them in IPA, regretted it immediately as it was dirty. Did another wash in IPA to clean the resin and straight to the hot water tap and larger bowl with a brush to clean off the bits. I’ll strain out the bowl later.
Final tweak needed now is the amount of grip to the switches themselves, shrinkage is variable at the moment, can’t go too small or keycaps may break when putting on, can’t go too big or they’ll be too wobbly and fall off.
May need to go middle ground and require a tiny blob of something sticky in each keycap, I’ll know soon enough!
Has some successes with varying mixes of pigments! Wifey demanded I do a bronze one.
Fine adjustments needed only now and it’ll be a wrap.
….problem is, fine adjustments’ll probably take another 80% of the total :-p
Now, gotta figure out how to get Arduinos quickly as 50 wrong ones just turned up and due to Chinese New Year my expedited (expensive) DHL delivery won’t leave for a couple of weeks, D’oh! Best laid plans….
Well, final furlong for the 3D printing part anyway! Next step, investigating colouring in
Oops! One of these is near, the other is far away!
This’ll be a while away yet, but the REV4 PCB, has some new, experimental features that will possibly allow some extra functionality when used with stuff other than a C64 mini!
For the purposes of this kit though, the board is a little easier to solder due to slightly larger pads, I’ve also added silk screen ‘dots’ to the rear to show the only two pads you actually need to solder (or possibly one of the two if i’ve gone and goofed up the positioning! ).
I’ve removed the USB HELPER pads, these weren’t actually that useful
The other thing being added are pads that say ‘Joy’ – I’ve no idea if this will work, but my plan is to see if there’s any way to map the C64 Joystick onto the keyboard and then into a PC / MiSTer or other device with a USB socket. I’m putting these unpopulated pads on production boards as, now due to Brexit, it costs a fortune in customs fees and shipping for small orders of prototypes. I mayaswell order 50 boards which are tried and tested, with small mods on. If the mods don’t work, no loss – the boards still function just as sold.
If they work, AND i can develop the firmware, AND the software then it may add useful features for some people! But, my focus right now is getting the mini version perfect and not any extra features that require a lot of time for me to learn how to enable! If they’re ever enabled, i’ll probably spin them into a SMT only board so I can sell a ready assembled version for a little cheaper than the £60 i’m currently selling for
Also on this one, i’ve fixed the C64 header pin ordering to save people having to make an adaptor cable due to me swapping two columns and putting the rows in reverse!, D’oh!.
Couple of successful prints! Rev 6 – just binging in stuff and hoping it works.
Rev 7 – more scientific and better CAD – all letters are now 0.2mm wider and deeper. This tiny tweak shows spectacularly well just how big a difference small changes can make.
Still some more CAD to do but soo close to final now!
Bottom row and space bar is Rev 7. Top 3 rows are Rev 6Closeup of the better definition.
And, finally, the print itself. I’ve learned that supports are critical here. Lots of them!
There’s actually as much material here in the supports as there is in the keycaps, but if you scrimp a little and try to reduce the amount, check out the top left of the picture below. I lost the return key and a few smaller keys were taken with it.
This was a calculated ‘risk’ by leaving this section to just have the standard auto generated supports, every other area had super dense supports.
There will be a middle ground, which I’m working on as I’d like to offer these cheaply…less resin used = cheaper to make!
Also, note the rest of the supports. THey are SO EASY to remove. When I offer these keycaps for sale, again to reduce cost, I’ll probably leave them as you see here. Makes for more robust packing and if you decide to paint them, you already have them held down on a convenient stand!
Added a blob – maybe 1-2ml worth off the end of a lollipop stick
Stirred that in with 150ml (well, about 150g by weight as that’s far easier, and it’s close enough) of Anycubic grey resin
And….
Very happy! Considering this is literally bunging stuff in and seeing what happened.
Still some way to go now to try the other clear resin and white resins, also tweaking the colours
Also have I some distortion issues on these keys but those are under control as there’s a very clear relationship between support structures and distortion/warping and underside finish!
If that prints, I can try adding black pigment to make it darker brown.
If it doesn’t, I can try using a CMYK mix of colours to make the correct Brown
Once I get that shade, I can try different resin bases to see what gives the best finish! Maybe clear + brown or white +CMYK will do the job!
I’ll be iterating the CAD model and the colouring at the same time!
Hopefully this new CAD model will fix the minor offset issues with the keyboard, shifting all the keys slightly to the right also allowing me to finally reveal a working test fit!
One small thing I picked up when test fitting my first attempt, I’d not perfectly centred the left shift key button and Return buttons on the PCB. It doesn’t matter in the grand scheme of things as hacking your own keycaps doesn’t need perfect alignment on the wider keys, only the 1 wide keys
Where it is annoying though is I can’t correct this error or any keycaps I make now won’t perfectly align on old keyboards! Heh, what’s 1/2mm between friends eh!
It’s been a rollercoaster few days with the Retro Receipies Youtube video.
I’ve now run out of some components for the C64 Mini keyboard kit. More have been ordered, I’m just waiting on a last few people to send over payment and i’ll pause things for a few weeks until parts arrive.
I’m hoping that the delay also will help some focus to drive the keycap development and a feature change to the PCB
I have to say Thankyou to Perrifractic for reaching out and increasing the profile of this little kit, and that the response has been unexpected. This is a little hobby that I have in my spare time between juggling the bill-paying day job and the wife and kids, it gives me the pocket money to buy more gizmos to help develop these gizmos.
I ordered most of the ‘long lead time’ parts last week, so i’d expect it to now be mid-late february before I can sell more full kits.