Sunday, 24 September 2023

Minstrel and Mini PET Kit Updates

Update

I have reopened my Tindie store and have new batches of Minstrel 2 and 3 kits, for ZX81 case or standalone with keyboard, and ZXpand microSD card interface.

From there I can ship worldwide.

I will slowly be moving things over there from my SellMyRetro store, so if there is anything that you want, let me know and I'll add it.

Minstrel 2

The Minstrel 2 is a ZX80 compatible Z80 based computer with 16K of RAM and jumper selectable 4K integer BASIC or 8K floating point BASIC. The later is compatible with the ZX81 with the exception of SLOW mode, which is not supported by the ZX80 hardware (which mean most ZX81 games will not run).

The Minstrel 2 and 3 main boards are ZX81 sized, so can be fitted in a ZX81 case as a drop in replacement.

The detachable tact switch keyboard is optionally available if you want to run it stand alone, and can also be shared between the Minstrel 2 and 3.

I have recently started making more use of the detachable element to swap between versions with keywords for the 4K and 8K BASIC on the Minstrel 2.

To that end, I am now offering that in built and kit form with dual keyboards that you can swap as easily as you change the jumper from the 4K ROM to 8K ROM.

Minstrel 2 at Tindie:

Minstrel 2 at Z80kits.com:

Minstrel 2 on Sell My Retro:

Minstrel 3

The Minstrel 3 is a ZX81 compatible Z80 based computer with 32K of RAM and 8K floating point BASIC. It does support slow mode, and several high resolution mechanisms, so the majority of ZX81 games will run fine.

As with the Minstrel 2, this is available in a variety of forms, including ZX81 case and standalone with tact switch keyboard.

Minstrel 3 at Tindie:

Minstrel 3 at Z80kits.com:

Minstrel 3 on Sell My Retro:

Minstrel ZXpand

Add an SD card and joystick to your Minstrel 3. (no, this will not work on a real ZX81 before anyone asks)

Minstrel ZXpand on Sell My Retro:

Micro ZXpand Minstrel

This is a cut down version of the Minstrel ZXpand, based on ZXpand by Charlie Robson (sirmorris). It is only suitable for more recent Minstrel 3 boards with the pads by the edge connector (V3.5.5 and V3.5.8). I will, as is customary, state this is not suitable for use with a ZX81, but can now add also unsuitable for Minstrel 2 and older Minstrel 3 boards, and it will not fit inside a ZX81 case (there are pillars in the way).

Minstrel Expansion Bus

This is a four slot backplane with the same 2x23 pin header as found on recent Minstrel 2 and 3 boards. With optional power input and 5V regulation and a rear pass through connector. Can be plugged into a Minstrel 2, Minstrel 3 or a real ZX81 (which can be powerd from the DC power jack, avoiding the rather poor 3.5mm jack onboard).

Available in assembled, kit and PCB only versions. If ordering assembled, let me know which options you would like.

But what can you plug in?

Well, how about a Kempston compatible joystick module.

Minstrel Joystick

This is a simple Kempston compatible joystick interface, but fully decoded at address 31 (0x1F).

Also available in assembled, kit and PCB only versions.

Mini PET A


All Mini PET kits are now sold out. Sorry.

But wait -  watch this space for news about the Mini PET II coming soon.

The Mini PET is a Commodore PET compatible 6502 based computer with 32K of RAM and a choice of PET BASIC 1,2 or 4, or Mini PET BASIC 4.0.

This is the stand alone version that can be used with one of my keyboards or another aftermarket PET keyboard (normal / graphics layout recommended for better compatibility than the business keyboard).

Mini PET A on SellMyRetro

Mini PET B

The B variant is designed as a drop in replacement for a PET motherboard. No keyboard options are provided, as you are expected to use the PETs original keyboard.

In addition to the DC power and composite video output of the A, the Mini PET B can use the PET power supply (5 pin or 9 pin) and drive a PET 9" or 12" monitor.

Mini PET B at SellMyRetro:

Mini PET Extras

I have also listed for the first time a few extra boards I designed to go with the Mini PET.

