CMU-800MIDI改造ドキュメント
先日完成したCMU-800のMIDI改造(AVR Version)について製作ドキュメントを一応公開しまーす。
最初のαバージョンはPICを使ってましたが、今回はAVR(ATmega168)を使用しています。
いろいろと参考にさせて頂いたサイトの皆様には、感謝申し上げます。m(__)m
1.MIDI KIT基板の製作
回路図(PCB2 Version)
片面プリント基板に無理なくアートワークができるように、ATmegaのピンアサインを一部見直しています。(姑息な手段)
PCBイメージ(PDF)
PCBデータ(PCBE)
サンハヤトの15k(150mm×100mm)で3枚作れます。(えっ、そんなにいらない… 余った基板はどなたかに分けてやってください)
部品配置は以下の写真を参考にしてください。(黒帯1本の抵抗みたいなものは、0Ωつまりジャンパー線です。) なお、ATmega168の下にジャンパー線が1本ありますので、ソケットを取り付ける前に忘れずに配線しておきます。
この基板ではMIDI受信用のフォトカプラにPC900Vを実装していますが、TLP552やPC910も実装できるようになっています。
ちなみにATmega168付近のピンヘッダはファームウェアをダウンロードするためのISP接続用です。
2.フラットケーブルコネクタの取り付け
基板から出ているフラットケーブルを約17~18cmぐらいのところで切断し、写真のように50pinコネクタを取り付けます。(取り付ける向きに注意してください。)

3.MIDIコネクタ取り付けパネルの製作
100mm×30mmのパネル(今回はアクリル板を使用)を用意し、写真のようにDINコネクタ2つ、LED2つ、本体に取り付けるための穴を開けます。

DINコネクタ取り付け後

4.MIDI KIT基板の実装
写真のように、もともとフラットケーブルが出ていた穴付近に基板を高さ10mmのスペーサーを使って固定し、各コネクタを接続します。
なお、MIDI KIT用の+5V電源は左の電源基板から直接取りました。
CMU-800は製造後20年以上は経過してますので、ついでに電源基板の電解コンデンサぐらいは交換しておいた方が良いでしょう。
5.ファームウェアのダウンロード
電源を入れ、異常がないことを確認したら、最後にATmega168にISPを使ってファームウェア(Hex)をダウンロードすれば完成です。
このとき、FUSEビットを忘れずに設定しておきます。
(毎度お世話になっているChanさんのAVRSPを使用する場合には「-FL11101111」オプションを付ける)
CMU800MIDIKITファームウェア(Hex、Cソース)
ファームウェアの機能については簡易マニュアル(永遠に暫定版?)をご覧ください。
簡易マニュアル(暫定版)
<注意事項>
本ドキュメントの利用については、各自の責任においてお願いします。
回路図およびファームウェアについては、改変および改変後の再配布等は自由に行っていただいてかまいませんが、無許可での商用利用は禁止とさせていただきます。
当方では改造依頼や基板、部品等の領布については一切対応できません。



コメント
ひゃっほーい。参考にさせていただきますー
投稿者: Chuck | 2008年01月16日 08:31
拙いソースですが、ご参考になれば。
投稿者: RJB | 2008年01月16日 23:15
i'm very interested in this cmu-800 midi kit. i am from europe, please get in touch if you can help me.
投稿者: darf fader | 2008年02月07日 04:53
Thank you for interesting of this MIDIKit.
Please question on details here.
投稿者: RJB | 2008年02月07日 23:42
is it possible to buy the parts/pcb as a kit? i can install it myself but i cannot manufacture the pcb.
you can email me: darffader@hotmail.com
投稿者: darf fader | 2008年02月08日 15:25
sorry...
It is only an introduction of the manufacturing method of MIDI KIT in this blog.
Parts/PCB cannot be sold.
投稿者: RJB | 2008年02月09日 16:21
too bad. thanks for the reply anyway. I will try to manufacture myself according to the translation of this page. Keep up the good work!
投稿者: darf fader | 2008年02月10日 02:14
The ATmega168 is it a 20 pu or a 10 pu card. What frequency clock is it 10 or 20? Do you have component list?
Kind regards
Pär
投稿者: Pär | 2008年02月27日 22:52
Hi, frequency clock is 20MHz, so choose the 20pu speed.
I do not make the parts list...
投稿者: RJB | 2008年02月28日 00:16
Thank you! :)
投稿者: Pär | 2008年02月28日 00:29
Is it a total of 3(three) 0 Ω jumpers? It looks that way. The only one I am not sure of is the long resistor under the 50 pin connector on the first photo. I belive that is a 0 Ω jumper but I am not sure.
Kind regards
Pär
投稿者: Pär | 2008年02月29日 04:12
There are five jumpers in total.
In detail... click here.
投稿者: RJB | 2008年03月01日 00:30
PCB ready!
http://www.99.se/attachments/diy-bygg-reparation/15477d1204642488-pcb-p-billigaste-s-ttet-pcbklar.jpg
投稿者: Pär | 2008年03月05日 00:28
Good job!
投稿者: RJB | 2008年03月07日 00:38
i wonder if this kit can be installed in a way that the APPLE II can still be used (maybe with a switch?)
投稿者: darf fader | 2008年03月11日 00:31
Because I don't have APPLE II, such a way is not thought.
投稿者: RJB | 2008年03月12日 01:03
Hello RJB, you made wonderful job in the past! as you know I used first pic scheme and I do not see critical issues there. But I changed opto input cause signal level was not enought :) Could you point the main defference in program realization of both schemes?
投稿者: Andrei Kkudryavtsev | 2008年10月11日 01:59
Oh!I read manual for AVR schemes. Midi support! GREAT! will assemble in these days definitely. thank you again.
投稿者: Andrei Kkudryavtsev | 2008年10月11日 02:21
Thanks! Andrei.
AVR type is recommended.
Good Luck!
投稿者: RJB | 2008年10月13日 22:47
あらためてプロジェクトをビルドしてみたところ mega48, mega88 でもフィットしました。WinAVR-20080512 を使いました。
投稿者: Chuck | 2008年11月08日 00:48
mega88で収まることは確認済みでしたが、mega48でも入るのですね。ありがとうございました。
投稿者: RJB | 2008年11月08日 07:43
Hello RJB,
now I'm prepared to build this scheme. could you please check AVR fuses are CKSEL 1111, SUT 10, CKOPT 0? I took this in AVR course but can't find CKOPT in PonyProg2000. Could you point the correct name there?
投稿者: Andrei Kudryavtsev | 2008年12月24日 06:34
Hi Andrei,
fuses are CKSEL->1111, SUT->10, CKOUT->1, CKDIV8->1.
isn't it not CKOPT but it CKOUT?
投稿者: RJB | 2008年12月25日 00:59
Hi RJB, thanks for your great job!!! It works fine and much better than pic's version... and CCs support!!! wow!
投稿者: Andrei Kudryavtsev | 2008年12月29日 21:25