{"id":577,"date":"2012-06-11T17:51:01","date_gmt":"2012-06-11T08:51:01","guid":{"rendered":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/?p=577"},"modified":"2012-08-12T18:34:56","modified_gmt":"2012-08-12T09:34:56","slug":"moco2","status":"publish","type":"post","link":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/2012\/06\/moco2\/","title":{"rendered":"<!--:ja-->\u6c4e\u7528USB-MIDI\u57fa\u677f moco2<!--:--><!--:en-->Universal USB-MIDI board<!--:-->"},"content":{"rendered":"<p><!--:ja-->\u5b89\u4fa1\u306b\u4f5c\u308c\u3066\u3001\u6c4e\u7528\u7684\u306b\u4f7f\u3048\u308bUSB-MIDI\u7528\u306e\u57fa\u677f(moco2)\u3092\u4f5c\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>iPad\u304b\u3089\u624b\u8efd\u306b\u4f7f\u3048\u308bMIDI\u30c7\u30d0\u30a4\u30b9\u304c\u4f5c\u308c\u307e\u3059\u3002<\/p>\n<h2>\n<div id=\"attachment_589\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-01.jpg\"><img aria-describedby=\"caption-attachment-589\" loading=\"lazy\" class=\"size-medium wp-image-589\" title=\"moco2-meeblip-01\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-01-400x265.jpg\" alt=\"MeeBlip\u3092\u30e2\u30d0\u30a4\u30eb\u30b7\u30f3\u30bb\u306b\u3059\u308b\" width=\"400\" height=\"265\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-01-400x265.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-01.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-589\" class=\"wp-caption-text\">MeeBlip\u3092\u30e2\u30d0\u30a4\u30eb\u30b7\u30f3\u30bb\u306b\u3059\u308b<\/p><\/div>\n<p><!--:--><!--:en-->I designed a low cost USB-MIDI board named moco2. With moco2, one can easily build MIDI device which works with iPad.<\/p>\n<p>Moco2 can be used as a converter between serial-MIDI and USB-MIDI.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-01.jpg\"><img loading=\"lazy\" title=\"moco2-meeblip-01\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-01-400x265.jpg\" alt=\"MeeBlip\u3092\u30e2\u30d0\u30a4\u30eb\u30b7\u30f3\u30bb\u306b\u3059\u308b\" width=\"400\" height=\"265\" \/><\/a><\/p>\n<p><!--:--><!--more--><!--:ja--><\/h2>\n<h2>1. \u56de\u8def\u56f3<\/h2>\n<p>\u57fa\u672c\u7684\u306a\u56de\u8def\u306f\u4ee5\u524d\u306b\u4f5c\u6210\u3057\u305f\u300c<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/morecat_lab\/MOCO.html\">USB-MIDI Converter \u3082\u3053<\/a>\u300d\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2.png\"><img loading=\"lazy\" class=\"aligncenter\" title=\"moco2 Schematic\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-400x282.png\" alt=\"moco2 Schematic\" width=\"400\" height=\"282\" \/><\/a><\/p>\n<p>V-USB\u3092\u4f7f\u3063\u3066USB-MIDI\u30af\u30e9\u30b9\u306e\u30c7\u30d0\u30a4\u30b9\u3092\u4f5c\u308b\u5834\u5408\u3001\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u304c2KB\u306eTiny2313\u3060\u3068\u30e1\u30e2\u30ea\u5bb9\u91cf\u304c\u305f\u3089\u305a\u3001\u3042\u307e\u308a\u6a5f\u80fd\u3092\u4f5c\u308a\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6700\u8fd1\u3001\u30e1\u30e2\u30ea\u5bb9\u91cf\u304c2\u500d(4KB)\u306eTiny4313\u304cDigikey\u306a\u3069\u3067\u5b89\u304f\u5165\u624b\u53ef\u80fd\u306b\u306a\u3063\u305f\u305f\u3081\u3001\u6c4e\u7528\u7684\u306b\u5229\u7528\u53ef\u80fd\u306a\u57fa\u677f\u3092\u304a\u3053\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Tiny2313\/4313\u309216MHz\u3067\u52d5\u4f5c\u3055\u305b\u3001Serial MIDI\u3068\u306e\u63a5\u7d9a\u306e\u305f\u3081\u306e\u30d5\u30a9\u30c8\u30ab\u30c3\u30d7\u30e9\u3092\u3064\u3051\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u4eca\u56de\u306f\u4ed6\u306e\u7528\u9014\u306b\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u3001CPU\u306e\u4fe1\u53f7\u3092\u53d6\u308a\u51fa\u305b\u308b\u3088\u3046\u306b18PIN\u306e\u30d4\u30f3\u30d8\u30c3\u30c0\u3092\u4ed8\u3051\u307e\u3057\u305f\u3002\u7d44\u307f\u7acb\u3066\u306e\u969b\u306b\u5229\u7528\u3059\u308b\u4e88\u5b9a\u306e\u306a\u3044\u30d1\u30fc\u30c4\u306f\u4ed8\u3051\u306a\u304f\u3066\u69cb\u3044\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u30b7\u30ea\u30a2\u30ebMIDI\u306e\u5165\u529b\u3092\u3057\u306a\u3044\u5834\u5408\u306b\u306f\u3001\u30d5\u30a9\u30c8\u30ab\u30c3\u30d7\u30e9\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<h2>2. \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/h2>\n<p>\u76ee\u7684\u306b\u3088\u3063\u3066\u30d5\u30a1\u30fc\u30e0\u30a6\u30a8\u30a2\u3092\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u9055\u3063\u305f\u30c7\u30d0\u30a4\u30b9\u3092\u4f5c\u6210\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u79c1\u306e\u4f5c\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001tiny2313\/4313\u306b\u306f\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u7b49\u306f\u6709\u308a\u307e\u305b\u3093\u306e\u3067\u3001ISP\u30d7\u30ed\u30b0\u30e9\u30de\u3067\u76f4\u63a5\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002V-USB\u3092\u4f7f\u3044\u969b\u306b\u306fFUSE\u30d3\u30c3\u30c8\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u5fd8\u308c\u305a\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<h3>2.1 USB-MIDI\u30b3\u30f3\u30d0\u30fc\u30bf\u3000\u3082\u3053<\/h3>\n<p>Moco\u306fUSB-MIDI\u3068\u30b7\u30ea\u30a2\u30ebMIDI\u306e\u5909\u63db\u3092\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\u5bb9\u91cf\u306e\u95a2\u4fc2\u3067\u3001Tiny2313\u306e\u5834\u5408\u306b\u306f\u3069\u3061\u3089\u304b\u7247\u65b9\u5411\u306e\u307f\u3067\u3059\u3002Tiny4313\u306fUSB-MIDI &lt;-&gt;Serial MIDI\u304c\u53cc\u65b9\u5411\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<table style=\"width: 391px; height: 84px;\" border=\"1\">\n<thead>\n<tr>\n<td style=\"text-align: center;\">\u540d\u79f0<\/td>\n<td style=\"text-align: center;\">\u6a5f\u80fd<\/td>\n<td style=\"text-align: center;\">\u5fc5\u8981\u306a\u30c1\u30c3\u30d7<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">Mico<\/td>\n<td style=\"text-align: center;\">Serial MIDI -&gt; USB-MIDI<\/td>\n<td style=\"text-align: center;\">Tiny2313<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Moco<\/td>\n<td style=\"text-align: center;\">USB-MIDI -&gt; Serial MIDI<\/td>\n<td style=\"text-align: center;\">Tiny2313<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">MicoMoco<\/td>\n<td style=\"text-align: center;\">USB-MIDI &lt;-&gt; Serial MIDI<\/td>\n<td style=\"text-align: center;\">Tiny4313<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div id=\"attachment_586\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-MIDI-conv.jpg\"><img aria-describedby=\"caption-attachment-586\" loading=\"lazy\" class=\"size-medium wp-image-586\" title=\"moco2-MIDI-conv\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-MIDI-conv-400x265.jpg\" alt=\"\u30b7\u30ea\u30a2\u30ebMIDI\u30b3\u30f3\u30d0\u30fc\u30bf\u3000\u3082\u3053\" width=\"400\" height=\"265\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-MIDI-conv-400x265.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-MIDI-conv.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-586\" class=\"wp-caption-text\">\u30b7\u30ea\u30a2\u30ebMIDI\u30b3\u30f3\u30d0\u30fc\u30bf\u3000\u3082\u3053<\/p><\/div>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30d5\u30a9\u30eb\u30c0\u306b\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u5fc5\u8981\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u8fbc\u3093\u3067\u5229\u7528\u3057\u3066\u4e0b\u3055\u3044\u3002\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/morecat_lab\/MOCO.html\">\u3053\u3061\u3089<\/a>\u304b\u3089\u3069\u3046\u305e\u3002<\/p>\n<h3>2.2 \u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9<\/h3>\n<p>\u5358\u7d14\u306a\u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d4\u30f3\u30d8\u30c3\u30c0\u306b\u51fa\u3066\u3044\u308b\u30d4\u30f3\u3092\u30b0\u30e9\u30f3\u30c9\u306b\u843d\u3068\u3059\u3053\u3068\u3067\u30ce\u30fc\u30c8\u4fe1\u53f7\u3092USB\u5074\u306b\u51fa\u529b\u3059\u308b\u5358\u7d14\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<div id=\"attachment_587\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-mini-key.jpg\"><img aria-describedby=\"caption-attachment-587\" loading=\"lazy\" class=\"size-medium wp-image-587\" title=\"moco2-mini-key\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-mini-key-400x265.jpg\" alt=\"moco2\u3092\u4f7f\u3063\u305f\u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9\" width=\"400\" height=\"265\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-mini-key-400x265.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-mini-key.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-587\" class=\"wp-caption-text\">moco2\u3092\u4f7f\u3063\u305f\u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9<\/p><\/div>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30d4\u30f3\u6570\u306e\u90fd\u5408\u3067\u3001\u3061\u3087\u3046\u3069\u4e00\u30aa\u30af\u30bf\u30fc\u30d6\u5206\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u5b9f\u7528\u7684\u306b\u306f\u3001\u4e00\u30aa\u30af\u30bf\u30fc\u30d6\u4e0a\u306eC\u3082\u51fa\u308b\u3068\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<table style=\"width: 227px; height: 264px;\" border=\"1\">\n<tbody>\n<tr style=\"text-align: center;\">\n<td style=\"text-align: center;\">note NO<\/td>\n<td style=\"text-align: center;\">PIN<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">C4<\/td>\n<td style=\"text-align: center;\">PB1<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">C#4<\/td>\n<td style=\"text-align: center;\">PB2<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">D4<\/td>\n<td style=\"text-align: center;\">PB3<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">D#4<\/td>\n<td style=\"text-align: center;\">PB4<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">E4<\/td>\n<td style=\"text-align: center;\">PB5<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">F4<\/td>\n<td style=\"text-align: center;\">PB6<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">F#4<\/td>\n<td style=\"text-align: center;\">PB7<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">G4<\/td>\n<td style=\"text-align: center;\">PD0<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">G#4<\/td>\n<td style=\"text-align: center;\">PD1<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">A4<\/td>\n<td style=\"text-align: center;\">PD4<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">A#4<\/td>\n<td style=\"text-align: center;\">PD5<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">B4<\/td>\n<td style=\"text-align: center;\">PD6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: left;\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f<a href=\"ttp:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/miniKeyboard_20120609.tgz\">\u3053\u3061\u3089\u3002<\/a><br class=\"_mce_marker\" \/><\/p>\n<h3>2.3 Note\u4fe1\u53f7\u3067\u5149\u308bLED\u30c7\u30a3\u30b9\u30d7\u30ec\u30a3<\/h3>\n<p>\u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u3061\u3087\u3046\u3069\u9006\u3067\u3001\u30ce\u30fc\u30c8\u4fe1\u53f7\u306b\u3088\u3063\u3066\u30d4\u30f3\u306eH\/L\u3092\u5207\u63db\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u96fb\u6d41\u5236\u9650\u62b5\u6297\u3092\u7d4c\u7531\u3057\u3066LED\u3092\u5404\u30d4\u30f3\u306b\u3064\u306a\u3050\u3053\u3068\u3067\u3001LED\u306e\u5236\u5fa1\u7b49\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<div id=\"attachment_588\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led.jpg\"><img aria-describedby=\"caption-attachment-588\" loading=\"lazy\" class=\"size-medium wp-image-588\" title=\"moco2-led\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led-400x265.jpg\" alt=\"MIDI\u5236\u5fa1\u306eLED\u8868\u793a\u5668\" width=\"400\" height=\"265\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led-400x265.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-588\" class=\"wp-caption-text\">MIDI\u5236\u5fa1\u306eLED\u8868\u793a\u5668<\/p><\/div>\n<p>\u306a\u304a\u3001\u30d4\u30f3\u914d\u7f6e\u306f\u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/noteLED_20120610.tgz\">\u3053\u3061\u3089\u3002<\/a><\/p>\n<h2>3. \u5229\u7528\u4f8b<\/h2>\n<p>moco2\u306f\u3001\u81ea\u4f5c\u6a5f\u5668\u306b\u7d44\u307f\u8fbc\u3093\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30aa\u30fc\u30d7\u30f3\u30cf\u30fc\u30c9\u30a6\u30a8\u30a2\u306a\u30c7\u30b8\u30bf\u30eb\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc<a href=\"http:\/\/meeblip.com\/\">MeeBlip<\/a> micro\u3092iPad\u306b\u305d\u306e\u307e\u307e\u3064\u306a\u3044\u3067\u3001\u30e2\u30d0\u30a4\u30eb\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc\u3068\u3057\u3066\u5229\u7528\u53ef\u80fd\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_590\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02.jpg\"><img aria-describedby=\"caption-attachment-590\" loading=\"lazy\" class=\"size-medium wp-image-590\" title=\"moco2-meeblip-02\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02-400x265.jpg\" alt=\"Meeblip\u3092moco2\u3067\u5236\u5fa1\u3059\u308b\" width=\"400\" height=\"265\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02-400x265.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-590\" class=\"wp-caption-text\">Meeblip\u3092moco2\u3067\u5236\u5fa1\u3059\u308b<\/p><\/div>\n<p>\u3010\u6539\u9020\u306e\u30dd\u30a4\u30f3\u30c8\u3011<\/p>\n<ul>\n<li>USB-MIDI\u30b3\u30f3\u30d0\u30fc\u30bf\u3068\u3057\u3066\u5229\u7528\u3057\u307e\u3059\u3002USB-&gt;Serial MIDI\u306e\u4e00\u65b9\u901a\u884c\u3067\u5145\u5206\u3067\u3059\u306e\u3067\u3001Tiny2313\u304c\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002\u307e\u305f\u30b7\u30ea\u30a2\u30eb\u5074\u304b\u3089\u306e\u5165\u529b\u3082\u306a\u3044\u305f\u3081\u3001moco2\u57fa\u677f\u5074\u306b\u306f\u30d5\u30a9\u30c8\u30ab\u30c3\u30d7\u30e9\u306f\u5b9f\u88c5\u306e\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<li>MeeBlip\u306f\u57fa\u677f\u4e0a\u306b5V\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u3092\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u76f4\u63a5USB\u304b\u3089\u96fb\u6e90\u4f9b\u7d66\u3092\u884c\u3046\u305f\u3081\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u3092\u5b9f\u88c5\u305b\u305a\u306b\u30d0\u30a4\u30d1\u30b9\u3057\u307e\u3057\u305f\u3002<\/li>\n<li>MIDI\u4fe1\u53f7\u306fmoco2\u3068MeeBlip\u306e\u30d5\u30a9\u30c8\u30ab\u30c3\u30d7\u30e9\u3092\u7d4c\u7531\u3057\u3066\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u306f\u30d5\u30a9\u30c8\u30ab\u30c3\u30d7\u30e9\u3092\u7d4c\u7531\u305b\u305a\u76f4\u63a5\u63a5\u7d9a\u3057\u3066\u3082\u5927\u4e08\u592b\u306e\u306f\u305a\u3067\u3059\u3002\u4eca\u56de\u306f\u3001\u6539\u9020\u304c\u591a\u304f\u306a\u308b\u306e\u3067\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>MeeBlip\u306b\u306f\u5236\u5fa1\u7528\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3084\u30b9\u30a4\u30c3\u30c1\u3092\u63a5\u7d9a\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u4ed8\u3051\u306a\u304f\u3066\u3082\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002\u30b9\u30a4\u30c3\u30c1\u304c\u7121\u3044\u5834\u5408\u306b\u306f\u3001MIDI\u7d4c\u7531\u3067CC\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3082\u521d\u671f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3044\u304d\u306a\u308a\u30ce\u30fc\u30c8\u3092\u9001\u3063\u3066\u3082\u97f3\u304c\u51fa\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3010\u5229\u7528\u65b9\u6cd5\u3011<\/p>\n<ul>\n<li>iPad\u304b\u3089MeeBlip\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306b\u306f\u3001<a href=\"http:\/\/hexler.net\/software\/touchosc\">TouchOSC<\/a>\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u3046\u306e\u304c\u4fbf\u5229\u3067\u3059\u3002TouchOSC Editor\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u3063\u3066\u30dc\u30bf\u30f3\u3084\u30ce\u30d6\u306e\u914d\u7f6e\u3001\u5bfe\u5fdc\u3059\u308b\u30b3\u30fc\u30c9\u306a\u3069\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u72ec\u81ea\u306b\u8a2d\u8a08\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<li>MeeBlip\u7528\u306b\u30e6\u30fc\u30b6\u304c\u4f5c\u6210\u3057\u305f\u8a2d\u5b9a\u304c<a href=\"http:\/\/dl.dropbox.com\/u\/113824\/MeeBlipSE.touchosc\">\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059<\/a>\u3002\u305f\u3060\u3057\u3001MIDI\u30c1\u30e3\u30f3\u30cd\u30eb\u304c\u306a\u305c\u304b3\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u5168\u3066\u306e\u30dc\u30bf\u30f3\u306e\u8a2d\u5b9a\u30921\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<div id=\"attachment_591\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-03.jpg\"><img aria-describedby=\"caption-attachment-591\" loading=\"lazy\" class=\"size-medium wp-image-591\" title=\"moco2-meeblip-03\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-03-400x265.jpg\" alt=\"MeeBlip\u3092TouchOSC\u304b\u3089\u5229\u7528\u4e2d\" width=\"400\" height=\"265\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-03-400x265.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-03.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-591\" class=\"wp-caption-text\">MeeBlip\u3092TouchOSC\u304b\u3089\u5229\u7528\u4e2d<\/p><\/div>\n<p>MeeBlip\u306f\u4f7f\u3063\u3066\u697d\u3057\u3044\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc\u3067\u3059\u3002<\/p>\n<p>\u30bd\u30d5\u30c8\u5236\u5fa1\u306f\u5c11\u3057\u7269\u8db3\u308a\u306a\u3044\u306e\u3067\u3001\u30b1\u30fc\u30b9\u306b\u5165\u308c\u3066\u30dc\u30ea\u30e5\u30fc\u30e0\u3084\u30b9\u30a4\u30c3\u30c1\u3092\u4ed8\u3051\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\uff08\u4e86\uff09<!--:--><!--:en--><\/p>\n<h2>1. Schematic<\/h2>\n<p>The schematic of moco2 is the same with USB-MIDI converter named &#8216;<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/morecat_lab\/MOCO.html\">moco<\/a>&#8216;.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2.png\"><img loading=\"lazy\" title=\"moco2 Schematic\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-400x282.png\" alt=\"moco2 Schematic\" width=\"400\" height=\"282\" \/><\/a><\/p>\n<p>When V-USB is used to implement USB-MIDI class device,\u00a0 flash memory of 2KB in Tiny2313 is not big enough to implement many functions inside. Lately, Tiny4313 , which has 4KB flash memory, is available.\u00a0 They have sufficient memory for many generic application. I decide to design a new PCB for moco for general use.<\/p>\n<p>In the schematic, Tiny2313\/4313 is driven by 16MHz clocked and a opto-couppler is attached for bridge Serial MIDI.<\/p>\n<p>The new PCB for moco2 has a 18 PIN connector for general use. All ports of Tiny2313\/4313 are assigned in the connector. Note that not all of parts should mount on the PCB, if one would not use the function. For example, no opto-cuppler is required if serial MIDI is not used.<\/p>\n<h2>2. Application of moco2 board<\/h2>\n<p>Various kinds of MIDI device can be implemented on moco2 board with different firmware.<\/p>\n<p>The following are examples which I actually built for the test. Please note that tiny 2313 \/ tiny4313 have no bootloader function. We need to program them via ISP programmer.\u00a0 Remember that the fuse bits should set properly to function as V-USB device.<\/p>\n<h3>2.1 USB-MIDI Serial MIDI converter &#8216;moco&#8217;<\/h3>\n<p>The following firmware works to bridge between USB-MIDI and serial MIDI. As I described in the previous section, no sufficient capacity exits on Tiny2313 and only one direction can be implemented in it.\u00a0 You need to choose USB-MIDI -&gt; serial MIDI or vice\u00a0 versa. With Tiny4313, both direction will work simultaneously .<\/p>\n<table style=\"width: 491px; height: 84px;\" border=\"1\">\n<thead>\n<tr>\n<td style=\"text-align: center;\">name of program<\/td>\n<td style=\"text-align: center;\">function<\/td>\n<td style=\"text-align: center;\">Required CPY<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">Mico<\/td>\n<td style=\"text-align: center;\">Serial MIDI -&gt; USB-MIDI<\/td>\n<td style=\"text-align: center;\">Tiny2313<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Moco<\/td>\n<td style=\"text-align: center;\">USB-MIDI -&gt; Serial MIDI<\/td>\n<td style=\"text-align: center;\">Tiny2313<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">MicoMoco<\/td>\n<td style=\"text-align: center;\">USB-MIDI &lt;-&gt; Serial MIDI<\/td>\n<td style=\"text-align: center;\">Tiny4313<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-MIDI-conv.jpg\"><img loading=\"lazy\" class=\"aligncenter\" title=\"moco2-MIDI-conv\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-MIDI-conv-400x265.jpg\" alt=\"\u30b7\u30ea\u30a2\u30ebMIDI\u30b3\u30f3\u30d0\u30fc\u30bf\u3000\u3082\u3053\" width=\"400\" height=\"265\" \/><\/a><\/p>\n<p>Source code of these firmware is <a href=\"http:\/\/morecatlab.akiba.coocan.jp\/morecat_lab\/MOCO.html\">here<\/a>.<\/p>\n<h3>2.2 Mini Keyboard<\/h3>\n<p>This is very simple keyboard with tactile switch. When one of the switch is shorted to ground, the corresponding note is sent to USB-MIDI.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-mini-key.jpg\"><img loading=\"lazy\" title=\"moco2-mini-key\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-mini-key-400x265.jpg\" alt=\"moco2\u3092\u4f7f\u3063\u305f\u30df\u30cb\u30ad\u30fc\u30dc\u30fc\u30c9\" width=\"400\" height=\"265\" \/><\/a><\/p>\n<div>\n<dl id=\"attachment_587\" style=\"width: 410px;\">\n<dd> <\/dd>\n<\/dl>\n<\/div>\n<p>As the limitation of PIN,\u00a0 the switches are assigned just one octave.<\/p>\n<table style=\"width: 227px; height: 264px;\" border=\"1\">\n<tbody>\n<tr style=\"text-align: center;\">\n<td style=\"text-align: center;\">note NO<\/td>\n<td style=\"text-align: center;\">PIN<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">C4<\/td>\n<td style=\"text-align: center;\">PB1<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">C#4<\/td>\n<td style=\"text-align: center;\">PB2<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">D4<\/td>\n<td style=\"text-align: center;\">PB3<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">D#4<\/td>\n<td style=\"text-align: center;\">PB4<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">E4<\/td>\n<td style=\"text-align: center;\">PB5<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">F4<\/td>\n<td style=\"text-align: center;\">PB6<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">F#4<\/td>\n<td style=\"text-align: center;\">PB7<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">G4<\/td>\n<td style=\"text-align: center;\">PD0<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">G#4<\/td>\n<td style=\"text-align: center;\">PD1<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">A4<\/td>\n<td style=\"text-align: center;\">PD4<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">A#4<\/td>\n<td style=\"text-align: center;\">PD5<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">B4<\/td>\n<td style=\"text-align: center;\">PD6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Source code of this firmware is <a href=\"ttp:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/miniKeyboard_20120609.tgz\">here.<\/a><\/p>\n<h3>2.3 Note LED Display<\/h3>\n<p>This application is to display the note in LED. When the MIDI note is sent to this device, the corresponding pin is set to HIGH.<\/p>\n<p>A number of LEDs can be connected to these pins via appropriate registers .  <a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led.jpg\"><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led.jpg\"><img loading=\"lazy\" title=\"moco2-led\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-led-400x265.jpg\" alt=\"MIDI\u5236\u5fa1\u306eLED\u8868\u793a\u5668\" width=\"400\" height=\"265\" \/><\/a><\/p>\n<p>Source code of this firmware is<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/noteLED_20120610.tgz\"> here.<\/a><\/p>\n<h2>3. Example<\/h2>\n<p>moco2 is designed to embedded as a part of MIDI device in mind.<\/p>\n<p>I used to connect <a href=\"http:\/\/meeblip.com\/\">MeeBlip<\/a> micro, which is OSS based digital synthe, with iPad.<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02.jpg\"><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02.jpg\"><img loading=\"lazy\" title=\"moco2-meeblip-02\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-02-400x265.jpg\" alt=\"Meeblip\u3092moco2\u3067\u5236\u5fa1\u3059\u308b\" width=\"400\" height=\"265\" \/><\/a><\/p>\n<p>Points of Modifications:<\/p>\n<ul>\n<li>moco2 is used as USB-MIDI converter. Only USB-&gt;Serial MIDI function is requires, and a Tiny2313 is sufficient for the purpose. No Opto-couppler is required.<\/li>\n<li>As MeeBlip has 5V voltage regulator on the board. moco can supply 5V from USB-BUS, which can directly connect Meeblip board. I removed\u00a0 voltage regulator.<\/li>\n<li>Signal for serial midi from moco2 can directly connected MeeBlip MIDI-IN without Opt-couppler on Meeblip PCB. However, I want to avoid unnecessary modification, and I just connect through Opt-Couppler.<\/li>\n<li>MeeBlip micro can be software controllable, which means it can be used without any switch and knobs. The parameters of Meeblip can change with CC from MIDI.<\/li>\n<\/ul>\n<p>Usage:<\/p>\n<ul>\n<li>I use <a href=\"http:\/\/hexler.net\/software\/touchosc\">TouchOSC<\/a> to control the parameters of MeeBlip from iPad. With TouchOSC Editor on MacOSX , the design of User Interface, such as the size of button, the colors of those, and so on,\u00a0 can customized.<\/li>\n<li>For use with MeeBlip, <a href=\"http:\/\/dl.dropbox.com\/u\/113824\/MeeBlipSE.touchosc\">a set of custom UI<\/a> is supplied by an user. However, MIDI channel is set to 3 instead of 1.<\/li>\n<\/ul>\n<div>\n<dl id=\"attachment_591\" style=\"width: 410px;\"> <\/dl>\n<p style=\"text-align: center;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-03.jpg\"><img loading=\"lazy\" class=\"aligncenter\" title=\"moco2-meeblip-03\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/06\/moco2-meeblip-03-400x265.jpg\" alt=\"MeeBlip\u3092TouchOSC\u304b\u3089\u5229\u7528\u4e2d\" width=\"400\" height=\"265\" \/><\/a><\/p>\n<\/div>\n<p><!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u4fa1\u306b\u4f5c\u308c\u3066\u3001\u6c4e\u7528\u7684\u306b\u4f7f\u3048\u308bUSB-MIDI\u7528\u306e\u57fa\u677f(moco2)\u3092\u4f5c\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u7d39\u4ecb\u3057\u307e\u3059\u3002 iPad\u304b\u3089\u624b\u8efd\u306b\u4f7f\u3048\u308bMIDI\u30c7\u30d0\u30a4\u30b9\u304c\u4f5c\u308c\u307e\u3059\u3002 I designed a low cost USB-MIDI boa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,13],"tags":[],"_links":{"self":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/577"}],"collection":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":29,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":676,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/577\/revisions\/676"}],"wp:attachment":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/categories?post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/tags?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}