ESP32-LyraT-Mini V1.2スタートガイド

ESP32-LyraT-Mini V1.2 Getting Started Guide

[中文]

このガイドでは、機能の説明、ESP32-LyraT-Mini V1.2オーディオ開発ボードの構成オプション、およびESP32-LyraTボードの使用を開始する方法について説明します。

This guide provides users with functional descriptions, configuration options for ESP32-LyraT-Mini V1.2 audio development board, as well as how to get started with the ESP32-LyraT board.

ESP32-LyraTは、デュアルコアESP32オーディオアプリケーション用に設計されたハードウェアプラットフォームです。たとえば、Wi-FiまたはBTオーディオスピーカー、音声ベースのリモートコントローラー、1つ以上のオーディオ機能を備えた接続されたスマート家電などです。

The ESP32-LyraT is a hardware platform designed for the dual-core ESP32 audio applications, e.g., Wi-Fi or BT audio speakers, speech-based remote controllers, connected smart-home appliances with one or more audio functionality, etc.

ESP32-LyraT-Miniはモノラルオーディオボードです。 ステレオオーディオボードをお探しの場合は、ESP32-LyraT V4.3スタートガイドを確認してください。

The ESP32-LyraT-Mini is a mono audio board. If you are looking for a stereo audio board, check ESP32-LyraT V4.3 Getting Started Guide.

何が必要

What You Need
  • ESP32-LyraT-Mini V1.2ボード
    ESP32-LyraT-Mini V1.2 board
  • デュポンのメスジャンパーワイヤー付き4オームスピーカーまたは3.5mmジャック付きヘッドホン
    4-ohm speaker with Dupont female jumper wires or headphones with a 3.5 mm jack
  • 2本のMicro-USB2.0ケーブル、タイプAからマイクロB
    Two Micro-USB 2.0 cables, Type A to Micro B
  • Windows、Linux、またはMacOSを搭載したPC
    PC loaded with Windows, Linux or Mac OS

オプションのコンポーネント

Optional components
  • マイクロSDカード
    Micro SD-card
  • リチウムイオン電池
    Li-ion Battery

今すぐこのボードの使用を開始したい場合は、「アプリケーション開発の開始」セクションに直接進んでください。

If you like to start using this board right now, go directly to section Start Application Development.

概要

Overview

ESP32-LyraT-Mini V1.2は、ESP32を中心に構築されたEspressifによって作成されたオーディオ開発ボードです。 これは、ESP32チップにすでに搭載されているものに加えて、オーディオ処理用のハードウェアと追加のRAMを提供することにより、オーディオアプリケーションを対象としています。 特定のハードウェアには次のものが含まれます:

The ESP32-LyraT-Mini V1.2 is an audio development board produced by Espressif built around ESP32. It is intended for audio applications, by providing hardware for audio processing and additional RAM on top of what is already on-board of the ESP32 chip. The specific hardware includes:
  • ESP32-WROVER-Bモジュール
    ESP32-WROVER-B module
  • オーディオコーデックチップ
    Audio codec chip
  • ADCチップ
    ADC chip
  • 搭載マイク
    Microphone on board
  • オーディオ出力
    Audio output
  • 1 x 3ワットスピーカー出力
    1 x 3-watt speaker output
  • マイクロSD カードスロット (1 ライン)
    MicroSD card slot (1 line)
  • 8つのキー
    Eight keys
  • 2つのシステムLED
    Two system LEDs
  • JTAGおよびUARTテストポイント
    JTAG and UART test points
  • 統合されたUSB-UARTブリッジチップ
    Integrated USB-UART Bridge Chip
  • リチウムイオン電池-充電管理
    Li-ion Battery-Charge Management

以下のブロック図は、ESP32-LyraT-Miniの主要コンポーネントとコンポーネント間の相互接続を示しています。

The block diagram below presents main components of the ESP32-LyraT-Mini and interconnections between components.
ESP32-LyraT-Mini block diagram

ESP32-LyraT-Mini Block Diagram

コンポーネント

Components

次のリストと図は、このガイドで使用されているESP32-LyraT-Miniの主要なコンポーネント、インターフェイス、およびコントロールについて説明しています。 このボードの詳細な技術文書については、ESP32-LyraT-Mini V1.2ハードウェアリファレンスおよびESP32-LyraT-Mini V1.2回路図(PDF)を参照してください。 以下のリストは、画像の右上隅から時計回りに向かって説明を提供します。

