#! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create the files: # kit3c.doc # assem.dwg # schem.dwg # sk1v3c.hex # sk1v5b.hex # This archive created: Sat Feb 11 23:36:11 1989 export PATH; PATH=/bin:$PATH if test -f 'kit3c.doc' then echo shar: will not over-write existing file "'kit3c.doc'" else cat << \SHAR_EOF > 'kit3c.doc' Instructions for building the MIDI Mod for the Casio SK-1 Sampling Keyboard By Paul Messick & John Battle (C)Copyright, 1987 Datastream, Inc. 732A Holcomb Bridge Rd. Norcross, Georgia 30071 Phone (404)449-8536 GREETINGS! This document (and the other files in the arc file) are the documentation that you need to build your own MIDI Mod for the Casio SK-1 keyboard. This is a supplement to the article in the August issue of Keyboard by Paul Messick and John Battle. There have been some changes to the actual kit as described in the article (both to make it easier for us to build and easier for you to build). Those changes are described here. FILES (AND THEIR USES) The following files are included in this arc file. You won't need all of them, depending on which version of the mod you want to build. SK1MIDI.ARC - The arc file that you unpacked to find this file. KIT3C.DOC -- This file. Contains the instructions to build the 8031 version of the SK-1 mod. Print this file. ASSEM.DWG -- The assembly drawing file for the new version of the PC board. Note that this is different from the assembly drawing in the article. This is an Ascii file. Print this file on a dot matrix printer. SCHEM.DWG -- This is the schematic for the 8031 version of the SK-1 mod. This is also an Ascii file -- to be printed out on a dot matrix printer. SK1V3C.HEX -- The Intel hex file of the code that must be programmed into the 2732A Eprom (described later). This is the program that the MIDI mod "runs" to allow the SK-1 to accept MIDI. SK1V5B.HEX -- The Intel hex file of the code that must be programmed into the 8751 microprocessor. Use this file if you have an 8751 eprom type processor and wish to build the version described in the magazine article. Ignore it if you don't know what I'm talking about. A NOTE ABOUT VERSIONS AND THE MARCH OF TECHNOLOGY In our technological society, progress is rapid. So rapid in fact that sometimes a device is obsolete before is can be built. Here we have a case in point. Between the time that the article for Keyboard magazine was written and then published the chip that the MIDI mod was designed around became rather scarce. Without belaboring the point, it has become virtually impossible to find 8751 microprocessors (the Eprom version). In order for Datastream to offer any kind of kit for the SK- 1 mod we had to redesign the board around an 8031 processor and an Eprom. The kit works exactly the same as the one described in the article, it just looks a little different. There are two versions of the software that runs on the processors, Version 5b and Version 3c. Use version 5b if you have an 8751 and a way to program it. Use version 3c to program an eprom to work with the 8031 version. Building the 8751 version is easy, just follow the directions in the article (although we cannot supply a PC board for this version). The rest of this document describes how to build the 8031 version of the SK-1 MIDI Mod. This is the version that Datastream is currently shipping. A LIST OF NECESSARY PARTS To build the 8031 version of the SK-1 MIDI Mod, you will need the following parts. Qty Part No. Description Ref Des. 1 8031AH Microprocessor U3 1 2732A Eprom U5 1 74LS373 Address Latch U4 1 PC-900 Opto-Isolator U2 1 LM7805 5 Volt Regulator U1 1 MSK1-PCB PC Board 1 5 Pin Din, 180 Deg. P1 1 Xtal, 12 MHz X1 1 1N4148 Diode CR1 4 Resistor,10K,.125W R1,R2,R3,R4 1 Resistor,270,.125W R6 1 Resistor,220,.125W R5 1 Resistor,8.2K,.125W R7 2 Cap,Elect.,10uF,25V C1,C4 2 Cap,Cer.,27pF C2,C3 1 16 Cond. Ribbon Cable, 13 inches. 1 4-40 Screw,Nut,Lockwasher 1 24 Pin Low Profile Socket A complete kit of parts, including the printed circuit board and programmed eprom is available from Datastream, Inc. for $59.95 + 3.00 S/H (732A Holcomb Bridge Rd, Norcross, Georgia, 30071, Phone 404/449-8536). Datastream will also install the kit into your SK-1 for $99.95 + 6.00 S/H total. Additionally, already modified SK-1's are available for $199.95 + 6.00 S/H. A blank PC board (MSK1-PCB) can also be had from Datastream for $15.00. And now for the obligatory warranty disclaimer: before you open your SK-1 or send it to Datastream to be modified be aware that doing so will void the warranty with Casio on the keyboard. If warranties (or lack thereof) do not bother you, forge ahead. BUILDING THE KIT -- If you are not particularly handy with a soldering iron, have a technical type friend build the kit for you, or let Datastream do the deed. While it is not a difficult kit to build, it is not intended for beginners. Ah, you are still with me. Good. A word to the wise-- since this pc board and the parts on it can be damaged by excessive heat, use only a low wattage (25 Watts or so) small tip soldering iron and ROSIN-CORE solder. DO NOT use acid core solder (in fact, throw out any acid core solder you find, unless you plan on welding pipes). This is very important -- if you are not sure about the type of solder you have, throw it away and buy a new roll of rosin core solder. Lay the board on your work bench with the notch that is in the middle of the board toward you and the large hole (where the rectangular metal area is) toward the left. Lay the printout of the board (you DID print it out, didn't you?) on the bench in a similar manner. With all of your parts and your soldering iron hot and ready we can begin. The following steps will get your board built: 1) Install the 24 pin socket where U5 should be. Orient the notch in the socket towards the top of the board (away from you). Make sure that the socket lays down flush on the board and solder the pads to the board. The easiest way to make sure that the socket (or any other IC) is flush on the board is to solder two opposite corners first. Then, if the part is not flush, reflow the solder on the corner pins and push the part flat. 2) In a similar way, install the 74LS373, U4. Make sure that pin 1, usually marked with a dot or notch, is towards the top of the board. Note that the pin 1 locations for all of the IC's are marked on the back side of the board. 3) Likewise, install the microprocessor at U3, with the pin 1 dot near the eprom socket. Some microprocessors have a stripe along one side of the chip, instead of a dot at pin 1. This stripe should be nearest the bottom of the board. 4) The PC-900, U2, goes in its home the same way. 5) The regulator goes next. Carefully bend the three leads down at a right angle to the body of the regulator. Insert the leads into the three square pads on the board and push the part down flush. The hole in the regulator should line up with the hole in the board. Use a 4-40 screw, nut, and lockwasher to clamp the regulator to the board. Alternatively, you could use a 1/8 inch pop-rivet to install the part. Solder the three leads and cut off any excess wire. 6) Install the resistors next. A 270 ohm resistor goes at R6, toward the top of the board. A 220 ohm resistor is installed at R5, just below U2. Solder the pads and cut off the excess leads. 7) The rest of the resistors are installed "standing up". Insert the body of R1, a 10 K ohm resistor into the pad nearest the notch in the board, close to the microprocessor. Bend the other lead over and insert it into the round pad near the bottom of the board. The resistor should go from a round pad near the bottom of the board to a round pad nearer to the microprocessor (not left to right). The pads will be in a straight line with each other. Solder the leads and cut off the excess. 8) Install R2, R3, and R4 the same way. They should be next to each other and their bare leads should not be touching. R6 is installed near the bottom of the board near pin 13 of the eprom socket. 9) Install CR1 flush on the board with the banded end away from the top of the board. 10) The capacitors are next. Install C1, a 10 uF/25 V electrolytic, near the regulator. The plus (positive) lead is toward the top of the board, while the minus is toward the bottom. Likewise, install C4, another 10 uF/25 V near R7. Again, the plus lead is toward to top of the board. 11) The two 27 pF capacitors, C2 and C3 are installed near the lower right corner of the board. There are three holes for each capacitor (really!). In each case, one lead goes in the hole towards the right and the other lead goes in whichever hole works best. That way, almost any physical size capacitor will fit. 12) The 12 Mhz crystal goes just above C3. Before soldering the leads, put a small amount of space between the crystal case and the board. This keeps the crystal from touching the board and shorting to the pads under and next to it. 13) The pc-board mount midi connector is next. Make sure that the connector is flush to the board, then solder the seven pads. 14) Connect a 4 inch piece of red wire the pad (near the regulator) that is marked V. Connect a similar black wire to the pad labeled G. 15) Peel four of the conductors off of the 16 conductor ribbon cable. Remove these wires from the side of the cable opposite the red tracer. Separate and strip each wire at one end of the 12-wire ribbon cable and connect it to the 12 square pads near the bottom of the board, taking care to connect the wire with the tracer to pin 1 (nearest the notch). 16) Using a suitable Eprom programmer (and probably a computer), blast a 2732A eprom with the Intel hex file "SK1V3C.HEX". If you don't know what this means (or have trouble doing it) you may need to find a computer genius to help you. Take a piece of masking tape and cover the window on the chip. Write on the tape "(C)Copyright Datastream, 1987, MSK1 Rev 3c". This makes you legal (you should have a warm, fuzzy feeling at this point). Install the eprom in the socket with the notch toward the top of the board. Congratulations! You are now done assembling the SK-1 MIDI Mod board. Refer to the article in Keyboard magazine, August '87, for details on customizing your mod and installing in your SK-1. The customization section begins on page 36. We are genuinely interested in your success with this project. If you have any suggestions, problems, ideas, kudos, or slams you can reach me on Compuserve [76456,1463]. I'm looking forward to hearing from you. Happy MIDI! Paul Messick July, 1987 SHAR_EOF fi # end of overwriting check if test -f 'assem.dwg' then echo shar: will not over-write existing file "'assem.dwg'" else cat << \SHAR_EOF > 'assem.dwg' +------------------------------------------------------------+ | +-+ O +------+ | | |O|+ | O-| R 6 |-O +-----------+ | | +-----+-----+ | | +---+ +------+ | MIDI IN | | | | | |--O |O|- | | O O O | | | | | O | U1 |--O +-+ | | | | | | P 1 | | | | | |--O C1 | | +-----+ +-----------+ | +-------+ +-----+-----+ |XXX| | | | | | | | +--------+ | O O | | X U2 | O | O | O | | (V) (G) +---+ | | O O | | +-U-+ +--+ +--+ | +-----+ | | 1| | 1| +---+ | O 1| | | | | O-| |-O O-| |-O CR1 O O O | | | | | | +-----+ | | O-| |-O O-| |-O O-| R 5 |-O | | | | | | +-----+ | | O-| |-O O-| |-O O O O O O O O O O O O O O O O O O O O O | | | | | | | | | | | | | | | | | | | | | | | | | | | | O-| |-O O-| |-O +-----------------------------------------+ | | | | | | | | | | O-| |-O O-| |-O | | | | | | | | +--+ U3 | | | O-| U |-O O-| U |-O C | | | | | 4 | | 5 | 4 +--+ MICROPROCESSOR | | | O-| |-O O-| |-O +-+ | | | | | | | | |o|+ | | | | O-| |-O O-| |-O | | +-----------------------------------------+ | | | | | | |o|- 1| | | | | | | | | | | | | | | | | | | | | | O-| |-O O-| |-O +-+ O O O O O O O O O O O O O O O O O O O O | | | | | | O O O O | | O-| |-O O-| |-O O +-------+ | | | | +-----+ +-------+ | | +---+ | | | | | +-++-++-++-+ |OO O| |O O| | | O-| |-O +-+ | | |R||R||R||R| +-----+ +-------+ | | | | |R| | | |1||2||3||4| C2 X1 | | O-| |-O |7| | | +-++-++-++-+ +-----+ | | | | +-+ | | | | | | |OO O| | | +---------+ | | | O O O O +-----+ | | O | | C3 | | | | 1 12 | | | | O O O O O O O O O O O O | +--------------------------------+ +------------------------------------+ Datastream SK-1 MIDI Mod Assembly Drawing SHAR_EOF fi # end of overwriting check if test -f 'schem.dwg' then echo shar: will not over-write existing file "'schem.dwg'" else cat << \SHAR_EOF > 'schem.dwg' Datastream SK-1 MIDI Mod Schematic +-----------+ +-----------------------------------------+ 1 | | | U4 | S0 O------------| 8 | | | 6 | | | 74LS373 | S1 O------------| 7 | | | 7 | | | 1 1 1 1 1 1 2 1 1 1 1 | C S2 O------------| 6 | | 3 4 7 8 8 7 4 3 1 1 0 0 2 5 6 9 9 6 5 2 | A 8 | | +-----------------------------------------+ S S3 O------------| 5 | | | | | | | | | | | | | | | | | | | | | I 9 | | | | | | | | | | | G G V | | | | | | | | O S4 O------------| 4 | | | | | | | | | | N N C | | | | | | | | 10 | | | | | | | | | | | D D C | | | | | | | | K S5 O------------| 3 | | | | | | | | | | +---------------------+ E 11 | | | | | | | | | | | | 8 7 6 5 4 3 2 1 | Y S6 O------------| 2 39 |----o-+-+-+-+-+-+-+-+-| 9 | B 12 | | | | | | | | | | | | O S7 O------------| 1 38 |------o-+-+-+-+-+-+-+-| 10 | A 3 +----+ | | | | | | | | | | | R D0 O---| R1 |---| 14 37 |--------o-+-+-+-+-+-+-| 11 | D 5 +----+ | | | | | | | | | | D1 O---| R2 |---| 15 36 |----------o-+-+-+-+-+-| 13 | 4 +----+ | | | | | | | | | D2 O---| R3 |---| 16 35 |------------o-+-+-+-+-| 14 | 2 +----+ | | | | | | | | D3 O---| R4 |---| 17 34 |--------------o-+-+-+-| 15 U5 | +----+ | | | | | | 2732 | +----+ | 33 |----------------o-+-+-| 16 EPROM | VCC---o-| R6 |-o--| 10 | | | | | | +----+ | | 32 |------------------o---| 17 | 6| |4 | | | | | +----------+ | 30 |--------------------o-| 18 | 5| U2 | | | | | GND--| PC-900 | | U3 29 |----------------------| 20 | | OPTO-ISO | | 8031 | | | +----------+ | 21 |----------------------| 23 | 2| |1 | | | | M | CR1 | | 22 |----------------------| 22 | I | +----+ | | | | | D >--o-|->|-|-o | 23 |----------------------| 19 2 2 1 | I 5 +----+ | | | | 4 1 2 | | | 40 |-----VCC +---------------------+ I +----+ | | | C4 || | | | N >---| R5 |--+ | 9 |----------------o--||--------o | | P 4 +----+ | | F | || + | G G U | 24 |---O O---+ | | N N T | | 1 | +---+ V D D | 25 |---O O---o | | C | | 2 | | R | C || | 26 |---O O---o | 7 | GND----||---o----| 18 | 4 | | | || | | 27 |---O O---o +---+ D C2 | | | 8 | | +------+ C | | 28 |---O O---o | TO 2 | U1 | 1 +-----+ | | A | | VCC <-o---| 7805 |--< I X1 | XTAL| | 12 |---O O---o | |+ | | N +-----+ | | X | | === +------+ P | | 13 |---O O---o | C1 | 3| U C3 | | | | +-------o-------o T || | | 20 |---------o | GND----||---o----| 19 | | | || | 31 |---------o---GND GND +-----------+ SHAR_EOF fi # end of overwriting check if test -f 'sk1v3c.hex' then echo shar: will not over-write existing file "'sk1v3c.hex'" else cat << \SHAR_EOF > 'sk1v3c.hex' :0200000001738A :2000230021374461746173747265616D204D534B312D3320536F667477617265205265760B :20004300203363284329434F505952494748542C5061756C204D65737369636B2026204A3D :100063006F686E20426174746C652C2031393836A8 :20007300787FE4F6D8FD75815878307930438780759870758DFE75B81075A89275892075E2 :2000930088407590FF75B00F02FC0051B4204BFBE8B5010280F5E712033A6044F51423C009 :2000B300E0240C83F583D0E004240483F582E47301500157015B0176015B017601760176B8 :2000D30001760150017601760150015001500176017901790179017901790179017901791D :2000F300E51323C0E0240C83F583D0E004240483F582E4730150018101810179028201790D :200113000179017901790150017901790150015001500150015001500150015001500150EF :200133000150015010990310980132C0E0C0D0E599F608B858027830D0D0D0E03275140012 :20015300C2482176D2518002C251E7540F204D04F517D24DF516E517C249C24CB51602D28E :200173004CC24885141309B958027930019E304CF5E7204872B248C249F527B43500400F7B :20019300B45500401320B3022179C3940C80EC20B3022179240C80E3D249C39435C0E05415 :2001B3001C9001B8737480801A74408016742080127410800E7408800A740480067402804A :2001D300027401F518D0E0540375F000B40002D2F0B40102D2F1B40202D2F2B40302D2F330 :2001F300D2F785F02821792049022179B248205103B400367D1A7CFF0D0CBC04022179ED1B :20021300712BB518F374232C712BB527EB741F2CF5F0712BB528E1205009E471328C12C2EB :20023300522179D2E6120332217920B2053052022179741B2512F5F0E5187132741F25121C :20025300F5F0E528713274232512F5F0E52771327CFF05120CE512B40403751200BC0404F9 :20027300D2522179741F2512712B20E7E52179E7204809B44004B24821792150B47F04D263 :200293005080F3C2507D1E7CFF0D0CBC040280E6ED12032B30E6F2E48DF0120332C25280AE :2002B300E8E590B4000C75B00F204A0122C24AC24B22B4E003D24B22204B0122F515B401EF :2002D30002D24AE4F51AE51F30E70BE51BB51506E51F451AF51AE52030E70BE51CB515069A :2002F300E520451AF51AE52130E70BE51DB51506E521451AF51AE52230E70BE51EB515060E :20031300E522451AF51AE51AC4440FF5B0E590B5150280F975B00F22C001F9E7D00122C036 :2003330001A9F0F7D00122FF30E71D54F0B4F007EF540F24088010EFC4540FC39407C0E0E2 :0A035300EF540FF5F0D0E022E42291 :13F4000030A30302009EE5A0C4F4540FF517D24D02009E18 :00000001FF SHAR_EOF fi # end of overwriting check if test -f 'sk1v5b.hex' then echo shar: will not over-write existing file "'sk1v5b.hex'" else cat << \SHAR_EOF > 'sk1v5b.hex' :02000000014CB1 :200023002121284329434F505952494748542C50204D45535349434B2026204A20424154DC :20004300544C452C2031393836787FE4F6D8FD75815878307930438780759870758DFE7513 :20006300B81075A8937589217588407580FF7590FF75A0FF75B0FF20A10BE5A00303F454DA :200083000FF517D24D519E204BFBE8B5010280F5E71203236044F51423C0E0240C83F583FF :2000A300D0E004240483F582E473013A01410145016001450160016001600160013A016086 :2000C3000160013A013A013A016001630163016301630163016301630163E51323C0E024AB :2000E3000C83F583D0E004240483F582E473013A016B016B0163026C016301630163016354 :20010300013A01630163013A013A013A013A013A013A013A013A013A013A013A013A10996C :200123000310980132C0E0C0D0E599F608B858027830D0D0D0E032751400C2482160D251BF :200143008002C251E7540F204D04F517D24DF516E517C249C24CB51602D24CC24885141360 :2001630009B9580279300188304CF5E7204872B248C249F527B43500400FB4550040132027 :20018300B4022163C3940C80EC20B4022163240C80E3D249C39435C0E0541C9001A2737495 :2001A30001801A74028016740480127408800E7410800A74208006744080027480F518D052 :2001C300E0540375F000B40002D2F0B40102D2F1B40202D2F2B40302D2F3D2F785F028210D :2001E300632049022163B248205103B400367D1A7CFF0D0CBC04022163ED7114B518F3743B :20020300232C7114B527EB741F2CF5F07114B528E1205009E4711B8C12C2522163D2E61270 :20022300031B216320A0053052022163741B2512F5F0E518711B741F2512F5F0E528711BD0 :2002430074232512F5F0E527711B7CFF05120CE512B40403751200BC0404D2522163741F7A :200263002512711420E7E52163E7204809B44004B2482163213AB47F04D25080F3C2507DCB :200283001E7CFF0D0CBC040280E6ED12031430E6F2E48DF012031BC25280E8E580B4000C31 :2002A3007590F0204A0122C24AC24B22B40703D24B22204B0122F515B48002D24AE4F51AA4 :2002C300E51F30E70BE51BB51506E51F451AF51AE52030E70BE51CB51506E520451AF51A48 :2002E300E52130E70BE51DB51506E521451AF51AE52230E70BE51EB51506E522451AF51A1C :20030300E51A44F0F590E580B5150280F97590F022C001F9E7D00122C001A9F0F7D0012289 :20032300FF30E71D54F0B4F007EF540F24088010EFC4540FC39407C0E0EF540FF5F0D0E08F :0303430022E4228F :00000001FF SHAR_EOF fi # end of overwriting check # End of shell archive exit 0