Skip to main content

Posts

Improving The Interface

Adding Long File Name Support After building another Arduino based cassette player replacement ,Tapuino for the C64, and seeing how their interface works we have decided that LFN support would be a good idea for the Arduitape. This requires the usage of a different library. At first we'd hoped it would be a simple update of the SDFat library without a code rewrite but as with most projects the simple answer didn't work. I'm now looking into using Arduino-FatFS by Gallegojm which is based on Petit FatFS by ChaN. It may require a code rewrite though. You can find Arduino-FatFS here. https://github.com/gallegojm/Arduino-FatFs

Arduino Uno based Mark III.

Arduino Uno based Mark III. In a bid to make the overall dimensions smaller and also easier to build I have built the Mark III which is based on an Arduino Uno board, which is more expensive but a more reliable USB port and a built in DC power in port. The button board is still the same but there is a slight change in the design of the filter board. I may have left off one extra ground pin on the design. Because of how the Uno is built you can connect everything directly to the board using female to male dupont wires. I was lucky enough to have an Uno board with both male and female headers so I had even more flexibility. And heres the final build.  

A few design changes.

VOLUME CONTROL Someone who is interested asked about volume control as some 8-bits are sensitive to volume of playback. I had thought about this originally, as I know from experience that the MSX can be tricky, but did nothing more other than to adjust the potentiometer on the amp before I placed the ArduiTape into its housing. However if you are using this on different computers this could be annoying so I've decided to modify the amp. If you want to do this you will need to get a 10k Ohm variable resistor/amp. Logarithmic is the best type for volume control but linear is cheaper. Also try to get a 3 pin mono as they fit best. This is the type I got for testing purposes. Desolder and remove the existing potentiometer, very carefully and add 3 single pins into the holes left behind. Once that is done take 3 dupont wires and remove the connectors off one end and solder the wires to the pins on the new potentiometer. Connect the wire from the middle p...

How to get files running on your computer.

At the moment ArduiTape can only play .wav files and these .wav files have to be below 20kHz due to limitations of the Arduino Nano. We hope to be able to get the conversions done automatically by the Nano board eventually but development is in an early stage as we've been focusing on getting the boards working first. Arduitape does support sub directories but to move back and forth you need to create a file called ROOT with no extension. This can be done using a text editor like Wordpad. Create a new file, save as ROOT.txt and then rename the file and delete .txt. Put the file in every subdirectory on your SD card. Another thing worth noting when loading 2400 baud wavs is that sometimes the wav will stop playing and it will look like the game hasn't loaded. Just press play and wait 5-10 seconds and the game will start. MSX For the MSX we have adapted a version of CASTools to convert .CAS files into .wav files at the right frequency to work with the ArduiTape. This 14400Hz ...

Optional extras and housing the unit

Optional Extras The reset switch build is simple. Use a 5 hole by 5 hole piece of veroboard, connect the button to the centre, cut the copper strips in the same way you did on the button board, solder two wires and connect one wire to the RST pin and one to the standalone ground pin. The 5v adapter jack is constructed in a similar manner to the 2.5mm jack. Solder a wire to each of the connectors and connect one to the GND and one to the VIN. If when you connect an adaptor nothing happens then switch the wires over. Housing the ArduiTape I bought my project box from Maplins as they have a wide range of project boxes. Always make sure when you do house your project you allow more room than you actually need as the wires do take up a lot of room. My Project boxed.                                 ...

The final steps

The final step is building the Button Board and the connecting everything together. The Button Board. For this you will need the following. Veroboard I use (10 x 20 holes with the copper strips running horizontally) 5 x Buttons. 6 x Right Angle Male Pins. Jumper wire. Top view of the Button Board. Flip the board over and cut the copper strips where indicated. Bottom view of the Button Board. That is most of the construction done. The only things left to do is cut off one end off two dupont wires (for ease make sure one is black) and solder the wires on to the connectors of the 2.5mm port. ASSEMBLY This is where it gets complicated. First we will connect the LCD screen to the Nano board. Use 4 dupont wires and connect to the pins on the back of the LCD screen. The wire on the pin marked VCC goes to a 5v pin. GND to a Ground pin. SDA goes to pin A4 and SCL to A5. Now the SD Card Slot. ...

How to build the circuit boards.

And now on to construction. For the Nano Circuit board you will need the following Veroboard (I used a piece 13 holes by 19). 32 DIL Wide Socket. 28 Male Pin Headers. Jumper wire. Cut the jumper pins to the following 3 x 1 Pin 2 x 2 Pins 2 x 4 Pins 1 x 6 Pins 1 x 7 pins Make sure the copper strips on the veroboard are vertical and on the underside of the board. Top view of the Nano Board.  When you have soldered all the components flip the board over and remove the copper strips where indicated. Be very careful not to cut yourself. Underside  view of the Nano Board When completed it should look something like this. Now on to the Audio filter. You will need the following. Veroboard (I used a piece 9 holes by 15) 4 x 4.7k resistors. 3 x 4.7nF Capacitors 1 x 100nF Capacitor 3 x Male Pin headers. Cut your male pin header into single pins. C1, C2, and C3 are the 4.7nF Capacitors C4 is the 100nF Capacitor. Top view of Audio ...