100%
hardmpu-wt hardmpu-wt view
Description

Imported from GitHub: PickledDog/hardmpu-wt · commit fc9ccfc · license Apache-2.0

Description

HardMPU with wavetable module support

README

hardmpu-wt

HardMPU with wavetable module support

Assembled HardMPU

Overview

This is a clone of ab0tj's HardMPU board. I wanted one with a "Wave Blaster" header, so... here it is! If you don't need to install a wavetable module on your HardMPU, rather use ab0tj's original board. In particular, to quote the HardMPU repo, the circuit design is free for non-commercial use. The presence of this implementation does not permit commercial exploitation. If you build this, you may do so only for your own personal use. All software is bound by the terms of the GPL.

Initial setup

The ATmega needs to be programmed before use. This can be done using any AVR programmer (AVRISP, STK500, USBtinyISP, USBasp etc), or a universal programmer (TL866, T48).

Using an AVR programmer

This method programs the ATmega chip in-place (with the board fully assembled), through the J4 ISP connector. The listed programmers work similarly, but AVRDUDE will need to be told what programmer you are using. This example uses the programmer from Pololu.

Program the board loose (not plugged into a computer!) with the programmer configured to power the target at 5V. The required firmware can be found in ab0tj's repository (download all files), and AVRDUDE is used to install the firmware onto the ATmega.

You will need to modify the program.bat to reflect your programmer and environment. For example, to use a Pololu programmer detected at COM4, change (per-line):

-c usbasp-clone

to

-c stk500v2 -P COM4

For Mac and Linux, change the BATch file to a shell script and adapt it accordingly (use /dev/ttyUSB0 instead of COM4 etc).

Using a TL866

If you're using a TL866 or T48, the firmware is programmed directly to the ATmega chip before installing it - the J4 connector isn't used here, and can be omitted. Download HardMPU.hex from ab0tj's repository and open it with the standard XGpro tool. Go to the Config tab and set the fuses as follows:

ATmega1284 fuse config

With the firmware loaded and the fuses set, go ahead and program the ATmega chip.

User port

The optional User port (J2) allows adventurous builders to add features to the board, either internally or externally. It breaks out 4 GPIO pins, an I²C interface, the "Internal" serial interface (shared with the Wavetable header), and fused power and ground pins. Either regular or right-angled header (as pictured) can be installed in the J2 position; a hole will need to be cut in the bracket for external access. You will need to write your own code to use these interfaces - maybe add a status display using a common I²C LCD? The possibilities are not particularly limited!

Usage

With the card built and the chip programmed, it's ready to be installed in the ISA slot of your vintage PC. Copy hardmpu.com from the firmware folder above to the PC's hard drive - this is the config tool for HardMPU. Use it to select between internal and external MIDI devices, enable a delay for "rev 0" Roland MT-32s, and other miscellaneous options. Settings do not persist across reboots, so this will need to be added to autoexec.bat if the defaults aren't adequate.

External MIDI

To connect it to an external synthesizer, you'll need a "Sound Blaster MIDI" cable - you can find a used one, buy a new one, or build your own. If shopping for a new one, make sure to pick the one with large black DA-15 plugs since it has the electronics in the plug. Do not use the "metal plugs" kind, they are passive and may damage your synthesizer.

Internal MIDI ("Wave Blaster")

Plug the wavetable board onto the 26-pin header, aligning the pin 1 arrows on both boards. Audio is output through both the 3.5mm jack and the AuxOut header on the board. The latter can be fed into your regular sound card using a standard "MPC2" CD Audio cable (assuming it has a spare input). You will need to use the hardmpu.com tool to select the internal MIDI port.

Part selection

The design permits "nicer" parts than necessary - for example, the audio jack footprint accepts both switched and unswitched sockets. Not all pads and holes in the board need to be filled. The OPA2134 can be substituted for other common dual opamps (like the NE5532). Some connectors are optional - J2 and J5 in particular are seldom-used. An ATmega1284 can be used in place of the ATmega1284P if the latter isn't in stock; you will need to update program.bat accordingly.

Parts list

Bill Of Materials and part references are below. The specified parts are just the ones I used, and can be substituted as needed - Mouser links provided for convenience and reference. You will need to drill a single hole in the specified bracket for the audio jack - refer to the PCB file for size and location.

ReferenceValueQtyMouser link
C1-C100.1uF ceramic10KEMET C315C104M5U5TA
C11, C1222pF ceramic2KEMET C315C220K2G5TA
C13, C140.47uF ceramic2TDK FG18X7R1H474K
C15, C161uF ceramic2TDK FG18X7R1E105K
C1722μF electrolytic1Panasonic ECE-A1AKS220
F1500mA PPTC fuse1Bourns MF-R050-0-17
J1D-Sub DA-15 female1Amphenol L77SDA15SA4CH4F
J22x5 right-angle header1Amphenol 10129382-910002BLF
J33.5mm jack socket1CUI SJ1-3553NG
J42x3 box header1Wurth 61200621621
J52x5 box header1Wurth 61201021621
J62x13 header1Amphenol 67997-226HLF
J7CD-Audio socket1Molex 70551-0003
JP12x4 header1Amphenol 10129381-908002BLF
JP22x6 header1Amphenol 10129381-912002BLF
JP32x3 header1Amphenol 10129381-906002BLF
jumpers4Harwin M7583-46
R1-R34k7Ω resistor3Yageo CFR-25JR-52-4K7
R4, R5220Ω resistor2Yageo CFR-25JR-52-220R
U1, U274HCT1382TI CD74HCT138E
U374HCT081TI CD74HCT08E
U4, U574HCT5742TI CD74HCT574E
U674HCT2401TI SN74HCT240N
U7, U874HCT742TI CD74HCT74E
U9ATmega1284P1Atmel ATmega1284P
socket1Amphenol DILB40P-223TLF
U1078L051ST L78L05ACZ
U1179L051ST L79L05ACZ
U12OPA21341TI OPA2134PA
Y120MHz crystal1Arbacon ABL-20.000MHz-B1U
bracketISA DA-15 bracket1Keystone 9200-11
Comments
Sign in to comment

No comments yet. Be the first to ask about this board.