SD2PET Power TAP

This is an adapter which can be plugged into the rear datasette port on a Commodore PET or Mini PET to provide power to an SD2PET whilst still providing a connection for a datasette drive.

SD2PET power tap on SellMyRetro:

PET Datasette interface.

This is a PCB which provides an interface to a Commodore datasette edge connector. The internal connection is a 6 way 0.1" connector (7 pin with 1 pin missing for polarisation).

This can be used to add the second datasette port to a Mini PET kit A, or for various extending one of the Mini PET datasette ports or for any other datasette interfacing projects.

PET datasette interface PCB on SellMyRetro:

PET Power Interface

Finally, something which was used with the original versions of the Mini PET. I later designed the B kit which integrated this board into the main board. It may still be useful for other things. It can be used to tap 9V DC from a PET power supply to power a Mini PET or other project inside a PET case.

PET Power Interface on SellMyRetro:


PET Dual Userport Joystick

I have recently revived the PET dual userport joystick, as a through hole version, available as PCB, kit or assembled.

PET Dual Userport Joystick on SellMyRetro:

Also available with a piezo for PET 2001 and 2001N owners that do not have an internal piezo on userport CB2.

As before, Assembled, Kit and PCB versions.

Patreon

You can support me via Patreon, and get access to advance previews of posts like this and behind the scenes updates. These are often in more detail than I can fit in here, and some of these posts contain bits from several Patreon posts.

This also includes access to my Patreon only Discord server for even more regular updates. I have been spamming the Discord with these new listings as they have been added over the last few weeks, to make sure they had first chance to get some of these things.

https://www.patreon.com/tynemouthsoftware

Sunday, 17 September 2023

Commodore PET Keyboard Repair / Refurbishment

One from the Patreon Exclusive posts archive - a Commodore PET 8032 keyboard repair.

This is the keyboard from the PET 8032 as it arrived.

Looks like that needs a bit of work.

And a shift lock key, as that seems to be missing.

First job, strip it down and clean it up.

One of these things is not the same.

You might notice a yellow key at the top. This appears to be the return key from an early VIC20.

It looks very brown in the photo, but in normal lighting, you barely notice it.

