Skip to main content

Adding a 5 pin DIN to an Amstrad CPC 464

After mentioning that I had gotten a CPC and attached a DIN to it so that I could connect it to the TZXDuino I have had a few requests on how to do it so I thought I'd try a guide.

You will need to purchase 180 degree 5 pin female din that is chassis mountable.

This is the type that I purchased except mine also had a mounting plate too.
The standard 6128 cassette connector is wired like this.

Each pin is numbered on the back so that you know which one you are connecting it too so don't worry if the pins are in different positions as it depends on whether you are looking from the connection side or the soldering side.

I would use different coloured wiring for each type of connection. I used the following
Ground - Black
Data Input - White
Data Output - Pink
Remote Control - Brown

At this point I added 4 male pins to the end of my wiring so that I could build a connector so that I could easily disconnect the DIN should I need to work on the cassette drive.

Next is connecting the wiring to the cassette drive Make sure that when you solder you do not create any shorts and connect the wiring as follows.

Close Up your computer and then test to make sure that it all works.

If you want to use the built in cassette recorder you just unplug the cassette leads from the DIN and use it as normal.

Where you place the 5 pin DIN on the case is up to you and the model of 464 that you have.

Here are pictures of the two types I've placed  on an early model and a later model.

Remember measure twice and cut once. That 14mm hole is pretty big and permanent once you've drilled it.


  1. Hi, I will have to do this mod on my CPC464 to be able to load CAS files from the TZXDuino. This guide is not telling me where the female DIN socket has to be placed ?

    1. It depends on your model. I try to place it as close to the cassette as possible but early models have the power and RGB port there so it's better closer to the expansion port.
      The only thing for certain is look at your CPC and where you want to place it, then look at what components are close by when the case is all closed. When you have decided where to place it, measure then measure again before you drill the 14mm hole.

    2. Hi Duncan,

      I have finally taken a different solution. I will use a cassette adapter with a 3.5mm audio input to the TZXDuino :-). I may just need to add the remote socket somewhere if it is absolutely necessary to load into a CPC464.

    3. And congrats for you nice piece of hardware it is working very nicely ;-). I will leave you a very positive feedback on Etsy as soon as this will be available.

    4. This comment has been removed by the author.

    5. I have tried your beauty on ZX Spectrum, MSX1, Tandy COCO 1 and 2 and all is working fine :-). I am waiting the cassette adapter to test on CPC464 and Spectrum +2. I just have an issue with the Dragon32 where I have an I/O ERROR each time a program is found. Is there any baud rate setting to be used? Using the CasDuino firmware 1.19.

    6. With the +2 the CD to cassette interface is not enough for games that use speedload routines and I would recommend adding an ear port and a switch. There is an earlier part on this blog about adding an ear port to a grey +2 (assuming it's a grey. If it's a black there are instructions on various web site).

      With the Dragon there is no way to change the baud rate but there are two load commands. CLOAD and CLOADM. Most I/O ERRORs are caused by using the incorrect load command.

    7. Hi Duncan. I have tried the audio 'ear' mod on the Spectrum +2 Grey but that does not work. I tried to hook a female 3.5 mm audio input I have in stock but this is a stereo input jack and I do not think this is workable. I have hooked the ground to the GRN of the cassette deck PCB as per the tutorial and one of the two leads to the audio output of the cassette deck but the loading fails. I can hear the loading sound but just got a few loading bars on screen. I may need to use a mono female jack.

    8. You should try adding both of the audio wires to the audio in. That might work. That or swap the audio wires.

    9. Hi Duncan. Forgot to mention that I tried also to swap but no changes. I will hook both audio inputs of the jack to the audio in on the cassette deck and see what happens :-)

    10. I tried again with the the two leads of the stereo female input hooked together to the audio in but not working. I have a normal loading screen but the spectrum +2 will list all the different section loaded (bytes + name) but not run the program. Also there is a lot of noise distorsion when the audio jack cable is plugged into the socket. Definitely the stereo female jack is not good. I will try to grab a mono jack.

    11. Try grab an on/off switch too as the beeping from the scrolling of the screen can be very annoying. That's what I've done with my +2.

    12. The loading noise is really not a problem and found it a nice 8bit feature :-). I have ordered a mono female audio jack and I think this will fix the problem.

    13. I mean once it's finished loading you will hear a beep every time the screen changes and it's quite annoying.

    14. Ok sorry I am somehow a noob in the Spectrum universe :-).

    15. It's only something that happens with the +2 mod. The 128ks need more volume than a 48k it seems.

  2. I've added pictures of what a I've added my DIN sockets to the blog so hopefully if you do decide to add one that will help.


Post a Comment

Popular posts from this blog

New Firmwares With New Features

Thanks to the help of Rafael Molina Chasserot some new features have been added to the TZXDuino and CASDuino firmwares which has freed up some memory as well, which may lead to more features being added in the future.
A percentage counter and a timer counter have been added to all screens so that you know how much is left of a file to play and how long it has taken to load.
The OLED1306 and PCD8544 use completely new routines for the firmwares saving a lot of memory.
Folder navigation is now different. Rather than using the Menu button on TZXDuino or the Stop button on CASDuino to return to the ROOT directory, if you press the stop button when no file is playing you will go up one folder only making it easier to navigate.

The TZXDuino has had a menu added so that MSX users can set the Baud rate of TSX files so that they can load faster than normal.
A few more emulator only IDs have been fixed so that they are skipped by TZXDuino.

CASduino has had a Baud Rate of 3675 added to…

TZXDuino 1.7

TZXDuino 1.7
This fixes issues with pause lengths that we never noticed before. It should fix games like Top Gun and Street Hawk for the Spectrum and make CDT files behave as they should for the Amstrad CPC.Changes.
*Maximum pause length of 8.3 seconds due to the TimerOne library has been worked around.
*ID20 Pause Block fixed.
*Temporary fix for pause after motor control removed.!aEt1VJKZ!ZFw-fP3bkNTtiPlbG_IllmR94Xni3KvIGUn6Jggfof8

UEF Playback added to TZXDuino

Thanks to the work of Kernel Crash we have added uncompressed UEF playback to TZXDuino. This means that Acorn machines can be added to the list of computers that can use TZXDuino. There is standard mode and a Turbo mode that can be switched on in the menu. The turbo mode loads at 1500 baud and does improve the loading time on an Acorn Electron. There is also a 1550 and 1600 option in the TZXDuino.h file but not all Electrons can handle the faster speed.

You can read Kernel Crash's blog here.

You can download the TZXDuino 1.11 from here.