<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" version="2.0">
  <channel>
    <title>じゃがバター</title>
    <link>http://roadster.asablo.jp/blog/</link>
    <description/>
    <language>ja</language>
    <generator>mc 0.0</generator>
    <pubDate>Sun, 05 Jul 2026 23:10:26 +0900</pubDate>
    <item>
      <title>MIDI音源 mt-32pi</title>
      <link>http://roadster.asablo.jp/blog/2026/07/05/9863841</link>
      <guid>http://roadster.asablo.jp/blog/2026/07/05/9863841</guid>
      <pubDate>Sun, 05 Jul 2026 23:08:46 +0900</pubDate>
      <dcterms:modified>2026-07-05T23:10:26+09:00</dcterms:modified>
      <dcterms:created>2026-07-05T23:10:26+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;mt-32piというものがある。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Raspberry Pi 3以降で動く、ソフトウェアMIDIシンセサイザーだ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Roland MT-32という、40年近く前のシンセサイザーをエミュレートし、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;また、サウンドフォントを追加して、好きなシンセに出来る。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;私の中で一番嬉しかったのが、ベアメタルという点だ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Raspberry Piは普通、OSが最初に起動し、その後に各ソフトが起動する。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なので、どうしても電源ＯＮ後、使えるようになるまで時間がかかる。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;対して、ベアメタルはOSを介さずに直接ソフトが起動する。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;RP2040-ZEROのように、ソフトが直接起動するイメージ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;実際、今回はRaspberry Pi 3 Model A+を使用したが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;数秒で起動してくれた。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/07/05/73c217.jpg" onclick="return asablo.expandimage(this,800,561,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/07/05/73c217.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/07/05/73c216.jpg" alt="mt-32pi" title="mt-32pi" style="width: 300px; height: 210px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;液晶画面は、今回も4ボタン付のOLEDを使用した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ボタンは上から、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　・シンセサイザーの切替、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　・MT-32とサウンドフォントの切替、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　・音量を下げる&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　・音量を上げる&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;mt-32piの設定そのまま。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;DACはPCM5102Aを使用した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;5PinDINのMIDI IN端子も設置した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Raspberry PiのUSB端子にUSB MIDI キーボードも接続できるし、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MIDI IN端子でPCとの接続もできる。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回新たに買ったのは、100均で買ったケースのみ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;死蔵しているパーツ多すぎだな。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;完成後の感想は素晴らしいの一言。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;VS1053やSAM2695はピアノの音が不満だったが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これは好きなサウンドフォントが入れられるので全然違う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;音色変更ボタンが無いので、USB MIDI キーボードを操作して&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;音色変更する必要がある点が少し残念だった。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;また、悲しいことに開発は終了しているっぽいので&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;さらなる機能追加は望めないようだ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;とはいえ、このような素晴らしいソフトを開発して頂いた事には&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;感謝しかない。&lt;/DIV&gt;&lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
</description>
    </item>
    <item>
      <title>MIDI音源 SAM2695</title>
      <link>http://roadster.asablo.jp/blog/2026/07/04/9863616</link>
      <guid>http://roadster.asablo.jp/blog/2026/07/04/9863616</guid>
      <pubDate>Sat, 04 Jul 2026 21:13:35 +0900</pubDate>
      <dcterms:modified>2026-07-04T21:17:25+09:00</dcterms:modified>
      <dcterms:created>2026-07-04T21:17:25+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;M5Stack用MIDI音源ユニットを買ったので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これでUSB MIDIキーボードを接続できるMIDI音源を作った。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;GM音源チップSAM2695を搭載している。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回は、チップに搭載されているフィルター機能もいじれるようにする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;SAM2695搭載機器はM5Stack用MIDI音源ユニットしか持っていないので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;USB MIDIキーボード入力とMIDI IN入力との切替スイッチを設けた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これでパソコンなどから操作できる外部MIDI音源としても使える。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;制御を行うマイコンは、今回もRP2040-ZEROにした。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/07/04/73bf1f.jpg" onclick="return asablo.expandimage(this,800,520,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/07/04/73bf1f.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/07/04/73bf1e.jpg" alt="sam2695" title="sam2695" style="width: 300px; height: 195px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;前面にUSB MIDIキーボード接続用のUSB-A端子、MIDI IN端子、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;切替スイッチ、背面にUSB-C（電源用）とLINE OUT端子を設けた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;上面左上は、0.96インチOLEDと4つのボタンを搭載したディスプレイ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;GM音源の音色番号・音色名・フィルター名を表示。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;OLED右側の白ボタンは、上から音色グループ+1、音色グループ-1、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;フィルター変更、MIDIリセット信号ボタン。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;左下は電源スイッチ、その右の赤ボタンは音色+1、音色-1ボタン。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;右側の黒ボタン2つとボリューム4つはフィルター関連で、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ボタン1つと下2つのボリュームを1グループにした。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;フィルターは4種類で、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt; 1.リバーブ（上からリバーブタイプ、レベル、フィードバック）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt; 2.コーラス（上からコーラスタイプ、レベル、フィードバック）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt; 3.ビブラート（上から-、周期、深さ）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt; 4.TVF（上から-、カットオフ周波数、レゾナンス）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;起動直後は1.2.を操作出来て、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;OLED右のフィルター変更ボタンで3.4.に切り替える。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なお、3.4.では黒ボタンは使用しない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回はフィルター関連のプログラム変更が面倒だった。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;SAM2695にフィルター関連のMIDI信号を送ってやる必要があるのだが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;どんな信号か、そもそもSAM2695のフィルター関連仕様がどうなのか、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MIDIとSAM2695の仕様書両方とM5Stackのサンプルスケッチを見比べながら&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なんとか動くようになった時の充実感よ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なお、いろいろいじっていると変な音になったまま戻らなくなったので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;OLED右側の白ボタンの一つをMIDIリセット信号ボタンにした。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回悲しかったのは、RP2040-ZEROのアナログ入力ピンの少なさ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;あと2つボリュームボタンを増やしたかった。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;とはいえ、今の私には十分すぎる出来だったので満足度は高い。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
</description>
    </item>
    <item>
      <title>USB - MIDI変換</title>
      <link>http://roadster.asablo.jp/blog/2026/07/03/9863439</link>
      <guid>http://roadster.asablo.jp/blog/2026/07/03/9863439</guid>
      <pubDate>Fri, 03 Jul 2026 20:46:21 +0900</pubDate>
      <dcterms:modified>2026-07-03T20:49:46+09:00</dcterms:modified>
      <dcterms:created>2026-07-03T20:49:46+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;前回作ったMIDI IN端子を持つ外部MIDI音源（VS1053B）だが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;パソコンと繋げるようにしたい。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;一応、パソコン用のUSB-MIDI変換器Roland UM-2Gを持っているが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Roland SC-88Pro用に常設しているので今回は使わない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なので作る。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;調べたらProMicro互換ボードを使って作成している人がいたので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これをそのまま利用させてもらう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ProMicro互換ボードは数枚持っていたので、これを機に消費した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;最近はESP32やRP2040を使うから、なかなか減らないんだよな。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MIDI INは不要なので、MIDI OUTのみ実装。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/07/03/73bd7e.jpg" alt="usbmidi" title="usbmidi" style="width: 300px; height: 218px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;基盤の下半分はフリスクケース（上半分）で保護し、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;下半分は100均のおゆプラ（黒）で覆った。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;お湯で柔らかくなるプラスティックなのでいろいろと便利である。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;USB端子がUSB Micro-Bなのでその点だけが不満だが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ProMicro互換ボードは古いマイコンなので仕方ない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;機能には何の問題も無いし、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;何より、自作による愛着度プラス補正が付くので良しとする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
</description>
    </item>
    <item>
      <title>MIDI音源 VS1053B その２</title>
      <link>http://roadster.asablo.jp/blog/2026/07/02/9863285</link>
      <guid>http://roadster.asablo.jp/blog/2026/07/02/9863285</guid>
      <pubDate>Thu, 02 Jul 2026 21:07:12 +0900</pubDate>
      <dcterms:modified>2026-07-02T21:09:49+09:00</dcterms:modified>
      <dcterms:created>2026-07-02T21:09:49+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;前回、VS1053Bボードの改造方法を記載していたHPに、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;無改造でリアルタイムMIDI可能にする方法が載っていた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;メーカーが提供する「ファームウェアパッチ」を利用する方法みたいで、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;そのスケッチも紹介されていた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ありがたい。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回利用するのは、Arduino UNOに重ねて接続する事が出来る&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;VS1053シールドと言われているもの。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これも死蔵していた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回は単純に、VS1053Bを外部MIDI音源として利用できるようにする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MIDI IN端子と、アンプに繋ぐLINE OUT端子があるだけの単純なもの。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ただ、MIDI INはMIDI規格に則りフォトカプラで絶縁する必要があるので&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;そこが少し面倒か。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回はTLP2361を使った。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Arduino UNO互換機にVS1053シールドを重ね、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;UNOのRX端子にTLP2361を介してMIDI IN信号を入れるようにすれば完成。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回もケースは100均。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/07/02/73bc03.jpg" alt="vs1053-3" title="vs1053-3" style="width: 300px; height: 204px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;前回と同じVS1053Bなんだけど、なんか響きが違う気がする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;リバーブかなんかのフィルター設定がONになってるのかな。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;いずれ解決すべき宿題ってことにしよう。&lt;/DIV&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>楽器</dc:subject>
    </item>
    <item>
      <title>MIDI音源 VS1053B</title>
      <link>http://roadster.asablo.jp/blog/2026/07/01/9863130</link>
      <guid>http://roadster.asablo.jp/blog/2026/07/01/9863130</guid>
      <pubDate>Wed, 01 Jul 2026 21:17:06 +0900</pubDate>
      <dcterms:modified>2026-07-01T21:23:29+09:00</dcterms:modified>
      <dcterms:created>2026-07-01T21:23:29+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;今回は、USB MIDIキーボード接続して音を出せる機器を作った。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;肝心の音源部分は、VS1053Bというチップを搭載した5cm x 5cmくらいのボードを利用した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;VS1053BはMP3やMIDIを再生できる多機能チップだ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;だが、このボードはリアルタイムMIDI再生を行う事が出来ない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MIDI信号をリアルタイムに受け取る端子が、外部に出ていないのだ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;このボードを購入したのはかなり前だが、上記理由により死蔵していた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;だが最近、リアルタイムに受け取るように改造する動画を発見。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;泣けるほど細かいハンダ作業を行って、なんとか改造成功した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;0.5mmピッチのICの足1本を狙ってハンダ付け・・・もうやりたくない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;（VS1053 and MIDI Revisitedでgooglr検索すると出てくる）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;あとはコレと、前回のUSB-MIDI変換用のRP2040-ZEROを組み合わせれば、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;USB MIDIキーボード → MIDI音源 までは出来る。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回は、それにアンプとスピーカーも取り付けた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;あと、VS1053BはGM音源で音色が128色あるので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これを切り替えられるようにする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なので、音色名表示用のlcdキャラクタディスプレイと&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;4つのボタン（+1、-1、+1グループ、-1グループ）を付けた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;GM音源は8音色で1グループを形成しているので、グループ増減ボタンも。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/07/01/73ba3c.jpg" onclick="return asablo.expandimage(this,800,352,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/07/01/73ba3c.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/07/01/73ba3b.jpg" alt="vs1053-1" title="vs1053-1" style="width: 300px; height: 132px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;SPAN style="background-color: initial;"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;SPAN style="background-color: initial;"&gt;内部はこんな感じ。&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/07/01/73ba3e.jpg" onclick="return asablo.expandimage(this,800,630,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/07/01/73ba3e.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/07/01/73ba3d.jpg" alt="vs1053-2" title="vs1053-2" style="width: 300px; height: 236px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;今回もケースは100均。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;スピーカーの取って付けた感が半端ないが、音はいい感じなので良し。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>楽器</dc:subject>
    </item>
    <item>
      <title>USB MIDI ホスト</title>
      <link>http://roadster.asablo.jp/blog/2026/06/30/9862960</link>
      <guid>http://roadster.asablo.jp/blog/2026/06/30/9862960</guid>
      <pubDate>Tue, 30 Jun 2026 20:50:59 +0900</pubDate>
      <dcterms:modified>2026-06-30T20:59:26+09:00</dcterms:modified>
      <dcterms:created>2026-06-30T20:59:26+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;USB MIDIキーボードを数台持っている。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;鍵盤を持つ入力装置で、パソコンやスマホに接続して音程を入力する装置だ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なお、単体では音が鳴らない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ちょっと弾きたいなぁと思っても、パソコンに接続してソフト起動してってのが面倒に感じる。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MIDI入力端子を持つMIDI音源を持ってるから、USB MIDIキーボードを直接繋ぎたいなぁと考えた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;USBにはホスト（親機）とデバイス（子機）がある。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ホストは制御を行う側、デバイスは制御される側だ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ホストはパソコンやスマホなど。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;デバイスはUSBメモリやマウス・キーボードなど。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;USB MIDIキーボードはデバイスなので、ホストに繋がないと動かない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;USB端子を持つMIDI音源も持っているが、この機器もデバイスなので直接USB MIDIキーボードを繋ぐことは出来ない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;そこでUSB MIDI HOSTという機器があるのだが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;安い物でも5,000円くらいする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;じゃあ、作ってみようかと。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;マイコンは、USBホスト機能を持つPR2040-ZEROを使用した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;開発はArduinoIDEを使う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;EZ_USB_MIDI_HOSTというライブラリを使うとUSB→MIDIの変換が出来るようなので、これを使わせてもらう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;先人達の知恵に感謝。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/06/30/73b881.jpg" alt="USB MIDI HOST1" title="USB MIDI HOST1" style="width: 300px; height: 210px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;前面にUSB-A端子があり、これにUSB MIDIキーボードを接続する。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;背面に電源用USB-C端子と5ピンDINコネクタがあり、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;電源およびMIDI音源のMIDI端子を接続する。&lt;SPAN style="background-color: initial;"&gt;（ケースは100均のを加工）&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/06/30/73b883.jpg" onclick="return asablo.expandimage(this,800,597,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/06/30/73b883.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/06/30/73b882.jpg" alt="USB MIDI HOST2" title="USB MIDI HOST2" style="width: 300px; height: 223px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;写真上段はBehringer JT-4000M MICRO（&lt;SPAN style="background-color: initial;"&gt;MIDI音源）&lt;/SPAN&gt;&lt;SPAN style="background-color: initial;"&gt;で、&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;中段が今回作ったヤツ、&lt;SPAN style="background-color: initial;"&gt;下段にUSB-MIDIキーボード。&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;想定通りに音が鳴ってくれた時が一番楽しいな。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;準備に手間がかかるという本末転倒な結果になっている気もするが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;それはそれである。&lt;/DIV&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>楽器</dc:subject>
    </item>
    <item>
      <title>ポケコンの代替 その３</title>
      <link>http://roadster.asablo.jp/blog/2026/06/27/9862368</link>
      <guid>http://roadster.asablo.jp/blog/2026/06/27/9862368</guid>
      <pubDate>Sat, 27 Jun 2026 21:03:09 +0900</pubDate>
      <dcterms:modified>2026-06-27T21:06:42+09:00</dcterms:modified>
      <dcterms:created>2026-06-27T21:06:42+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;ポケコンの代替品を探したいという話のつづき。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;条件として&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・単体でプログラム（BASICかPython）の入力および実行が可能&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・液晶モニターを搭載&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・物理入力キーを搭載&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・バッテリーもしくは乾電池で駆動&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;MachiKania type Pというものを知った。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;「Raspberry Pi Picoを利用してBASICプログラムを開発し実行させることができるオープンなプラットフォーム」ということ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;電子工作ステーションというところで基盤やパーツを購入できるので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;「MachiKania用マイクロキーボード基板」と共に購入し組み立てた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;電源は5Vなので、適当なモバイルバッテリーを後ろに貼り付けて完成。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;サイズは、100W x 200H x 45Dくらい。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;モバイルバッテリーが無いと30Dくらいの厚みになる。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PC-1262よりはかなり大きいが、PC-G850と同じくらいの大きさか。厚いけど。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;動かせるのはKM-BASICというBASICだが、違和感なく使える。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Raspberry Pi Picoで動いているだけあって、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PC-1262やPC-G850などとは比べるまでもないほど速いし、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;画面も2.8インチカラー液晶の320x240なので、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なんとか実用できそうな文字サイズである。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;気に入りました！&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;問題は基盤むき出しで、持ち運びに難ありって所だなぁ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PicoCalc買えばいいんだろうけど、円安すぎる・・・&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/06/27/73b3ac.jpg" onclick="return asablo.expandimage(this,800,782,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/06/27/73b3ac.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/06/27/73b3ab.jpg" alt="pokecom3" title="pokecom3" style="width: 300px; height: 293px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;
</description>
    </item>
    <item>
      <title>ポケコンの代替 その２</title>
      <link>http://roadster.asablo.jp/blog/2026/06/26/9862189</link>
      <guid>http://roadster.asablo.jp/blog/2026/06/26/9862189</guid>
      <pubDate>Fri, 26 Jun 2026 22:00:28 +0900</pubDate>
      <dcterms:modified>2026-06-26T22:02:46+09:00</dcterms:modified>
      <dcterms:created>2026-06-26T22:02:46+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;ポケコンの代替 その２&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ポケコンの代替品を探したいという話のつづき。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;条件として&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・単体でプログラム（BASICかPython）の入力および実行が可能&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・液晶モニターを搭載&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・物理入力キーを搭載&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;・バッテリーもしくは乾電池で駆動&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;CASIOの関数電卓に、プログラム入力できるモノがある。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;現在国内販売されているのは、fx-CG100とfx-5800Pだけのようだが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;fx-9750GIIIのように、海外販売のみ行われているものもある。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;fx-5800Pは以前から持っていたが、少し前にfx-CG50とfx-9750GIIIを購入した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;fx-CG50はfx-CG100の前期種。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これらで使用できるプログラム言語は、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Casio Basicといわれる独自規格のプログラミング言語。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;（fx-CG50とfx-9750GIIIはCasio版Pythonも使用可能）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;このCasio Basic、 Basicと名乗っているくせに、まぁ独特で癖が強い。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;慣れれば使えるようになるだろうが・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;だが一番の問題は、基本が関数電卓なのでキー入力がやり辛いという事。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;写真にあるように、アルファベットキーが単独ではなく、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;先に「ALPHA」キーを押す必要がある。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;関数電卓なのだから、当然関数電卓として使いやすいようにキー配置しているのだが、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;私の求めるポケコンの代替品としてはかなり残念な点だ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ということで、ポケコンの代替品を探しは続く。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2026/06/26/73b254.jpg" onclick="return asablo.expandimage(this,800,535,&amp;#x27;http://roadster.asablo.jp/blog/img/2026/06/26/73b254.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2026/06/26/73b253.jpg" alt="pokecom2" title="pokecom2" style="width: 300px; height: 200px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;
</description>
      <dc:subject>ガジェット</dc:subject>
    </item>
    <item>
      <title>ポケコンの代替 その１</title>
      <link>http://roadster.asablo.jp/blog/2026/06/25/9862014</link>
      <guid>http://roadster.asablo.jp/blog/2026/06/25/9862014</guid>
      <pubDate>Thu, 25 Jun 2026 22:30:31 +0900</pubDate>
      <dcterms:modified>2026-06-26T22:00:24+09:00</dcterms:modified>
      <dcterms:created>2026-06-25T23:02:38+09:00</dcterms:created>
      <description>はじめて触れたコンピュータは、兄のポケコン シャープPC-1250だった。&#13;&lt;br&gt;
その後、いくつかのポケコンを使っていき、パソコンへと流れた。&#13;&lt;br&gt;
&#13;&lt;br&gt;
今でもポケコンは好きで時々触れているのだが、&#13;&lt;br&gt;
残念ながらポケコンは現在生産されていない。&#13;&lt;br&gt;
&#13;&lt;br&gt;
そこで、ポケコンの代替品を探したいという話である。&#13;&lt;br&gt;
&#13;&lt;br&gt;
条件として&#13;&lt;br&gt;
・単体でプログラム（BASICかPython）の入力および実行が可能&#13;&lt;br&gt;
・液晶モニターを搭載&#13;&lt;br&gt;
・物理入力キーを搭載&#13;&lt;br&gt;
・バッテリーもしくは乾電池で駆動&#13;&lt;br&gt;
&#13;&lt;br&gt;
とりあえず、すでに持っているが活用していなかった&#13;&lt;br&gt;
M5stack Cardputerを使ってみる。&#13;&lt;br&gt;
&#13;&lt;br&gt;
M5stack Cardputerは、マイコン ESP32-S3を中心に、&#13;&lt;br&gt;
1.14インチ TFTカラー画面やキーボード、SDカードスロットなどを搭載した、&#13;&lt;br&gt;
カードサイズコンピュータで、&#13;&lt;br&gt;
自分や他者が開発したアプリを入れる事で機能を拡張できる、おもしろガジェットだ。&#13;&lt;br&gt;
&#13;&lt;br&gt;
今回は「MicroHydra-Apps」の「MHBasic」を入れてみた。&#13;&lt;br&gt;
&#13;&lt;br&gt;
行番号を入力する必要がある、昔ながらのBASICという感じで&#13;&lt;br&gt;
そこまで違和感なく使える感じがする。&#13;&lt;br&gt;
&#13;&lt;br&gt;
しかし・・・&#13;&lt;br&gt;
&#13;&lt;br&gt;
1.14インチの画面は、どうしようもなく小さすぎる。&#13;&lt;br&gt;
文字サイズが豆粒以下、ゴマ粒サイズって、おっさんの視力では実用は無理。&#13;&lt;br&gt;
ポケコンとはいえ、ある程度の大きさは必要だな。&#13;&lt;br&gt;
&#13;&lt;br&gt;
（写真上部がM5stack Cardputer、下部がシャープ PC-1262）&lt;br&gt;
</description>
      <enclosure url="http://roadster.asablo.jp/blog/img/2026/06/25/73b0e4.jpg" length="33252" type="image/jpeg"/>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>ガジェット</dc:subject>
    </item>
    <item>
      <title>AVR ISP MKII</title>
      <link>http://roadster.asablo.jp/blog/2013/12/09/7100912</link>
      <guid>http://roadster.asablo.jp/blog/2013/12/09/7100912</guid>
      <pubDate>Mon, 09 Dec 2013 00:08:46 +0900</pubDate>
      <dcterms:modified>2013-12-09T00:12:47+09:00</dcterms:modified>
      <dcterms:created>2013-12-09T00:12:47+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;ATtiny13Aを使ってみたくて、AVR ISP MKIIを購入した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ArduinoISPでも書き込み出来るみたいだけど、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なんか手間かかるみたいだし、やっぱ純正でしょって事で。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;秋月通販で買ったんだけど、いきなり付属CDが読み込みエラー・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ダウロードしたAtmelStudio6で書き込みできたんだけど、なんだかなー。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ブレッドボードを使えばすぐ書き込み出来るみたいだけど、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;さくっと使えるように、ユニバーサル基盤にICソケットとかを半田付け。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;8ピンのATtiny13と20ピンのATtiny2313、28ピンのATmega328Pを&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;使えるようにする。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;（ATtiny13とATtiny2313は20ピンソケット共用）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Lチカテストできるように、20ピンソケットの2番ピンにLEDを接続した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;（ATtiny13：A13/D3、ATtiny2313：RX D0）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;書き込み用基盤作成後、ATtiny13を装着してAtmelStudio6を起動し、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Lチカプログラムを作成後に書き込み開始。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Tools - Device Programming を選び、Memories から Flash の&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt; Programをクリック。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;Erasing device failed というErrorが出て書き込めない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;おかしいなーと思いネットで調べてみると、AVR ISP MKIIからマイコンに&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;電源は供給されないで、&lt;SPAN style="line-height: 1.7;"&gt;別電源を書き込み対象マイコンに&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.7;"&gt;供給してやる&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;SPAN style="line-height: 1.7;"&gt;必要があるみたい。&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;書き込み用基盤にDCプラグを追加して、ACアダプタから5Vを供給してやると、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;赤色で点灯していたAVR ISP MKIIのLEDが、緑色に変わった。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;これでAtmelStudio6からATtiny13に書き込んでみると、エラーもなく成功した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2013/12/09/2e36ef.jpg" onclick="return asablo.expandimage(this,800,546,&amp;#x27;http://roadster.asablo.jp/blog/img/2013/12/09/2e36ef.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2013/12/09/2e36ee.jpg" alt="AVR ISP MKII" title="AVR ISP MKII" style="width: 300px; height: 204px; border: none;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;久しぶりの工作だけど、やっぱ楽しいわ。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>AVR</dc:subject>
    </item>
    <item>
      <title>久々の更新</title>
      <link>http://roadster.asablo.jp/blog/2013/06/12/6862731</link>
      <guid>http://roadster.asablo.jp/blog/2013/06/12/6862731</guid>
      <pubDate>Wed, 12 Jun 2013 22:40:47 +0900</pubDate>
      <dcterms:modified>2013-06-12T22:47:35+09:00</dcterms:modified>
      <dcterms:created>2013-06-12T22:47:35+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;犬脱走検知ブザー、失敗しました。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;圧電ブザー使ってたんだけど、やっぱ音が小さくて聞こえない・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;検知もなんか不安定だし。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;音が小さい問題は、アンプとスピーカーを組み込んだから解決したけど、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;不安定な検知の解決策が見つからない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;別のセンサーを探してみるかぁ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;半年くらい更新してなかったけど、STM32ボード買ったり、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;スピーカーやアンプ作ってみたり、BeagleBoneBlack買ったり・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;SPAN style="line-height: 1.7;"&gt;ほとんどは買っただけで弄ってないけど&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;当初の目標は、Raspberry PiをMPDサーバーにする事だな。&lt;/DIV&gt;
</description>
      <dc:subject>arduino</dc:subject>
    </item>
    <item>
      <title>犬脱走検知ブザー</title>
      <link>http://roadster.asablo.jp/blog/2012/12/22/6667304</link>
      <guid>http://roadster.asablo.jp/blog/2012/12/22/6667304</guid>
      <pubDate>Sat, 22 Dec 2012 23:53:06 +0900</pubDate>
      <dcterms:modified>2012-12-22T23:59:06+09:00</dcterms:modified>
      <dcterms:created>2012-12-22T23:59:06+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;犬脱走検知ブザー&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;実家の犬、ロンはよく脱走する。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;両親が勝手口を閉め忘れて、そこから抜け出るのが原因だ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;脱走といっても敷地内をうろつく程度なのだが、何かの拍子に敷地外に出ないとも限らない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;なので、犬脱走検知ブザーをArduinoで作ろうと思う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ドア開放をスイッチで検知。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;赤外線センサーを上下2箇所に設置し、下のセンサーのみ検知したらロンと判断。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;上下両方検知したら人間と判断。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ちなみにロンが脱走する時は勢い良く出る事はなく、廻りをうかがいながら&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ゆ～っくりと出るのでセンサーが検知しない事は無いだろう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;そもそも、赤外線センサーでロンを検知するかどうかは不明だけど・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;で、ドアと下センサーを検知したら脱走と判断しブザーを鳴らす。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;非常にシンプルで、Arduinoを使わなくても簡単に作れるんだろうと思う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;私はArduinoしか知らないから無理だけど。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今回はATmega328P、3.3V駆動、内部8MHz発振のArduino互換機を作り、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ACアダプタで動かそうと思う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ACアダプタは12Vのを使うから、3端子レギュレターで降圧する回路も組込む。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;赤外線センサーは秋月で買ったParallax PIRセンサー。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ドアの開閉は、磁石を近づけるとONになるリードスイッチを使う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;とりあえず正月に実家へ帰る前に作って、向こうで調整というスケジュール。&lt;/DIV&gt;&lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
</description>
      <dc:subject>ペット</dc:subject>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>arduino</dc:subject>
    </item>
    <item>
      <title>PIC開発環境</title>
      <link>http://roadster.asablo.jp/blog/2012/12/18/6663861</link>
      <guid>http://roadster.asablo.jp/blog/2012/12/18/6663861</guid>
      <pubDate>Tue, 18 Dec 2012 23:36:38 +0900</pubDate>
      <dcterms:modified>2012-12-18T23:41:14+09:00</dcterms:modified>
      <dcterms:created>2012-12-18T23:41:14+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;先日作ったPIC用ライター「PICerFT」だが、動作チェックが完了した。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;結果は成功。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PIC自動検知機能は作動してくれた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2012/12/18/2570da.jpg" alt="18F14K50認識" title="18F14K50認識" style="width: 180px; height: 285px; border: none;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ライターだけ作っても何も出来ないので、次は開発環境を整えてみる。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PICはアセンブラで開発するのが多いみたいだけど、アセンブリ言語の習得なんて無理なんでCで開発する事にした。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PICを作ってるマイクロチップ･テクノロジーが公開している総合開発環境&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;「MPLAB」と、いくつかの会社が出しているCコンパイラのどれかをインストールすればいいようだ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;そこでCコンパイラは、マイクロチップ･テクノロジーが公開している&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;「Microchip XC8」を選んでみた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;無償版はあるんだけど、有償版と違って最適化をしてくれないみたい。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;だから出来上がるHEXファイルが大きくなるし、実行スピードも遅くなるとの事。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;だけど私のレベルだとそこまで大きなプログラムは組めないだろうから、これで十分だろう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;つい最近までPICのPの字もしらなかった超初心者な私。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;LEDチカチカのプログラムすら組めるわけ無い。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;とりあえずネットで拾ってきたLEDチカチカのコードをコピペしビルド。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;HEXファイルが出来上がったんで「PICerFT」を使ってPIC18F14K50に書き込んでみると、LEDがチカ。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;チカチカしてくれない・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;まぁ、1回点滅はしてくれたんだから、プログラムの書込みは成功したんだろう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;まずはPIC18F14K50がどんなマイコンなのか勉強しないと、何も始まらないな。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>PIC</dc:subject>
    </item>
    <item>
      <title>PICerFT</title>
      <link>http://roadster.asablo.jp/blog/2012/12/17/6663084</link>
      <guid>http://roadster.asablo.jp/blog/2012/12/17/6663084</guid>
      <pubDate>Mon, 17 Dec 2012 23:41:55 +0900</pubDate>
      <dcterms:modified>2012-12-17T23:48:13+09:00</dcterms:modified>
      <dcterms:created>2012-12-17T23:45:37+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;Arduinoすら使いこなせてないのに、PICに興味が出てきた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PICで遊ぶには、当然PIC用のライターが必要になってくる。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;市販のPICkit3を買っておけば間違いないんだろうけど、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ちょっと試してみたいだけに\3,900は躊躇してしまう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;そこで自作ライターについて調べてみたら、&lt;A target="_blank" href="http://einstlab.web.fc2.com/"&gt;PICerFT&lt;/A&gt;といのがあるらしい。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;秋月のＵＳＢシリアル変換モジュール[FT232RL]をメインパーツに使うみたいなので、これを持ってる私には丁度いい。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;パーツ表を見てみると半分くらいしか持ってないので、他のパーツは日曜にマルツとカホパーツで購入。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;PICは18F14K50を1個買ってみた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;いろいろ種類があってわからなかったので、マルツにあったPIC18Fで手ごろな値段のを選んでみた。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;実はどんな機能が備わっているかも知らない。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;というより、PICにどんな機能があるのか知らないレベル。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;早速家に帰り、&lt;A target="_blank" href="http://kirylabo.blog.fc2.com/blog-entry-88.html"&gt;ここ&lt;/A&gt;を頼りに組み立て。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;だが、4.7kΩの抵抗を買い忘れていた事に気付く・・・&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;日曜はそれ以外を組み立てて、本日月曜の会社帰りに抵抗を買い、さっき組み立て完了。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="msg-pict-2" style="text-align: center;"&gt;&lt;A target="_blank" href="http://roadster.asablo.jp/blog/img/2012/12/17/256b51.jpg" onclick="return asablo.expandimage(this,800,600,&amp;#x27;http://roadster.asablo.jp/blog/img/2012/12/17/256b51.jpg&amp;#x27;)"&gt;&lt;IMG src="http://roadster.asablo.jp/blog/img/2012/12/17/256b50.jpg" alt="PICerFT" title="PICerFT" style="width: 300px; height: 225px; border: none;"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;今日は組み立てまで。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;明日以降に動作チェックをしよう。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>PIC</dc:subject>
    </item>
    <item>
      <title>手持ちArduinoまとめ(2)</title>
      <link>http://roadster.asablo.jp/blog/2012/12/15/6661022</link>
      <guid>http://roadster.asablo.jp/blog/2012/12/15/6661022</guid>
      <pubDate>Sat, 15 Dec 2012 23:03:45 +0900</pubDate>
      <dcterms:modified>2012-12-15T23:06:36+09:00</dcterms:modified>
      <dcterms:created>2012-12-15T23:06:36+09:00</dcterms:created>
      <description>&lt;DIV class="asahi_editor_line"&gt;&lt;DIV class="asahi_editor_line"&gt;● オシロスコープ専用互換機&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[マイコン]：ATmega328P&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[クロック]：16MHz（外部）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[電源]：5V&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[フラッシュ]：32kバイト&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[シリアル変換IC]：PL2303HX&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[Fuse値]：&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　hFuse = DE&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　lFuse = FF&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　eFuse = 05&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[ArduinoIDEの\hardware\arduino\boards.txt の内容]&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;############################################################&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.name=Arduino Uno&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.upload.protocol=arduino&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.upload.maximum_size=32256&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.upload.speed=115200&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.low_fuses=0xff&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.high_fuses=0xde&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.extended_fuses=0x05&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.path=optiboot&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.file=optiboot_atmega328.hex&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.unlock_bits=0x3F&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.lock_bits=0x0F&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.mcu=atmega328p&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.f_cpu=16000000L&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.core=arduino&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.variant=standard&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;############################################################&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[その他]：&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;九州工業大学が&lt;A target="_blank" href="http://www.iizuka.kyutech.ac.jp/faculty/physicalcomputing/pc_kitscope/"&gt;公開&lt;/A&gt;している、簡易オシロスコープソフト専用Arduino互換機&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;● 4桁7セグLED搭載互換機&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[マイコン]：ATmega328P&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[クロック]：8MHz（内蔵RC）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[電源]：5V&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[フラッシュ]：32kバイト&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[シリアル変換IC]：なし&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[Fuse値]：&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　hFuse = DE&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　lFuse = F2&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　eFuse = 05&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[ArduinoIDEの\hardware\arduino\boards.txt の内容]&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;############################################################&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.name=[Optiboot] ATmega328P 8MHz&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.upload.protocol=arduino&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.upload.maximum_size=32256&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.upload.speed=115200&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.low_fuses=0xf2&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.high_fuses=0xde&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.extended_fuses=0x05&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.path=optiboot&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.file=optiboot_atmega328_pro_8MHz.hex&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.unlock_bits=0x3F&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.bootloader.lock_bits=0x0F&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.build.mcu=atmega328p&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.build.f_cpu=8000000L&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;atmega328o8.build.core=arduino&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;############################################################&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[その他]：&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;A target="_blank" href="http://morecatlab.akiba.coocan.jp/lab/index.php/aruino/7segduino/"&gt;7segduino&lt;/A&gt;のSsegライブラリを利用して表示を行う。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;カソードコモンの7セグを使ったので mySseg.setKcommon(); と宣言する。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;使える入出力ピンは、D5,A0～5の6本。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;ブートファイルの作成方法は、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;\arduino-1.0.1\hardware\arduino\bootloaders\optibootに移動し、&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&amp;gt;omake atmega328_pro8&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;● 8×2LCD搭載用互換機&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[マイコン]：ATmega328P&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[クロック]：16MHz（外部）&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[電源]：5V&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[フラッシュ]：32kバイト&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[シリアル変換IC]：なし&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[Fuse値]：&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　hFuse = DE&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　lFuse = FF&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;　eFuse = 05&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[ArduinoIDEの\hardware\arduino\boards.txt の内容]&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;############################################################&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.name=Arduino Uno&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.upload.protocol=arduino&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.upload.maximum_size=32256&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.upload.speed=115200&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.low_fuses=0xff&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.high_fuses=0xde&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.extended_fuses=0x05&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.path=optiboot&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.file=optiboot_atmega328.hex&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.unlock_bits=0x3F&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.bootloader.lock_bits=0x0F&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.mcu=atmega328p&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.f_cpu=16000000L&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.core=arduino&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;uno.build.variant=standard&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;############################################################&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;[その他]：&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;LCDは、8×2行キャラクタ表示液晶モジュール ACM0802C-NLW-BBH。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;1ピン - GND、2ピン - VCCなので注意が必要。&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;LCD接続端子は、D5,6,9,10,11,12ピン。&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="asahi_editor_line"&gt;&lt;BR&gt;&lt;/DIV&gt;
</description>
      <dc:subject>マイコン</dc:subject>
      <dc:subject>arduino</dc:subject>
    </item>
  </channel>
</rss>
