KY11-LB Programmers Panel - Part 3

Finally a step forward with the machine.... only a small one but it is significant in that the KY11-LB Programmers Panel is now operational.  That will be important in the testing of the remainder of the machine.
I concluded that debugging this machine with the cards in the backplane was not going to be a fun job so invested in a set of unibus extenders..... yes believe it or not you can still buy these from a company called Douglas Electronics (   Not cheap but what hobby is.  
I ordered a quad width and a dual width board which should let me work on any of the unibus boards (this machine is a mix of dual, quad and hex size).

Half an hour with the schematic and a logic probe traced the fault in the front panel display to a gate in a 74175.  
While replacing it I found one of the tracks down the side of the board was broken so repaired that also.  

The final result is that front panel how displays all entered values correctly.  
It hasn't solved the BUS ERROR problem when trying to halt the machine but I didn't expect that.  Small steps but it is now sufficiently operational to continue testing the machine.  
There is a good set of notes at on using the KY11-LB to test other Unibus boards which I am going to try.... particularly the memory and serial board.  

Home Built Z80 CP/M Computer - Part 2

Boots CP/M 2.2 off the compact flash card.... 8 x 8mb drives (luxury in 1980).

Rather than wire directly to the Compact Flash connector like Grant did on this prototype, I ordered a low cost Compact Flash to IDE Adaptor on eBay (approx US$ 2).  

I have been testing the board with 2 x MAX3232 based TTL to RS232 converter boards.  Replacing these with CP2102 based TTL to USB Serial boards as soon as these arrive from China.


CAT Interface for eBay AD9850 DDS Modules - Part 2

After changing from using the Yaesu FT-817 protocol I picked the ICOM IC-725 as a reference having never seen one.  It seemed fairly representative of the use case for the DDS module as a generic HF transceiver and HRD when configured for an IC-725 didn't add a lot of options that could not be implemented with just the DDS module.

Interestingly KA6BFB used the IC-725 as a reference for his IC-720A HRD Interface.


My first development step was to implement the IC-725 CAT protocol in VB and test communication with HRD to make sure I understood the message passing.

The following tools proved particularly useful in this process by allowing me to test the communication between HRD and my VB application without the need for serial splitter cables.

The ICOM CI-V protocol is really well documented, particularly on this website ( which really helps.

The good news from this execise was that HRD appears to only use CI-V documented commands when configured for the IC-725.  My VB app was able to pretend to be an IC-725 quite successfully... it could receive frequency changes from HRD, change between Memory and VFO modes and return HRD to the previous values when it was restarted.


The next step is to get the protocol implemented in PIC Assembler for the 16F628.


Home Built Z80 CP/M Computer

Replaced a 7417 open collector driver on the KY11-LB controller board hoping this would solve the display problem but not so.... time to work further back through the board.  

I think it is time to invest in some DEC Extender boards so I can use the logic analyser without having to solder wires to the back of the board.
Also retrocomputing but not minicomputer size... I built up the Z80 machine described on using parts recycled from some old telephone testing equipment.

I still need to install the compact flash drive but it runs and has Basic in ROM.
The design is quite a neat mixture of old and new technology.... the CPU and SIO chips being circa 1979 but combine this with 128K of Static RAM, 128K of Flash and a 128M compact flash drive, over clock it to over 7 mhz and you have a little CPM machine on a single board with capabilities that were just not possible back in the day.  A big step beyond development boards which typically had minimal RAM and only a monitor in ROM.
The other interesting bit of retrocomputing news is that I picked up a copy of "The Soul of a New Machine" by Tracy Kidder on Trade Me. A great book about the development of the DG MV/8000.

CAT Interface for eBay AD9850 DDS Modules

I converted the WB2V/AA0ED/AA0ZZ PIC 16F84 code for controlling the AD9850 to it runs on the PIC 16F628.

The 16F628 is a lot cheaper (especially on eBay in lots of 10), has an internal ooscillator, extra IO pins, an onboard USART and extra flash.

The free IO pins, USART and extra flash make it practical to implement a CAT interface.

My plan is to implement an interface using a well supported protocol so the DDS module can be used in a rig and powered by Ham Radio Deluxe.

I started by trying to implement the Yaesu FT-817 CAT protocol.  It seemed fairly simple and didn't require a pile of CAT commands be implemented that would not mean a lot on the DDS board.  My goal with it is to make HRD think it was talking to an FT-817.

This would be quite neat with the an old Codan I am rebuilding, as an external VFO for my FT_101ZD and for the BITX20 I am building.


I wrote a "simulator" for the FT-817 in VB so I could understand what HRD did when it talks to an FT-817 and came to the horrible realization that it reads many "undocumented" EEPROM locations to work out all sorts of things that the officially documented commands may not provide.


This has me rethinking the 817 CAT commands as the model.  I have downloaded the ICOM CI-V programming manual and this may be another option.

Some of the earlier ICOM radios such as the IC-725 have a fairly simple CAT interface that covers most of the functions that a DDS only interface could achieve.


My other pages on the eBay DDS Modules:


KY11-LB Programmers Panel - Part 2

I may have got to the bottom of the front panel problem.
Initially I thought that it was related to the scanning technique that is used to read the keypad and update the 7 segment displays given the keypad gave the wrong values and sometimes the display was missing segments.
After further research it appears not to be the case (which is good).
The scanning signals all look good on the scope.
The insight came when I looked at which keys on the number pad worked and which didn't.  I came up with the following table
Pressed = Displayed
1 = 1
2 = 0
3 = 1
4 = 4
5 = 5
6 = 4
7 = 5
0 = 0
If you convert this to binary it becomes pretty obvious where the problem lies.  The invalid display is for the items marked with * and all have the second bit set.  If you mask out the second bit you get the displayed value.
0 = 0000
1 = 0001
2 = 0010 *
3 = 0011 *
4 = 0100
5 = 0101
6 = 0110 *
7 = 0111 *
The front panel uses a 7447 BCD to 7 Segment decoder to drive the LED modules. If pin 1 (B) on this is not being set when required then the behaviour will be what I am seeing..... it isn't that the keypad is getting it wrong... but the display is showing the wrong value due to a missing bit.
Need to do a bit more digging here but given that this line is pulled to +5V via a resistor on the board (the controller board in the backplane pulls this to ground) I am hoping that the problem is either a connection problem on the front panel board with the line not being pulled up or the 7447 needs to be replaced.  If there was a break in the ribbon table to the controller board then the bit would always be set and a different set of incorrect values would be displayed.
Hopefully there isn't a fault on the controller board that is pulling the pin to ground.
The other odd display problems with odd segments missing on the 7 segment displays are due to them being socketed (clearly there was some concern about reliability in 1979) with dirty connections.  I need to pull each 7 segment display and clean the pins.  Pressing on a display that is missing segments will cause then to appear.... might need to solder joins touched up too.

So that is all very positive about the front panel and it's control board.
I still have the problem with the front panel Halt button causing a BUS Error.  The PDP11 unibus uses an interesting Bus Grant interrupt system that is chained through the 9 pin backplane.  Plugin boards can intercept one of the interrupt lines or must pass it through (two pins per Bus Grant per backplane socket).  This means empty sockets must include a bus grant card to join the pins.  All of these are in place and I have checked the continuity of the Bus Grant lines.  My suspicion is that the CPU is not actually running.  More to look at...

KY11-LB Programmers Panel - Part 1

The power supply modules are all back in the mounting box with the transformer and this is reattached to the chassis.

I powered up the machine from the front panel on the weekend.  This machine is equipped with a KY11-LB programmers console which connects to an M7859 Quad board in the backplane (interestingly this board is run by an Intel 8008 microprocessor).

When powered up the programmers console display came up with 000000 and the run light was lit.  Some of the keypad buttons are stuck or give the wrong value when pressed so I need to pull that apart and find out what is going on there.  Hopefully just something stuck behind the panel.  Using the keys that do work I was able to load an address into the Address register on the board and read it back which suggests the M7859 is generally working.

At the moment I am stuck with a Bus Error when I try to halt the CPU.

This generally means the Grant cards are not correctly installed but these are OK so it may be time to get the logic analyser out and start looking at the backplane.  Before I leap into that I will look further at the front panel.  It might also be the front panel buttons mean something other than HALT is being pressed.


PDP-11/04 - Power Supply Part 7

I am continuing to make progress with the power supply modules for the PDP 11/04.

This weekend I got a chance to test the modules.

One of the H7441 +5V supplies worked fine.

The output is a little high at 5.5v but I understand that these do not have great regulation when not under load so this will likely come down with 10 PC boards to power.

The other +5V supply didn't run.

The output went up to just over 1v as the AC comes up and then settles back to 0.5v.  The DC voltage after the rectifier and across the main input capacitor looks OK on the meter.  

After thinking about it overnight I took a small 25VAC plugpack out of the junk box to make comparative testing of the two 7441 supplies easier (i.e from the comfort of the house rather than the workshop with the 1 degree overnight temperatures we have been getting here).

When I tested the known working 7441 it worked fine with the plugpack.

When I tested the "faulty" 7441 it also worked fine.

Reconnecting the faulty 7441 to the main transformer and bringing the voltage up with the variac and it didn't work.  The problem is the rate of voltage increase. If I bring up the variac output slowly (say 0-240v over 5 seconds) then the 7441 will hang with the output under 1 volt.  If I increase the voltage quickly (within 1-2 seconds) then it powers up fine and shows a good 5v on the output.

I have had some discussions on this and it appears that this can be a common problem with switching supplies.

It was a case of being too conservative.

The H745 -15V supply works fine although the Power OK Bulb (not LED like the 7441) on the back has failed.

(The folded plastic bags between the connector pins are to provide some insulation during testing.  The -15V module requires both 20VAC and 15VDC to operate so there are two jumper cables bring power to the module).

I will replace the Bulb with an LED + resistor like the H7441. These LED's are visible at the back of the power supply box so failed supply modules can be easily identified.

I think it is time to put the regulators back in the chassis and try powering up the back plane.

Next weekends project.


PDP-11/04 - Power Supply Part 6

The failed capacitors are replaced so the regulators are ready to test on the upcoming weekend.

The 11 has three regulator modules.



2 x H7441 5V regulators are switching supplies that use the 28V from the main transformer. The main 22000uf capacitor in one of these was faulty. Replaced it with a 20000uf modern one (notice the size comparison between the two pictures). If there is still ripple on the output then another one can be paralleled up. The other 5V regulator looked like the 22000uf capacitor had been replaced sometime at some point and that tested out OK. In both 5V regulators I replaced with small 560uf and 1200uf capacitors in the CLC filter that cleans the switching noise from the output as they looked to be leaking.

5VDC Power Supply

5VDC Power Supply

1 x H745 15V regulator which is an older linear design. This had a massive 33000uf capacitor but it was also faulty. The smaller 4700uf capacitors on the output where fine. 33000uf/50v capacitors similar to the original are not available at any reasonable price so I replaced it with 3 x 10000uf capacitors in parallel. The three caps stack well within the existing case. The packing shown in the picture ensures they don't short together. That can be replaced once it is tested.

-15VDC Power Supply


PDP-11/04 - Power Supply Part 5

An interesting study in the changes in capacitors over the last 25 years.  The new one is 2000uf less (22000uf v 24000uf) than the original but otherwise the specs are the same as best I can tell.

5VDC Power Supply

Different mounting but nothing solder lugs and cable ties couldn't solve.

5VDC Power Supply


PDP-11/04 - Power Supply Part 4

Only three modules left..... the next 2 are H7441 5VDC regulator modules.

5VDC Power Supply

Finally something faulty... it proves that the slow and steady approach works.  

One of the two 24000uf 50VDC caps is faulty.  It appears to be shorted and won't hold a charge. 

5VDC Power Supply Cap

The other is fine (at the moment anyway). Time to find replacements


Page 6 of 11

Powered by Easytagcloud v2.1

Contact Andrew Quinn