wifi模块乐鑫科技ESP32-LyraTD-MSC V2.2开发板入门指南
wifi模块乐鑫科技ESP32-LyraTD-MSC V2.2开发板入门指南
This guide provides users with functional descriptions, configuration options for ESP32-LyraTD-MSC V2.2 audio development board, as well as how to get started with the ESP32-LyraTD-MSC board.
本指南旨在向用户介绍wifi模块乐鑫科技ESP32-LyraTD-MSC V2.2 音频开发板的功能、配置选项以及如何快速入门。
The ESP32-LyraTD-MSC is a hardware platform designed for smart speakers and AI applications. It supports Acoustic Echo Cancellation (AEC), Automatic Speech Recognition (ASR), Wake-up Interrupt and Voice Interaction.
wifi模块乐鑫科技ESP32-LyraTD-MSC 是一款面向智能音箱和 AI 应用程序的硬件平台,支持声学回声消除 (Acoustic Echo Cancelation, AEC)、 自动语音识别 (Automatic Speech Recognition, ASR)、打断唤醒 (Wake-up Interrupt) 以及语音互动 (Voice Interaction) 功能。
What You Need
1 × ESP32-LyraTD-MSC V2.2 board
2 x Speaker or headphones with a 3.5 mm jack. If you use a speaker, it is recommended to choose one no more than 3 watts, and JST PH 2.0 2-Pin plugs are needed. In case you do not have this type of plug it is also fine to use Dupont female jumper wires during development.
2 x Micro-USB 2.0 cables, Type A to Micro B
1 × PC loaded with Windows, Linux or Mac OS
准备工作
1 × ESP32-LyraTD-MSC V2.2 board
2 x 扬声器或 3.5 mm 的耳机(若使用扬声器,建议功率不超过 3 瓦特,另外需要接口为 JST PH 2.0 毫米 2 针的插头,若没有此插头,开发过程中可替换为杜邦母跳线)
2 x Micro-USB 2.0 数据线(Type A 转 Micro B)
1 × PC(Windows、 Linux 或 Mac OS)
Overview
概述
The ESP32-LyraTD-MSC V2.2 is an audio development board produced by Espressif built around ESP32. It is intended for smart speakers and AI applications, by providing hardware for digital signal processing, microphone array and additional RAM on top of what is already onboard of the ESP32 chip.
ESP32-LyraTD-MSC V2.2 是一款基于wifi模块乐鑫科技 ESP32 芯片的音频开发板,专为智能音箱和 AI 应用程序打造, 除 ESP32 芯片原有的硬件外,还增添了数字信号处理、麦克风阵列以及扩展 RAM。
This audio development board consists of two parts: the upper board (B), which provides a three-microphone array, function keys and LED lights; and the lower board (A), which integrates ESP32-WROVER-B, a MicroSemi Digital Signal Processing (DSP) chip, and a power management module.
ESP32-LyraTD-MSC V2.2 由上板和下板两部分组成,上板 (B) 集成三麦克风阵列、功能按键和 LED 灯,下板 (A) 集成 ESP32-WROVER-B 模组、MicroSemi Digital Signal Processing (DSP) 芯片以及电源管理模块。
ESP32-LyraTD-MSC 侧面图
The specific hardware includes:
ESP32-WROVER-B Module
DSP (Digital Signal Processing) chip
Three digital Microphones that support far-field voice pick-up
2 x 3-watt Speaker output
Headphone output
MicroSD Card slot (1 line or 4 lines)
Individually controlled Twelve LEDs distributed in a circle on the board’s edge
Six Function Buttons that may be assigned user functions
Several interface ports: I2S, I2C, SPI and JTAG
Integrated USB-UART Bridge Chip
Li-ion Battery-Charge Management
具体包括以下硬件:
ESP32-WROVER-B 模组
DSP 芯片
3 颗支持远场语音唤醒功能的麦克风
2 个 3-watt 扬声器输出
耳机输出
MicroSD 卡槽(一线模式或四线模式)
围绕开发板边缘分布的 12 个 LED 灯,可独立控制
6 个功能按键,可配置不同功能
多个端口:I2S、I2C、SPI、JTAG
集成 USB-UART 桥接芯片
锂电池充电管理
The block diagram below presents main components of the ESP32-LyraTD-MSC and interconnections between components.
下图展示的是 ESP32-LyraTD-MSC 的主要组件以及组件之间的连接方式。
ESP32-LyraTD-MSC 开发板框图
Components
组件
The following list and figure describe key components, interfaces and controls of the ESP32-LyraTD-MSC used in this guide. This covers just what is needed now. For additional details please refer to schematics provided in Related Documents.
以下列表和图片仅涉及 ESP32-LyraTD-MSC 的主要组件、接口和控制方式,只展示目前所需的信息,更多细节请参阅 相关文档 中的原理图。
ESP32-WROVER-B Module
ESP32-WROVER-B 模组
The ESP32-WROVER-B module contains ESP32 chip to provide Wi-Fi / Bluetooth connectivity and data processing power as well as integrates 32 Mbit SPI flash and 64 Mbit PSRAM for flexible data storage.
wifi模块乐鑫科技ESP32-WROVER-B 模组采用 ESP32 芯片,可实现 Wi-Fi/蓝牙连接和数据处理,同时集成 32 Mbit SPI flash 和 64 Mbit PSRAM,可实现灵活的数据存储。
DSP Chip
The Digital Signal Processing chip ZL38063 is used for Automatic Speech Recognition (ASR) applications. It captures audio data from an external microphone array and outputs audio signals through its Digital-to-Analog-Converter (DAC) port.
DSP 芯片
ZL38063 DSP 芯片用于自动语音识别应用程序,可从外部麦克风阵列获取音频数据,并通过自身 DAC 端口输出音频信号。
Headphone Output
Output socket to connect headphones with a 3.5 mm stereo jack.
耳机输出
输出插槽可连接 3.5 mm 立体声耳机。
Note
The socket may be used with mobile phone headsets and is compatible with OMPT standard headsets only. It does not work with CTIA headsets. Please refer to Phone connector (audio) on Wikipedia.
注意
该插槽可接入移动电话耳机,只与 OMPT 标准耳机兼容,与 CTIA 耳机不兼容。更多耳机标准信息请访问维基百科 Phone connector (audio) 词条。
Left Speaker Output
Output socket to connect a speaker. The 4-ohm and 3-watt speaker is recommended. The pins have a 2.00 mm / 0.08” pitch.
左侧扬声器输出
音频输出插槽,采用 2.00 mm / 0.08” 排针间距,建议连接 4 欧姆 3 瓦特扬声器。
Right Speaker Output
Output socket to connect a speaker. The 4-ohm and 3-watt speaker is recommended. The pins have a 2.00 mm / 0.08” pitch.
右侧扬声器输出
音频输出插槽,采用 2.00 mm / 0.08” 排针间距,建议连接 4 欧姆 3 瓦特扬声器。
ESP32-LyraTD-MSC V2.2 下板 (A) 组件图
USB-UART Port
Functions as the communication interface between a PC and the ESP32-WROVER-B module.
USB-UART 接口
作为 PC 和 ESP32-WROVER-B 模组之间的通信接口。
USB Power Port
Provides the power supply for the board.
USB 供电接口
为开发板供电。
Standby / Charging LEDs
The Standby green LED indicates that power has been applied to the Micro USB Port. The Charging red LED indicates that a battery connected to the Battery Socket is being charged.
待机/充电指示灯
绿色 待机 指示灯亮起时,表示电源已接入 Micro USB 接口;红色 充电 指示灯亮起时,表示连接至 电池接口 上的电池正在充电。
Power Switch
Power on/off knob: toggling it right powers the board on; otherwise powers the board off.
电源开关
电源开/关按钮:向右拨动按钮则开发板电源开启,向左拨动则电源关闭。
Power On LED
Red LED indicating that Power Switch is turned on.
电源指示灯
红色指示灯亮起表示 电源开关 已开启。
ESP32-LyraTD-MSC V2.2 上板 (B) 组件图
Boot/Reset Buttons
Boot: holding down the Boot button and momentarily pressing the Reset button initiates the firmware upload mode. Then user can upload firmware through the serial port.
启动/复位按键
启动:长按 Boot 键,然后点按 Reset 键进入烧写模式,此时可通过串行端口上传固件。
Reset: pressing this button alone resets the system.
复位:仅按下 Reset 键只能重置系统。
Start Application Development
应用程序开发
Before powering up the ESP32-LyraTD-MSC, please make sure that the board has been received in good condition with no obvious signs of damage. Both the lower A and the upper B board of the ESP32-LyraTD-MSC should be firmly connected together.
wifi模块乐鑫科技ESP32-LyraTD-MSC 上电之前,请先确认开发板完好无损,且上板 (B) 和下板 (A) 紧紧固定在一起。
Initial Setup
Prepare the board for loading of the first sample application:
Connect speakers to the Right and Left Speaker Output. Connecting headphones to the Headphone Output is an option.
1、Plug in the Micro-USB cables to the PC and to both USB ports of the ESP32-LyraTD-MSC.
2、The Standby LED (green) should turn on. Assuming that a battery is not connected, the Charging 3、LED (red) will blink every couple of seconds.
4、Toggle right the Power Switch.
5、The red Power On LED should turn on.
初始设置
设置开发板,以运行一个示例应用程序:
1、将扬声器连接至 两个扬声器输出,或将耳机连接至 耳机输出。
2、插入 Micro-USB 数据线,连接 PC 与 ESP32-LyraTD-MSC 开发板的 两个 USB 端口。
3、此时,绿色 待机指示灯 应亮起。若电池未连接,红色 充电指示灯 每隔几秒闪烁一次。
4、向右拨动 电源开关。
5、此时,红色 电源指示灯 应亮起。
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.
如果指示灯如上述显示,则初始设置已经完成,开发板可用于下载应用程序。现在,请按下文介绍运行并配置 PC 上的开发工具。
Develop Applications
Once the board is initially set up and checked, you can start preparing the development tools. The Section Installation Step by Step will walk you through the following steps:
Set up ESP-IDF to get a common development framework for the ESP32 (and ESP32-S2) chips in C language;
Get ESP-ADF to install the API specific to audio applications;
Setup Path to ESP-ADF to make the framework aware of the audio specific API;
Start a Project that will provide a sample audio application for the board;
Connect Your Device to prepare the application for loading;
Build the Project to finally run the application and play some music.
正式开始开发
若已完成初始设置和检查工作,请准备开发工具,请前往 Installation Step by Step 查看以下步骤:
Set up ESP-IDF 提供一套 ESP32 和 ESP32-S2 芯片的 C 语言 PC 开发编译环境;
Get ESP-ADF 获取开发音频应用程序的 API;
Setup Path to ESP-ADF 使开发框架获取到音频应用 API;
Start a Project 为开发板提供音频应用程序示例;
Connect Your Device 准备加载应用程序;
Build the Project 运行应用程序,播放音乐。
地址:深圳市宝安区西乡街道麻布社区宝安互联网产业基地A区6栋7栋7706
版权所有©2020 深圳市飞睿科技有限公司 粤ICP备2020098907号 飞睿科技微波雷达wifi模块网站地图
免责声明:本网站部分图片和文字内容可能来源于网络,转载目的在于传递更多信息,并不代表本网站赞同其观点或证实其内容的真实性。如涉及作品内容、版权和其它问题,请在30日内与本网站联系,我们将在第一时间删除内容!本站拥有对此声明的最终解释权。