I was given some old HP Laserjet 4P printers, liked that they had Vacuum florescent (VFD) Display board, thought it would be cool to see if I could use it with my Z80 SBC project.
I very old school hacking taking things from other devices and re-using them in my own projects. For those who are new to the world of 8-bit and hacking hardware for new uses.
The first thing is to find the main chips and look up their datasheets, this will help us decode how the board was interfaced to the printer.
The VFD display driver chips is the M66004FP simple google search was able to find the datasheet and the device is a clock driven serial data input only with a -40 volt display bias but looked at board notice the round transformer on the board indicates the power supply for that is built on the board so we don't have to worry about that voltage. the keyboard buttons are read by the 74HC165 8 input shift register. So have now have how many data signals we will need, from the datasheet we can come up with the following minimum signals needed: Clock, Enable display, enable keyboard, data in, data out.
Looking at the connector to the board, we have 9 wires coming into the board (image Rear view), on either end of the 9 points where the wires solder in, two of them are soldered together making a good guess that is power in. With a meter I was able to measure from the filter capacitor Positive and Negative terminals which side of the pins where positive and negative. So now we have eliminated 4 pin of the 9 pins and now know their function. Since I could not see a Pin 1 marker for the connector I went with the right side as pin 1.
Connector
1 +5 volts2 +5 volts345678 Ground9 GroundNow we need to find out the remaining 5 connection points, so with a meter and looking at the chips pin-out on the data sheet, I tested the most likely pins to be used to see which ones go to the Connector. Note I notice that each connection goes through a 100 ohm resistor, so when reading knew I would not get zero on my meter but should be 100 ohms.
Going with the M66004FP Datasheet chip outline (Image below) , filled in the next few, then used the 74HC165 Datasheet to find the next
Connector
1 +5 volts2 +5 volts3 Serial data input to display4 Shift clock input shared by both chips5 Chip select Display6 Shift Register Load parallel data7 Shift Register out8 Ground9 GroundHow that we have our pin-out of the connector and know there function, let's look at what we need to get data in and out of the board. Four of the pins are inputs and one output, since I built my board using the Z80 PIO, it allows you to program each port bit as a input or output saving from having to use two ports.
The basic's of reading and writing to the board, this program uses the Z80 PIO to interface to the board and my Z80 PIO library
Example of sending data to display and reading key's to change display