Oddly my test keyboard also has a replacement return key, although mine was from a BBC mirco keyboard. (http://blog.tynemouthsoftware.co.uk/2014/09/commodore-pet-repair-part-8-keyboard.html)

With everything cleaned, time to address the shift lock.

I didn't have a PET keyboard for spares (or an early VIC20 with the same style keyboard), so I went for the shift lock key from a normal VIC20 / C64 keyboard. I was hoping it would be a drop in replacement.....

The only problem was it was too small to fit in the hole, clearly the earlier switches were larger.

My solution was Sugru. If you haven't come across that before, it's basically blu-tak that sets hard like rubber. (you can also remove it later if someone finds an actual PET style shift lock key)

I padded out the smaller shift lock switch with black Sugru and left it to dry.

The top side wasn't as neat, but still functional.

You get about half an hour before it goes off, so I fitted the keys either side to align it to them.

It is a different height, shape and colour, but you don't notice that normally.

I left that for several hours to go off, and then fitted the rest of the keys.

Normally, the pins of the switch poke out of holes on the back of the PCB, but with the switch being smaller, I had soldered them to the switch before I fixed it in place.

They then solder to the pads near the connector, where they are wired directly across the position of the normal shift key in the matrix.

All looking good, and just like the return key, you don't really notice the brown of the shift lock in normal light.

And with that, the keyboard was complete and ready to reunite with the rest of the PET.

I find it useful to test with one of my USB keyboard controllers, this proves the keyboard work, and any keys not responding just need to be run in, rather than a fault with the 6520 or the 74LS145 that drives the keyboard.

Some of the keys take a bit of pressing to register. They normally come back with use, but I haven't found a good solution yet to make them more responsive. There are various concoctions you can paint on the contacts, but they don't seem to last long.


Advertisements

PET USB keyboard controller / keyboard tester

As mentioned above, I use the USB keyboard adapters for testing keyboards.

All of these have jumpers to select business / graphics / chiclet keyboards.

Universal

I have a "universal" board which has a 20 pin connector for most keyboards and a 25 way D for 80xx-SK keyboards.

https://www.sellmyretro.com/offer/details/62114

20 pin only

There is also a version without the 25 way D, if you don't need support for the 80xx-SK keyboards.

https://www.sellmyretro.com/offer/details/63921


Patreon

You can support me via Patreon, and get access to advance previews of posts like this and behind the scenes updates. These are often in more detail than I can fit in here, and some of these posts contain bits from several Patreon posts. This also includes access to my Patreon only Discord server for even more regular updates.

https://www.patreon.com/tynemouthsoftware

Sunday, 3 September 2023

Damaged Mini PET 40/80D Repair

This is a first. A Mini PET 40/80D that is no longer working.

I don't think TFW8b has had many support messages about the 40/80D. Most were technical enquiries about it's suitability.

  • No, it won't work with a Super PET.
  • No, you can't use it with a Commodore 64 keyboard.
  • Yes, I know The 8 Big Guy did that in a video.

This was the first user to actually have a problem.

The board had arrived, been installed in a PET 2001, powered on and worked. Power on chirp, READY prompt on the screen etc.

Great, that's what it is meant to do.

(yes, that is my PET 2001, I didn't have a photo of the user's one, call this an artists impression)

But then, when they went to turn it on a second time, it was dead. There were some LEDs lit on, but no chirp, no video?

The owner was helpful enough to try some different power supply and monitor options to see if we could narrow it down, but in the end, the best option seemed to be to send it back to me to investigate.

It arrived fairly quickly, the original packaging surviving a second trans-Atlantic flight, and the board looked fine.

No obvious physical damage, nothing to suggest anything wrong.

I powered it on from a 9V DC bench supply, and it drew about 400mA, which is high for one of these boards, they are normally around 150mA.

The LEDs near the SD socket flashed at power on as normal, so that was alright.

The power LED was on, as were the two datasette motors LEDs, but the Ready LED was off.

Normally, a few seconds after power on, the Ready LED goes on, and the motor LEDs are turned off as the PET boots up.

That wasn't happening.

Poking around looking at voltages, the 9V input was there, dropped slightly by the polarity protection diode.

The 3.3V rail was there, and the the things like the SD card LEDs were behaving normally.

The two 6V motor supplies were enabled and at the correct voltage.

The 5V rail was reading 0.7V.

Ah, there's ya problem.

The 5V regulator (IC26) was getting warm. 

I powered off and checked for shorts, and yes, the 5V rail to ground was reading a bit over 1 ohm. So there was a short somewhere.

I checked around again for anything obvious.

I also probed around, trying to find a spot where the resistance was lower, but it all seemed to read about the same, and went down as you were reading it, presumably because of all the capacitance on the rail.

Difficult to track something like that down without being able to remove chips, and these are all surface mount.

Well, there were two EPROM chips in sockets.

I removed those.

It wasn't them.

I though I would quickly try the fingertip test to see if any of the chips were getting hot.

I didn't want to damage the 5V regulator by running with a short any longer, so I powered the 5V rail direct from the bench supply at 5V.

Current limiting again kicked in, but none of the chips were getting noticeably hot yet, so I kept winding up the current bit by bit until at about 700mA I noticed one of the chips was getting hot.

It wasn't clear at first, but once the current had been increased, it became clear that the 74HC86 was burning hot and the others were just warm due to conducted heat.

The 74HC86 is the third one down, next to C41, for those playing along at home.

I was fairly confident that was the problem, so I removed it and fitted a new 74HC86. 

It I wasn't sure, I would have removed it and checked for shorts again, but I had an idea why it might have failed, so just went for it.

I plugged it back into the power (and was confident enough to also plug in a monitor), and powered it on.

There was a chirp.

There as a ready LED.

There was a READY prompt. (one day I will get better at taking photos of screens, surely I have to some time, right?)

Success.

All down to this one pesky chip.

Self test ran for several hours, and several power cycles, with no problems, and the current as a respectable 150mA.

But why did it fail?

Well, only two gates on that chip are used (don't worry, the inputs of the other two are tied to ground). Of the two used gates, one drives the video signal into the composite video mixer amplifier, and the other drives the video signal to the PET monitor.

This is the same circuit as used in hundreds of Mini PETs, Mini PET 40/80s and Mini PET 40/80Ds, and there have been no 74HC86 failures as far as I know with any of those.

It is also essentially the same output stage as the original PET, although that had an extra pull up resistor added as the 74xx series could only really drive low, so that boosts the internal pull up on the high side.

My theory is that there must have been some high voltage pulse on the video line from the monitor that fried the 74HC86 chip on the 40/80D.

The PET monitors are pretty basic, so it is possible that some fault in the monitor is causing high voltage on that line. When I say high voltage, I mean "anything above 5V". There are 12V, 85V and 400V rails in there, any of which could kill a poor little logic chip.

The obvious one is in the input stage, this is a slightly odd level shifter.

When the video input is high, CR1 is reverse biased, so there is no current flow through it. 12V goes via R1 through two diodes CR2 and CR3 and the transistor base emitter junction, which is effectively another diode. That should mean the point at the bottom of R1 should be at about around 1.8V, and Q1 will be conducting, and further down the line, an electron bean will strike some phosphor and a pixel will glow green (or white depending on the phosphor).

When the video input is low, CR1 conducts, and brings the end of R1 down to about 0.6V. This will turn Q1 off, and also stop the flow of electrons, and the pixel will be black.

If CR1 has failed short, or is leaking, it could let the 12V down the line to the video connector and to the 74HC86, and even via a resistor, could damage it. (I don't have the users monitor here to verify or repair this, it is just a theory)

The design is much the same with the 12" PET monitor, other than the polarity is reversed somewhere along the line, and the input voltage is now 18V (marked as E18 for some reason best known to whomever drew the schematic).

So that's my guess what happened. A short or leaky CR1/D201 fried the 74HC86. I wouldn't be surprised if the same fault fried the 7486 on the PET motherboard that originally drove that monitor.

The repaired board is ready to go back, but I am worried the same fault could fry the new chip as well.

I am wondering about adding a pair of clamping diodes on that pin, to protect the chip.

There was never anything like that on the PET video connectors, but maybe a good idea in this case.

Commodore added that arrangement of diodes to later C64 and early plus/4 boards, a factory fitted mod to protect the inputs on the IEC port (presumably after all the 7406's started dying). They were also added to the C64C and later versions of the plus/4 schematic (but not the Commodore 16).

I added clamping diodes to all three signals on the video connector (the other three pins are ground). The two sync signals come from the microcontroller, and should already have internal protection with a similar arrangement of diodes, but this is just extra protection.

And just to reiterate, I don't think anyone else needs to fit these, it is only this particular case of a faulty monitor.

It is always tricky with this sort of "here is a one in a million weird fault you will probably never see again" fault. They inevitably lead to people saying "I replaced the chips you said, but it didn't fix it".  

Fix what? did you have that same one in a million fault? "no mine was different, but I thought I would fix it......"


Advertisements

Mini PET 40/80D

There are one or two Mini PET 40/80D boards still available from The Future Was 8 bit:

More info in a previous post:

http://blog.tynemouthsoftware.co.uk/2022/03/the-mini-pet-4080d.html

Mini PETs

The original 40 column Mini PETs are available from my SellMyRetro store in both B (internal green boards) and A (stand alone white boards) versions.

Mini PET B

The B version is designed as a drop in replacement for the PET mainboard.

This is available in built and tested, full kit and partial kit form:

Mini PET A

The Mini PET V1.48A is a standalone version, also available in built and tested, and partial kit form (let me know if there is interest in a full Mini PET with keyboard kit):

As well as a choice of matching keyboards PCBs.

Patreon

You can support me via Patreon, and get access to advance previews of posts like this and behind the scenes updates. These are often in more detail than I can fit in here. This also includes access to my Patreon only Discord server for even more regular updates.

https://www.patreon.com/tynemouthsoftware