TECH TALK
Miracle Systems Serial/Parallel Printer Interface – Bob Gilder
The following subject matter for this article was prompted by a member of LIST who had ordered a Serial/Parallel Printer Interface from SHARP’s and it took 6 months before he had received it! Plus several QL hardware manufacturers in the U.K. have given up support as stated in a recent issue of Sinclair QL World magazine. By no means is this to be considered a construction article as this circuit is probably protected by copyright. It is for information purposes only in the event that YOUR S/P Printer Interface goes bad and you want to repair it yourself. This is the reason that I wanted to examine the subject hardware, so that I could trouble-shoot and repair it if need be.
I started by drawing the printed circuit layout on one side of a piece of paper and then on the other side I drew out the parts placement directly over the PC traces. The schematic drawing was completed after two prototypes were built and working. My hat is off to the individual who originally designed the PC layout for this interface as it is quite complicated with many traces interwinding between the IC pins. This made the job of tracing the circuit difficult. To insure that duplication of the circuit board was correct, I de-soldered every component on the PC board and then made corrections to the drawings.
I prototyped two units. The first one was built on a Radio Shack IC prototype board, approximately measuring 4 x 5 inches. The second unit was half the size of number one. All IC’s were socketed (it was a good idea), in the event the unit didn’t work…and it didn’t work! When I fired up the first unit built, printing did occur, however, the characters printed were not the same characters from my test document.
I realized that this was a timing problem which was directly related to the CMOS 555 timer IC’s used in the circuit. I purchased several different CMOS 555 timer types and found that the LMC555CN timers cured my problem. If you need to replace these devices in your interface, try to get the exact replacement of what you have and if you can’t locate them, purchase the LMC555CN timers from the source listed below. I tried Radio Shack’s TLC555’s and found that adjustment of the timing controls were too critical and they are slightly higher in price compared to the LMC555CN timers.
There are two variable controls which require adjustment. I didn’t take any measurements as far as resistance or voltage ; I adjusted the controls a little at a time until the printer responded printing correctly. The 47K (can be 50K) control I adjusted to the full clock-wise position ( this was due to using a 220K resistor instead of a 240K resistor as the circuit called for). The 4.7K (can be 5K) control was adjusted to approximately an 11 O’ clock position.
The second unit built also gave me timing problems. That was because the timing capacitors used were well out of tolerance required for the circuit to perform as it should. They were replaced with two capacitors that I checked out on a capacitor meter and prototype unit two operated fine. The range for the capacitors used for timing should be between .0030mf to .0036mf. The capacitors installed in the Miracle unit were 1% polystyrene types.
Insure that if you have to replace either the 74HC02 IC or the 74HC164 IC that they are exact replacements. These IC’s are low power CMOS devices which draw their operating power from the QL’s Serial Port. These IC’s can also be purchased from the supplier indicated below.
All the resistors are standard 5% 1/4W with the exception of the 240K resistor which is only obtainable as a 1%, 1/4W. A 220K and a 20K resistor can be placed in series to obtain an approximate 240K value or if you have an OHM Meter you will find that in a batch of 220K resistors some will be on the high side of the indicated value on the resistor. Use it and make up the difference with the adjustment of the 47K control.
The .01mf capacitors can be ceramic disc types. The 33mf electrolytic capacitor can have a value up to 100mf and the .0033mf capacitors should be close tolerance units as described earlier in the text.
One final note: If your printer does not respond when required, it may not be the Serial/Parallel I/F. On several occasions my printer would not print from a QL. The first thing I do is hook up my spare QL and try printing. Each time the printer responded as it should with the printer interface connected to SER1 or SER2. Now I knew that the 1488 IC was blown & most likely the -12 volt regulator was also no good. The 1488 requires +12 volts and – 12 volts for operation. In each case both IC’s had to be replaced….and in each case it was my fault! I do a lot of experimenting with various interfaces and at times, I become careless.
If you have difficulty repairing your Serial/Parallel Printer Interface you can drop me a line in care of LIST and I will promptly reply with help.
*************
KRP Electronic Supermarket, Inc., 219 W. Sunrise HWY, Freeport, NY 11520. Telehone Number 516-623-3343. They have a supply of all the IC’s used in this circuit and prices are not high.
- 11/30/90 –



OOPS!………..
Thanks to LIST member DR. Raymond Kaufman who located two errors in the Metric_con program listing in last months LIST Newsletter. Please correct formulas in lines 920 and 990.
920 CLS:c=b:c=c*6.10238E-2 etc.
990 CLS:c=b:c=c*16.38716 etc.