両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
hardware:raspberry_pi:google_aiy_voice_kit [2022/10/02 03:04] – [セットアップ] ともやん | hardware:raspberry_pi:google_aiy_voice_kit [2023/11/29 17:39] (現在) – ともやん |
---|
[[https://amzn.to/34IY0oV|【国内代理店版】Google AIY Voice Kit V2 (B07GBNH5NN) - Amazon]] ¥8,800 (2020/08/31 現在)\\ | [[https://amzn.to/34IY0oV|【国内代理店版】Google AIY Voice Kit V2 (B07GBNH5NN) - Amazon]] ¥8,800 (2020/08/31 現在)\\ |
| |
==== 組み立て ==== | ===== 組み立て ===== |
整理中...😅💦💦💦\\ | |
| |
=== 付属品 === | ==== 付属品 ==== |
<WRAP prewrap 100% photo_area_long> | <WRAP zoomimg w220 x1_5 photo_area_long> |
{{hardware:google_aiy_voice_kit_v2.0_accessories_001.jpg?220|Google AIY Voice Kit V2.0 Accessories 001}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_001.jpg?400|Google AIY Voice Kit V2.0 Accessories 001}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_002.jpg?220|Google AIY Voice Kit V2.0 Accessories 002}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_002.jpg?400|Google AIY Voice Kit V2.0 Accessories 002}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_003.jpg?220|Google AIY Voice Kit V2.0 Accessories 003}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_003.jpg?400|Google AIY Voice Kit V2.0 Accessories 003}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_004.jpg?220|Google AIY Voice Kit V2.0 Accessories 004}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_004.jpg?400|Google AIY Voice Kit V2.0 Accessories 004}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_005.jpg?220|Google AIY Voice Kit V2.0 Accessories 005}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_005.jpg?400|Google AIY Voice Kit V2.0 Accessories 005}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_006.jpg?220|Google AIY Voice Kit V2.0 Accessories 006}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_006.jpg?400|Google AIY Voice Kit V2.0 Accessories 006}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_007.jpg?220|Google AIY Voice Kit V2.0 Accessories 007}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_007.jpg?400|Google AIY Voice Kit V2.0 Accessories 007}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_008.jpg?220|Google AIY Voice Kit V2.0 Accessories 008}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_008.jpg?400|Google AIY Voice Kit V2.0 Accessories 008}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_009.jpg?220|Google AIY Voice Kit V2.0 Accessories 009}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_009.jpg?400|Google AIY Voice Kit V2.0 Accessories 009}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_010.jpg?220|Google AIY Voice Kit V2.0 Accessories 010}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_010.jpg?400|Google AIY Voice Kit V2.0 Accessories 010}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_011.jpg?220|Google AIY Voice Kit V2.0 Accessories 011}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_011.jpg?400|Google AIY Voice Kit V2.0 Accessories 011}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_012.jpg?220|Google AIY Voice Kit V2.0 Accessories 012}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_012.jpg?400|Google AIY Voice Kit V2.0 Accessories 012}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_013.jpg?220|Google AIY Voice Kit V2.0 Accessories 013}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_013.jpg?400|Google AIY Voice Kit V2.0 Accessories 013}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_014.jpg?220|Google AIY Voice Kit V2.0 Accessories 014}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_014.jpg?400|Google AIY Voice Kit V2.0 Accessories 014}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_015.jpg?220|Google AIY Voice Kit V2.0 Accessories 015}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_015.jpg?400|Google AIY Voice Kit V2.0 Accessories 015}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_016.jpg?220|Google AIY Voice Kit V2.0 Accessories 016}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_016.jpg?400|Google AIY Voice Kit V2.0 Accessories 016}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_017.jpg?220|Google AIY Voice Kit V2.0 Accessories 017}} | {{hardware:google_aiy_voice_kit_v2.0_accessories_017.jpg?400|Google AIY Voice Kit V2.0 Accessories 017}} |
{{hardware:google_aiy_voice_kit_v2.0_accessories_018.jpg?220|Google AIY Voice Kit V2.0 Accessories 018}}\\ | {{hardware:google_aiy_voice_kit_v2.0_accessories_018.jpg?400|Google AIY Voice Kit V2.0 Accessories 018}}\\ |
</WRAP> | </WRAP> |
| |
=== 組み立て手順 === | ==== 組み立て手順 ==== |
<WRAP prewrap 100% photo_area_long> | <WRAP zoomimg w220 x1_5 photo_area_long> |
{{hardware:google_aiy_voice_kit_v2.0_assembling_001.jpg?220|Assembling Google AIY Voice Kit V2.0 001}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_001.jpg?400|Assembling Google AIY Voice Kit V2.0 001}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_002.jpg?220|Assembling Google AIY Voice Kit V2.0 002}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_002.jpg?400|Assembling Google AIY Voice Kit V2.0 002}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_003.jpg?220|Assembling Google AIY Voice Kit V2.0 003}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_003.jpg?400|Assembling Google AIY Voice Kit V2.0 003}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_004.jpg?220|Assembling Google AIY Voice Kit V2.0 004}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_004.jpg?400|Assembling Google AIY Voice Kit V2.0 004}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_005.jpg?220|Assembling Google AIY Voice Kit V2.0 005}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_005.jpg?400|Assembling Google AIY Voice Kit V2.0 005}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_006.jpg?220|Assembling Google AIY Voice Kit V2.0 006}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_006.jpg?400|Assembling Google AIY Voice Kit V2.0 006}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_007.jpg?220|Assembling Google AIY Voice Kit V2.0 007}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_007.jpg?400|Assembling Google AIY Voice Kit V2.0 007}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_008.jpg?220|Assembling Google AIY Voice Kit V2.0 008}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_008.jpg?400|Assembling Google AIY Voice Kit V2.0 008}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_009.jpg?220|Assembling Google AIY Voice Kit V2.0 009}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_009.jpg?400|Assembling Google AIY Voice Kit V2.0 009}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_010.jpg?220|Assembling Google AIY Voice Kit V2.0 010}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_010.jpg?400|Assembling Google AIY Voice Kit V2.0 010}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_011.jpg?220|Assembling Google AIY Voice Kit V2.0 011}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_011.jpg?400|Assembling Google AIY Voice Kit V2.0 011}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_012.jpg?220|Assembling Google AIY Voice Kit V2.0 012}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_012.jpg?400|Assembling Google AIY Voice Kit V2.0 012}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_013.jpg?220|Assembling Google AIY Voice Kit V2.0 013}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_013.jpg?400|Assembling Google AIY Voice Kit V2.0 013}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_014.jpg?220|Assembling Google AIY Voice Kit V2.0 014}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_014.jpg?400|Assembling Google AIY Voice Kit V2.0 014}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_015.jpg?220|Assembling Google AIY Voice Kit V2.0 015}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_015.jpg?400|Assembling Google AIY Voice Kit V2.0 015}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_016.jpg?220|Assembling Google AIY Voice Kit V2.0 016}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_016.jpg?400|Assembling Google AIY Voice Kit V2.0 016}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_017.jpg?220|Assembling Google AIY Voice Kit V2.0 017}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_017.jpg?400|Assembling Google AIY Voice Kit V2.0 017}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_018.jpg?220|Assembling Google AIY Voice Kit V2.0 018}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_018.jpg?400|Assembling Google AIY Voice Kit V2.0 018}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_019.jpg?220|Assembling Google AIY Voice Kit V2.0 019}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_019.jpg?400|Assembling Google AIY Voice Kit V2.0 019}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_020.jpg?220|Assembling Google AIY Voice Kit V2.0 020}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_020.jpg?400|Assembling Google AIY Voice Kit V2.0 020}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_021.jpg?220|Assembling Google AIY Voice Kit V2.0 021}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_021.jpg?400|Assembling Google AIY Voice Kit V2.0 021}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_022.jpg?220|Assembling Google AIY Voice Kit V2.0 022}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_022.jpg?400|Assembling Google AIY Voice Kit V2.0 022}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_023.jpg?220|Assembling Google AIY Voice Kit V2.0 023}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_023.jpg?400|Assembling Google AIY Voice Kit V2.0 023}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_024.jpg?220|Assembling Google AIY Voice Kit V2.0 024}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_024.jpg?400|Assembling Google AIY Voice Kit V2.0 024}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_025.jpg?220|Assembling Google AIY Voice Kit V2.0 025}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_025.jpg?400|Assembling Google AIY Voice Kit V2.0 025}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_026.jpg?220|Assembling Google AIY Voice Kit V2.0 026}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_026.jpg?400|Assembling Google AIY Voice Kit V2.0 026}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_027.jpg?220|Assembling Google AIY Voice Kit V2.0 027}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_027.jpg?400|Assembling Google AIY Voice Kit V2.0 027}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_028.jpg?220|Assembling Google AIY Voice Kit V2.0 028}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_028.jpg?400|Assembling Google AIY Voice Kit V2.0 028}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_029.jpg?220|Assembling Google AIY Voice Kit V2.0 029}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_029.jpg?400|Assembling Google AIY Voice Kit V2.0 029}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_030.jpg?220|Assembling Google AIY Voice Kit V2.0 030}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_030.jpg?400|Assembling Google AIY Voice Kit V2.0 030}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_031.jpg?220|Assembling Google AIY Voice Kit V2.0 031}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_031.jpg?400|Assembling Google AIY Voice Kit V2.0 031}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_032.jpg?220|Assembling Google AIY Voice Kit V2.0 032}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_032.jpg?400|Assembling Google AIY Voice Kit V2.0 032}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_033.jpg?220|Assembling Google AIY Voice Kit V2.0 033}} | {{hardware:google_aiy_voice_kit_v2.0_assembling_033.jpg?400|Assembling Google AIY Voice Kit V2.0 033}} |
{{hardware:google_aiy_voice_kit_v2.0_assembling_034.jpg?220|Assembling Google AIY Voice Kit V2.0 034}}\\ | {{hardware:google_aiy_voice_kit_v2.0_assembling_034.jpg?400|Assembling Google AIY Voice Kit V2.0 034}}\\ |
</WRAP> | </WRAP> |
| |
==== Google AIY Voice Kit V2.0 の概要 (Voice Bonnet) ==== | ===== Google AIY Voice Kit V2.0 の概要 (Voice Bonnet) ===== |
| |
=== ハードウェア === | ==== ハードウェア ==== |
Audio Codec: Realtek ALC5645 [I²C address: 0x1A]\\ | Audio Codec: Realtek ALC5645 [I²C address: 0x1A]\\ |
MCU: Microchip Technology ATSAMD09D14 [I²C address: 0x52] - [[https://www.microchip.com/wwwproducts/en/ATSAMD09D14|ATSAMD09D14 - 32-bit SAM Microcontrollers]]\\ | MCU: Microchip Technology ATSAMD09D14 [I²C address: 0x52] - [[https://www.microchip.com/wwwproducts/en/ATSAMD09D14|ATSAMD09D14 - 32-bit SAM Microcontrollers]]\\ |
Crypto (optional): ATECC608A [I²C address: 0x62]\\ | Crypto (optional): ATECC608A [I²C address: 0x62]\\ |
Microphone: SPH1642HT5H-1 x 2\\ | Microphone: SPH1642HT5H-1 x 2\\ |
{{hardware:voice_bonnet_001.jpg?220|Voice Bonnet 001}} | <WRAP zoomimg w220 x1_5 photo_area_long> |
{{hardware:voice_bonnet_002.jpg?220|Voice Bonnet 002}} | {{hardware:voice_bonnet_001.jpg?400|Voice Bonnet 001}} |
{{hardware:voice_bonnet_003.jpg?220|Voice Bonnet 003}} | {{hardware:voice_bonnet_002.jpg?400|Voice Bonnet 002}} |
{{hardware:voice_bonnet_004.jpg?220|Voice Bonnet 004}} | {{hardware:voice_bonnet_003.jpg?400|Voice Bonnet 003}} |
{{hardware:voice_bonnet_005.jpg?220|Voice Bonnet 005}} | {{hardware:voice_bonnet_004.jpg?400|Voice Bonnet 004}} |
{{hardware:voice_bonnet_006.jpg?220|Voice Bonnet 006}} | {{hardware:voice_bonnet_005.jpg?400|Voice Bonnet 005}} |
| {{hardware:voice_bonnet_006.jpg?400|Voice Bonnet 006}} |
| </WRAP> |
| [[tw>tomoyan596sp/status/1582486635304079360|ALC5645のカニ🦀さんはD級アンプのBTL接続モードでハイパワーで鳴る🤤]]\\ |
| |
=== ドライバ === | ==== ドライバ ==== |
MCU driver: modinfo aiy-io-i2c\\ | MCU driver: modinfo aiy-io-i2c\\ |
MCU PWM driver: modinfo pwm-aiy-io\\ | MCU PWM driver: modinfo pwm-aiy-io\\ |
Sound drivers: modinfo rl6231 rt5645 snd_aiy_voicebonnet\\ | Sound drivers: modinfo rl6231 rt5645 snd_aiy_voicebonnet\\ |
| |
=== ピン配列 (40-pin header) === | ==== ピン配列 (40-pin header) ==== |
<WRAP prewrap 100% #mincode> | <WRAP prewrap 100% #mincode> |
<code> | <code> |
[[https://pinout.xyz/pinout/aiy_voice_bonnet|AIY Voice Bonnet at Raspberry Pi GPIO Pinout]] も参照\\ | [[https://pinout.xyz/pinout/aiy_voice_bonnet|AIY Voice Bonnet at Raspberry Pi GPIO Pinout]] も参照\\ |
| |
==== SD の最新イメージをダウンロード ==== | ===== SD の最新イメージをダウンロード ===== |
[[https://github.com/google/aiyprojects-raspbian/releases|Releases · google/aiyprojects-raspbian]] より最新イメージを取得する。\\ | [[https://github.com/google/aiyprojects-raspbian/releases|Releases · google/aiyprojects-raspbian]] より最新イメージを取得する。\\ |
[[https://github.com/google/aiyprojects-raspbian/releases/download/v20201120/aiyprojects-2020-11-20.img.xz|AIY Kits Release 2020-11-20 1.08 GB (aiyprojects-2020-11-20.img.xz)]] - github \\ | [[https://github.com/google/aiyprojects-raspbian/releases/download/v20201120/aiyprojects-2020-11-20.img.xz|AIY Kits Release 2020-11-20 1.08 GB (aiyprojects-2020-11-20.img.xz)]] - github \\ |
**sha256:** adcffef3ec5c4f0a6b4771810d1ec2570d88ea833579d487c09f157e65b12aca\\ | **sha256:** adcffef3ec5c4f0a6b4771810d1ec2570d88ea833579d487c09f157e65b12aca\\ |
| |
==== Raspbian をダウンロードする場合 ==== | ===== Raspbian をダウンロードする場合 ===== |
公式からダウンロードすると時間がかかるので、ミラーを活用する。\\ | 公式からダウンロードすると時間がかかるので、ミラーを活用する。\\ |
[[https://www.raspbian.org/RaspbianMirrors|RaspbianMirrors - Raspbian]]\\ | [[https://www.raspbian.org/RaspbianMirrors|RaspbianMirrors - Raspbian]]\\ |
参考: [[https://tiryoh.hateblo.jp/entry/2020/08/03/121556|Raspberry Pi OSのミラーサーバ - たいりょーくんのメモ]]\\ | 参考: [[https://tiryoh.hateblo.jp/entry/2020/08/03/121556|Raspberry Pi OSのミラーサーバ - たいりょーくんのメモ]]\\ |
| |
==== Raspberry Pi Imager での SD への書き込み ==== | ===== Raspberry Pi Imager での SD への書き込み ===== |
| |
=== ダウンロード === | ==== ダウンロード ==== |
[[https://www.raspberrypi.org/downloads/|Raspberry Pi Downloads - Software for the Raspberry Pi]] より各自のパソコン用の Raspberry Pi Imager をダウンロードする。\\ | [[https://www.raspberrypi.org/downloads/|Raspberry Pi Downloads - Software for the Raspberry Pi]] より各自のパソコン用の Raspberry Pi Imager をダウンロードする。\\ |
[[https://downloads.raspberrypi.org/imager/imager_1.4.exe|Raspberry Pi Imager 1.4 for Windows]]\\ | [[https://downloads.raspberrypi.org/imager/imager_1.4.exe|Raspberry Pi Imager 1.4 for Windows]]\\ |
[[https://downloads.raspberrypi.org/imager/imager_1.4_amd64.deb|Raspberry Pi Imager 1.4 for Ubuntu]]\\ | [[https://downloads.raspberrypi.org/imager/imager_1.4_amd64.deb|Raspberry Pi Imager 1.4 for Ubuntu]]\\ |
| |
=== SD メモリーカードの書き込み === | ==== SD メモリーカードの書き込み ==== |
{{hardware:raspberry_pi_imager_v1.4_001.png?226|Raspberry Pi Imager 001}} | <WRAP zoomimg w220 x1_5 photo_area_long> |
{{hardware:raspberry_pi_imager_v1.4_002.png?226|Raspberry Pi Imager 002}} | {{hardware:raspberry_pi_imager_v1.4_001.png?400|Raspberry Pi Imager 001}} |
{{hardware:raspberry_pi_imager_v1.4_003.png?226|Raspberry Pi Imager 003}} | {{hardware:raspberry_pi_imager_v1.4_002.png?400|Raspberry Pi Imager 002}} |
{{hardware:raspberry_pi_imager_v1.4_004.png?226|Raspberry Pi Imager 004}} | {{hardware:raspberry_pi_imager_v1.4_003.png?400|Raspberry Pi Imager 003}} |
{{hardware:raspberry_pi_imager_v1.4_005.png?226|Raspberry Pi Imager 005}} | {{hardware:raspberry_pi_imager_v1.4_004.png?400|Raspberry Pi Imager 004}} |
{{hardware:raspberry_pi_imager_v1.4_006.png?226|Raspberry Pi Imager 006}} | {{hardware:raspberry_pi_imager_v1.4_005.png?400|Raspberry Pi Imager 005}} |
{{hardware:raspberry_pi_imager_v1.4_007.png?226|Raspberry Pi Imager 007}} | {{hardware:raspberry_pi_imager_v1.4_006.png?400|Raspberry Pi Imager 006}} |
{{hardware:raspberry_pi_imager_v1.4_008.png?226|Raspberry Pi Imager 008}} | {{hardware:raspberry_pi_imager_v1.4_007.png?400|Raspberry Pi Imager 007}} |
{{hardware:raspberry_pi_imager_v1.4_009.png?226|Raspberry Pi Imager 009}}\\ | {{hardware:raspberry_pi_imager_v1.4_008.png?400|Raspberry Pi Imager 008}} |
| {{hardware:raspberry_pi_imager_v1.4_009.png?400|Raspberry Pi Imager 009}}\\ |
| </WRAP> |
| |
[[.usb_otg_ethernet_connection|USB OTG Ethernet 接続]]\\ | [[.usb_otg_ethernet_connection|USB OTG Ethernet 接続]]\\ |
| |
==== セットアップ ==== | ===== セットアップ ===== |
<WRAP prewrap 100% #mincode> | <WRAP prewrap 100% #mincode> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
==== 大容量 SD メモリーカードの全容量を利用するようにファイルシステム領域を拡張する ==== | ===== 大容量 SD メモリーカードの全容量を利用するようにファイルシステム領域を拡張する ===== |
**Raspberry Pi Software Configuration Tool** を実行する。\\ | **Raspberry Pi Software Configuration Tool** を実行する。\\ |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
</WRAP> | </WRAP> |
| |
==== Samba のインストール ==== | ===== Samba のインストール ===== |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code powershell> | <code powershell> |
</code> | </code> |
</WRAP> | </WRAP> |
<WRAP prewrap 100% #result_long> | <WRAP prewrap 100% #result> |
<code powershell> | <code powershell> |
パッケージリストを読み込んでいます... 完了 | パッケージリストを読み込んでいます... 完了 |
企業の Windows ネットワーク(企業のインフラでは[[linux:dhcp|DHCPサーバー]]のような設定をすることがある)ではない限り、WINS サーバーは存在していないはずなので、通常は **<No>** で続行して問題ない。(何のことを言っているかよくわからない場合も...😅💦)\\ | 企業の Windows ネットワーク(企業のインフラでは[[linux:dhcp|DHCPサーバー]]のような設定をすることがある)ではない限り、WINS サーバーは存在していないはずなので、通常は **<No>** で続行して問題ない。(何のことを言っているかよくわからない場合も...😅💦)\\ |
| |
=== 設定 === | ==== 設定 ==== |
ワークグループとファイル共有の設定。\\ | ワークグループとファイル共有の設定。\\ |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
Linux 全般での Samba の設定方法については [[linux:samba|Samba]] を参照のこと。\\ | Linux 全般での Samba の設定方法については [[linux:samba|Samba]] を参照のこと。\\ |
| |
==== Raspberry Pi Zero WH でビルド時のメモリー不足を解消する ==== | ===== Raspberry Pi Zero WH でビルド時のメモリー不足を解消する ===== |
<wrap em>virtual memory exhausted: Cannot allocate memory</wrap> | <wrap em>virtual memory exhausted: Cannot allocate memory</wrap> |
<WRAP prewrap 100% #mincode> | <WRAP prewrap 100% mincode> |
<code> | <code> |
CC lang/vid_gb_ap/libttsmimic_lang_vid_gb_ap_la-vid_gb_ap.lo | CC lang/vid_gb_ap/libttsmimic_lang_vid_gb_ap_la-vid_gb_ap.lo |
</WRAP> | </WRAP> |
| |
==== WiFi の接続設定 ==== | ===== WiFi の接続設定 ===== |
**Raspberry Pi Software Configuration Tool** を実行する。\\ | **Raspberry Pi Software Configuration Tool** を実行する。\\ |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
</WRAP> | </WRAP> |
| |
==== SSH 公開キーの登録 ==== | ===== SSH 公開キーの登録 ===== |
公開/秘密キーのペアの生成については、[[linux:openssh:client|ssh クライアントの使い方]] を参照のこと。\\ | 公開/秘密キーのペアの生成については、[[linux:openssh:client|ssh クライアントの使い方]] を参照のこと。\\ |
| |
</WRAP> | </WRAP> |
| |
==== AIY Kits Release 2020-11-20 での実行結果 ==== | ===== AIY Kits Release 2020-11-20 での実行結果 ===== |
<WRAP prewrap 100% #result_long> | <WRAP prewrap 100% #result_long> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
==== AIY Kits Release 2019-11-13 での実行結果 ==== | ===== AIY Kits Release 2019-11-13 での実行結果 ===== |
| |
=== AIY Debian packages repo の追加 === | ==== AIY Debian packages repo の追加 ==== |
<wrap em>※最新イメージを SD へ書き込んでから行う場合はこの手順は必要ない。(AIY Kits Release 2019-11-13 では既に修正済であった)</wrap>\\ | <wrap em>※最新イメージを SD へ書き込んでから行う場合はこの手順は必要ない。(AIY Kits Release 2019-11-13 では既に修正済であった)</wrap>\\ |
<wrap hi>**※注意!: Google AIY Voice Kit V2.0 標準付属の Micro SD の内容からリポジトリの URL が変更になっている。**</wrap>\\ | <wrap hi>**※注意!: Google AIY Voice Kit V2.0 標準付属の Micro SD の内容からリポジトリの URL が変更になっている。**</wrap>\\ |
</WRAP> | </WRAP> |
| |
=== APT ライブラリを最新版へ更新する === | ==== APT ライブラリを最新版へ更新する ==== |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
==== パッケージ更新後の再起動 ==== | === ある日突然署名検証が NO_PUBKEY 警告される場合 === |
| <WRAP color_term> |
| <WRAP color_mincode><code> |
| エラー:3 https://packages.cloud.google.com/apt aiyprojects-stable InRelease |
| 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY B53DC80D13EDEF05 |
| </code></WRAP> |
| </WRAP> |
| |
| <WRAP color_term> |
| <WRAP color_mincode><code> |
| W: 署名照合中にエラーが発生しました。リポジトリは更新されず、過去のインデックスファイルが使われます。GPG エラー: https://packages.cloud.google.com/apt aiyprojects-stable InRelease: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY B53DC80D13EDEF05 |
| W: https://packages.cloud.google.com/apt/dists/aiyprojects-stable/InRelease の取得に失敗しました 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY B53DC80D13EDEF05 |
| </code></WRAP> |
| </WRAP> |
| |
| パッケージ更新する際にで署名検証が NO_PUBKEY 警告される😥\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=HIB>$</b> <b class=HIY>sudo</b> apt update |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| 取得:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] |
| 取得:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] |
| 取得:3 https://packages.cloud.google.com/apt aiyprojects-stable InRelease [6,325 B] |
| 取得:4 http://raspbian.raspberrypi.org/raspbian buster/main Sources [11.4 MB] |
| 取得:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB] |
| エラー:3 https://packages.cloud.google.com/apt aiyprojects-stable InRelease |
| 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY B53DC80D13EDEF05 |
| 取得:6 http://archive.raspberrypi.org/debian buster/main armhf Contents (deb) [1,905 kB] |
| 取得:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] |
| 取得:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf Contents (deb) [40.5 MB] |
| 67.2 MB を 2分 47秒 で取得しました (403 kB/s) |
| パッケージリストを読み込んでいます... 完了 |
| 依存関係ツリーを作成しています |
| 状態情報を読み取っています... 完了 |
| アップグレードできるパッケージが 102 個あります。表示するには 'apt list --upgradable' を実行してください。 |
| W: 署名照合中にエラーが発生しました。リポジトリは更新されず、過去のインデックスファイルが使われます。GPG エラー: https://packages.cloud.google.com/apt aiyprojects-stable InRelease: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY B53DC80D13EDEF05 |
| W: https://packages.cloud.google.com/apt/dists/aiyprojects-stable/InRelease の取得に失敗しました 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY B53DC80D13EDEF05 |
| W: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。 |
| </pre></html></WRAP> |
| </WRAP> |
| |
| 最新の apt の GPG Key を追加する🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=HIB>$</b> <b class=HIY>sudo</b> $ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| % Total % Received % Xferd Average Speed Time Time Time Current |
| Dload Upload Total Spent Left Speed |
| 100 1210 100 1210 0 0 1967 0 --:--:-- --:--:-- --:--:-- 1964 |
| OK |
| </pre></html></WRAP> |
| </WRAP> |
| |
| 再度パッケージ更新し直す😊\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=HIB>$</b> <b class=HIY>sudo</b> apt update |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| 取得:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] |
| ヒット:2 http://archive.raspberrypi.org/debian buster InRelease |
| 取得:3 https://packages.cloud.google.com/apt aiyprojects-stable InRelease [6,325 B] |
| 21.3 kB を 5秒 で取得しました (4,327 B/s) |
| パッケージリストを読み込んでいます... 完了 |
| 依存関係ツリーを作成しています |
| 状態情報を読み取っています... 完了 |
| アップグレードできるパッケージが 102 個あります。表示するには 'apt list --upgradable' を実行してください。 |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <b class=HIB>$</b> <b class=HIY>sudo</b> apt upgrade |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| ... |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ===== パッケージ更新後の再起動 ===== |
システムの更新を反映させるために再起動する。\\ | システムの更新を反映させるために再起動する。\\ |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
</WRAP> | </WRAP> |
| |
==== RealVNC の設定 ==== | ===== RealVNC の設定 ===== |
**RealVNC** は既に **Raspberry Pi OS** に含まれている。\\ | **RealVNC** は既に **Raspberry Pi OS** に含まれている。\\ |
ここでは、その設定方法について説明する。\\ | ここでは、その設定方法について説明する。\\ |
| |
=== Raspbian が GUI ログインで起動していること === | ==== Raspbian が GUI ログインで起動していること ==== |
**RealVNC** でリモートデスクトップ接続するためには、Raspbian が GUI ログインで起動している必要がある。\\ | **RealVNC** でリモートデスクトップ接続するためには、Raspbian が GUI ログインで起動している必要がある。\\ |
| |
</WRAP> | </WRAP> |
| |
=== raspi-config で VNC を有効にする === | ==== raspi-config で VNC を有効にする ==== |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
=== VNC の設定ファイルを編集する === | ==== VNC の設定ファイルを編集する ==== |
設定ファイルの初期状態は以下の内容である。\\ | 設定ファイルの初期状態は以下の内容である。\\ |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
</WRAP> | </WRAP> |
| |
==== Windows に vncviewer をインストールする ==== | ===== Windows に vncviewer をインストールする ===== |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
==== インストールしておくと助かるパッケージ ==== | ===== インストールしておくと助かるパッケージ ===== |
{{hardware:google_aiy_voice_kit_v2.0_with_tmux.png?450|Google Voice Kit V2.0 tmux & htop}}\\ | {{hardware:google_aiy_voice_kit_v2.0_with_tmux.png?450|Google Voice Kit V2.0 tmux & htop}}\\ |
**[[linux:tmux|tmux - terminal multiplexer (端末多重接続ソフトウェア)]]**\\ | **[[linux:tmux|tmux - terminal multiplexer (端末多重接続ソフトウェア)]]**\\ |
</WRAP> | </WRAP> |
| |
==== その他 ==== | ===== その他 ===== |
[[.lm-sensors|ハードウエア監視 (lm-sensors)]]\\ | [[.lm-sensors|ハードウエア監視 (lm-sensors)]]\\ |
| |
==== トラブルシューティング ==== | ===== トラブルシューティング ===== |
| |
=== VLC で音楽再生時に pulseaudio が高負荷、バチバチノイズ、再生の安定に時間が掛かる === | ==== VLC で音楽再生時に pulseaudio が高負荷、バチバチノイズ、再生の安定に時間が掛かる ==== |
**pulseaudio** を無効にする。\\ | **pulseaudio** を無効にする。\\ |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
GUI の VLC Player はプレイリスト作成中にクラッシュしたりとても不安定です。\\ | GUI の VLC Player はプレイリスト作成中にクラッシュしたりとても不安定です。\\ |
| |
==== 付録 ==== | ===== 付録 ===== |
Google Voice Kit V2.0 の補足情報を付録として記載しておく。\\ | Google Voice Kit V2.0 の補足情報を付録として記載しておく。\\ |
| |
=== リビジョン情報 === | ==== リビジョン情報 ==== |
出荷時の SD メモリーカードで起動した場合。\\ | 出荷時の SD メモリーカードで起動した場合。\\ |
<code> | <code> |
</WRAP> | </WRAP> |
| |
=== OS 情報 === | ==== OS 情報 ==== |
出荷時の SD メモリーカードで起動した場合。\\ | 出荷時の SD メモリーカードで起動した場合。\\ |
<code> | <code> |
</WRAP> | </WRAP> |
| |
==== Mycroft AI を搭載してみる ==== | ===== Mycroft AI を搭載してみる ===== |
本家: [[https://mycroft.ai/|Mycroft – The Open Source Privacy-Focused Voice Assistant - Mycroft]]\\ | 本家: [[https://mycroft.ai/|Mycroft – The Open Source Privacy-Focused Voice Assistant - Mycroft]]\\ |
ソースコード: [[https://github.com/MycroftAI/mycroft-core|MycroftAI/mycroft-core: Mycroft Core, the Mycroft Artificial Intelligence platform.]]\\ | ソースコード: [[https://github.com/MycroftAI/mycroft-core|MycroftAI/mycroft-core: Mycroft Core, the Mycroft Artificial Intelligence platform.]]\\ |
| |
=== APT ライブラリを最新版へ更新 === | ==== APT ライブラリを最新版へ更新 ==== |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
=== Mycroft のセットアップ === | ==== Mycroft のセットアップ ==== |
<wrap em>※注意!: 必ず **sudo apt-get update** を実行してからセットアップを進めること。</wrap>\\ | <wrap em>※注意!: 必ず **sudo apt-get update** を実行してからセットアップを進めること。</wrap>\\ |
<wrap em>**sudo apt-get upgrade** はしなくても良い。</wrap>\\ | <wrap em>**sudo apt-get upgrade** はしなくても良い。</wrap>\\ |
Checking out files: 100% (787/787), done. | Checking out files: 100% (787/787), done. |
</code> | </code> |
| </WRAP> |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
</WRAP> | </WRAP> |
| |
=== Mycroft の実行 === | ==== Mycroft の実行 ==== |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
只今、作業中...😅💦\\ | 只今、作業中...😅💦\\ |
| |
==== Google Voice Kit V2 で Amazon Alexa ==== | ===== Google Voice Kit V2 で Amazon Alexa ===== |
[[.amazon_alexa_with_google_voice_kit_v2|Amazon Alexa with Google Voice Kit V2]]\\ | [[.amazon_alexa_with_google_voice_kit_v2|Amazon Alexa with Google Voice Kit V2]]\\ |
| |
| ===== 参考文献 ===== |
| [[http://kanzou7.seesaa.net/article/464757188.html|Alsamixerイコライザー]]\\ |
| [[https://wiki.archlinux.jp/index.php/Advanced_Linux_Sound_Architecture#AlsaEqual_.E3.82.92.E4.BD.BF.E3.81.86_.28UI_.E3.81.82.E3.82.8A.29|AlsaEqual を使う (UI あり) - Advanced Linux Sound Architecture - ArchWiki]]\\ |
| |
| ==== 付録 ==== |
| [[tw>tomoyan596sp/status/1520563382218559489|食卓スピーカー、全然重低音は期待できません🤔そろそろどうにかしたいかも😅]]\\ |
| |