Skip to main content

Introducing the TZXDuino

A Giant Leap For Nerd Kind.

I'm not usually one for silliness but Andrew Beer has been working hard in the background trying to programme the Arduino to play ZX Spectrum .TZX files without the need to convert to a .WAV. Today he has managed to do that with some .TZX files but also with .TAP files as well. The code is still very much in the early stages so the compatibility with.TZX files is still relatively low but in theory all .TAP files should work. I only have 5,246 to test.
What's even better is that the code will work on both the Arduitape and the CASDuino hardware by just uploading the programme to the Nano.

Simply download this file, unzip and load in the Arduino IDE.


  1. Hi,

    I am liking the updates.

    Can you confirm that if I upload 'TZXDuino' I still have MSX compatibility?

    I have tried again with my Dragon, but still can't get anything to load. I also tried the physical tapes I have, but I think they are corrupt. Listening to the sounds, they are very quiet and there is lots of distortion.
    I tried converting some .CAS to .WAV for use with an MP3 player but still no luck.
    I think I need to find some native Dragon .WAV files.

    On a better note I managed to make two digital-to-analogue converter boxes to use standard 9-pin joysticks instead of the nasty vacuum formed plastic analogue joystick I have. Just a shame I only have a few cartridge games to use it with!

  2. Okay. First things first.

    You can find Dragon tapes as WAV files on the following link.

    Unfortunately the Nano just hasn't got the memory to allow us to make a universal decoder so TZXDuino will only play Spectrum TZX/TAP files and Amstrad CPC CDT (after being renamed TZX) files. The good news is you just upload the latest CASDuino software to your build and you are back to being able to use it on the MSX again.

    Dragon files are still not working properly but are getting closer or at least they are according XROAR.

  3. Thanks again for your Dragon efforts. - I will try out those WAV's.

    No problem on running Speccy/CPC & MSX in one. I have a couple of SD card solutions for those systems and working tapes!

    It's the MSX & Dragon which I am stuck with.
    It has been great being able to play MSX games. I have been looking to see if 'Penguin Adventure' can be converted into tape file, but I think its ROM is too big. Shame, as it has great graphics :(

    1. You can play Antarctic Adventures. It's quite a small Rom. Go to the following to download a CAS version!qQtFzYiK!gcDKmEHXwRLnWwPMCrGOvn9IPQDPV7rN_yqQxA2H1Rg

    2. If there are any other ROMs you want me to try to convert let me know.

  4. good blog post comment,thank for your sharing


  5. This is working perfectly on both my spectrum(s) and my Dragon 32. I modded the firmware slightly to work with a normal 16x2 (non i2c Lcd), since I did not have any i2c units lying around, and it works like a charm. WELL DONE !!


Post a Comment

Popular posts from this blog

TZXDuino Firmware 1.16, 1.17, and an updated TZXDuino Instruction Manual

  TZXDuino 1.16 In TZXDuino 1.15.3 I added a bug that lowered the volume of some Spectrum TZX files and all ZX80/81 TZX, O, and P files so they didn't work for many people. I fixed this for 1.16. You can download TZXDuino 1.16 from here.   TZXDuino 1.17 The MAXDuino team added ORIC TAP playback functionality to their firmware which I have adapted to TZXDuino. I don't have an Oric Atmos to test it on so I have been recording the playback and loading on Oricutron and everything I have tried has worked. Obviously things may be different on a real machine. Team MAXDuino have also added a speed up function for Oric TAP files which I will add to TZXDuino 1.18 but so far I have been unable to get it to work correctly. You can download TZXDuino 1.17 from here.   And finally there is the updated instruction manual which now tells you how to access Turbo mode for the Electron, ZX80, and ZX81. It also says for Oric but that has not been implemented yet. You can download the pdf of v1.2 fo

Latest Firmwares

Whilst it may seem there han't been much going on in recent months we have been working behind the scenes on improving and adding more options to the various firmwares and trying to improve the hardware. The main difference with these firmwares is that OLED 1306 screens are now fully working on all of them and that the PCD8544 has added as a screen option. I will go into the hardware changes needed for that at a later date. ArduiTape 1.5 What's New Added support for the PCD7544. Download from here. CASDuino 1.15 What's New Improved support for CoCo and Dragon Added support for OLED1306 and PCD8544. Download from here. TZXDuino 1.8 What's New Added ID2A Added support for PCD8544 Download from here. TZXDuino 1.8.1 What's New TSX support for MSX TSX files added by Natalia Pujol. Not officially supported and any bugs should be reported to her. Download from here.

And Now For Something Completely Amazing.

 When Andrew Beer and I came up with this idea the intention was for people to build their own and many people have but once in a while someone comes up with something so amazing it really needs to be shared. JamHamster came up with the idea of fitting a TZXDuino in a cassette. Originally it was powered by USB and had a 3.5mm Ear socket but it looked amazing. Then he added a battery so that it was self powered. Then he added a head from a CD to cassette adapter. Then he added a switch under that head so that when you press play on the Cassette Recorder it plays the file you've selected. And the TZXCassette was born Because he is a great guy he's also uploaded the instructions on how to build one to Github and you can download the instructions and build your own. Now at the moment there is no REM control it may not work as well with a CPC 464 as it does with with a Spectrum +2 but it is a stunning piece of electrical engineering and a work of art in my opinion.