The following list and figure describe key components, interfaces and controls of the ESP32-LyraT-Mini used in this guide. For detailed technical documentation of this board, please refer to ESP32-LyraT-Mini V1.2 Hardware Reference and ESP32-LyraT-Mini V1.2 schematic (PDF). The list below provides description starting from the picture’s top right corner and going clockwise.
オーディオコーデックチップ
Audio Codec Chip
オーディオコーデックチップES8311は、低電力のモノラルオーディオコーデックです。 1チャンネルADC、1チャンネルDAC、低ノイズプリアンプ、ヘッドフォンドライバー、デジタルサウンドエフェクト、アナログミキシングおよびゲイン機能で構成されています。 I2SおよびI2Cバスを介してESP32-WROVER-Bモジュールとインターフェイスし、オーディオアプリケーションとは独立してハードウェアでオーディオ処理を提供します。
The audio codec chip, ES8311, is a low power mono audio codec. It consists of 1-channel ADC, 1-channel DAC, low noise pre-amplifier, headphone driver, digital sound effects, analog mixing and gain functions. It is interfaced with ESP32-WROVER-B Module over I2S and I2C buses to provide audio processing in hardware independently from the audio application.
オーディオ出力
Audio Output
ヘッドホンを3.5mmステレオジャックに接続するための出力ソケット。 (ボードはモノラル信号を出力することに注意してください)
Output socket to connect headphones with a 3.5 mm stereo jack. (Please note that the board outputs a mono signal)
スピーカー出力
Speaker Output
4オームスピーカーを接続するための出力ソケット。 ピンのピッチは標準で2.54mm /0.1インチです。
Output socket to connect 4 ohm speaker. The pins have a standard 2.54 mm / 0.1” pitch.
ESP32 LyraT-Mini V1.2 Board Layout Overview

ESP32 LyraT-Mini V1.2 Board Layout Overview

USB-UARTポート
USB-UART Port
PCとESP32間の通信インターフェースとして機能します。
Functions as the communication interface between a PC and the ESP32.
USB電源ポート
USB Power Port
ボードに電源を供給します。
Provides the power supply for the board.
スタンバイ/充電LED
Standby / Charging LEDs
スタンバイの緑色のLEDは、USB電源ポートに電力が供給されていることを示します。 充電中の赤いLEDは、バッテリーソケットに接続されているバッテリーが充電中であることを示します。
The Standby green LED indicates that power has been applied to the USB Power Port. The Charging red LED indicates that a battery connected to the Battery Socket is being charged.
電源オンスイッチ
Power On Switch
電源オン/オフノブ:上部に切り替えると、ボードの電源がオンになります。 ダウンに切り替えると、ボードの電源がオフになります。
Power on/off knob: toggling it to the top powers the board on; toggling it to the down powers the board off.
電源オンLED
Power On LED
電源オンスイッチがオンになっていることを示す赤いLED。
Red LED indicating that Power On Switch is turned on.
ESP32-WROVER-Bモジュール
ESP32-WROVER-B Module
ESP32-WROVER-Bモジュールには、Wi-Fi / BT接続とデータ処理能力を提供するESP32チップが含まれているほか、32Mbit SPIフラッシュと64Mbit PSRAMを統合して柔軟なデータストレージを実現します。
The ESP32-WROVER-B module contains ESP32 chip to provide Wi-Fi / BT connectivity and data processing power as well as integrates 32 Mbit SPI flash and 64 Mbit PSRAM for flexible data storage.

アプリケーション開発を開始する

Start Application Development

ESP32-LyraT-Miniの電源を入れる前に、ボードが損傷の明らかな兆候がなく、良好な状態で受け取られていることを確認してください。

Before powering up the ESP32-LyraT-Mini, please make sure that the board has been received in good condition with no obvious signs of damage.

初期設定

Initial Setup

最初のサンプルアプリケーションをロードするためにボードを準備します:

Prepare the board for loading of the first sample application:
  1. 4オームのスピーカーをスピーカー出力に接続します。 ヘッドフォンをオーディオ出力に接続することはオプションです。
    Connect 4-ohm speaker to the Speaker Output. Connecting headphones to the Audio Output is an option.
  2. Micro-USBケーブルをPCとESP32-LyraT-Miniの両方のUSBポートに接続します。
    Plug in the Micro-USB cables to the PC and to both USB ports of the ESP32-LyraT-Mini.
  3. スタンバイLED(緑色)が点灯するはずです。 バッテリーが接続されていない場合、充電LED(赤)が数秒ごとに点滅します。
    The Standby LED (green) should turn on. Assuming that a battery is not connected, the Charging LED (red) will blink every couple of seconds.
  4. 電源オンスイッチの上部を切り替えます。
    Toggle top the Power On Switch.
  5. 赤い電源オンLEDが点灯するはずです。
    The red Power On LED should turn on.

これがLEDに表示されているものである場合、ボードはアプリケーションのアップロードの準備ができているはずです。 次に、次のセクションで説明する開発ツールをロードして構成することにより、PCを準備します。

If this is what you see on the LEDs, the board should be ready for application upload. Now prepare the PC by loading and configuring development tools what is discussed in the next section.

アプリケーションの開発

Develop Applications

ESP32 LyraTが最初にセットアップされてチェックされている場合は、開発ツールの準備を進めることができます。 「はじめに」セクションに移動します。このセクションでは、次の手順を説明します:

If the ESP32 LyraT is initially set up and checked, you can proceed with preparation of the development tools. Go to section Get Started, which will walk you through the following steps: