An Arduino Mega 2560 shield to test the ZXMUX chips used in the ZX Spectrum retro computers.
The ZXMUX chip (ZX8401 / PCF1306P / 40058) is a custom multiplexer chip designed for and used in the ZX Spectrum 128, +2, 48 Issue 5 and 6A.
As this is a custom chip, modern chip testers like the TL866 is unable to test them. If you are troubleshooting a Spectrum and you don't have a known good working device to test the multiplexer in, this makes it difficult to troubleshoot.
I built an shield for the Arduino Mega 2560 which tests the multiplexer as it's a fairly simple design that uses logic NAND/OR gates and digital multiplexers. I use this to also test the ZXMUX replacement chips that I sell on my store.
The gerber and HEX files are provided if you want to do a DIY.
The code tests the CAS logic and all logic levels of the multiplexers and runs the tests through 20 passes.
The HEX file is provided which needs to be uploaded your Arduino Mega 2560 using avrdude
The output is displayed via the serial monitor at 115200 baud so it would also be useful to install Arduino IDE
See the software folder for instructions for uploading using avrdude
Once the code is uploaded remove power from the Arduino and insert the chip to be tested.
Note the chip orientation and confirm it's correct before applying power.
Open the serial monitor and view output. The PASS/FAIL LED's will also alternate while under test, and at the end of the test the PASS / FAIL LED will show the final result.
The gerber files for the shield can be found under hardware/gerbers
Reference | Value |
---|---|
Pass | Green LED 0805 |
Fail | Red LED 0805 |
R1/R2 | 2k2 0805 Resistors |
U1 | 40 Pin ZIF Socket |
SW1 | Push Button Switch 6x6x6 |
2.54mm SIL Male Headers |
If you don't want build the shield yourself, assembled shields can be purchased from:
CC BY-NC-SA 4.0