background image

ReSpeaker Core v2

Seeed ReSpeaker Core v2 is designed f or voice interactive applications. It is based on quad-core ARM Cortex-A7, up to 1.5Ghz, and 1GB RAM on-board. Besides,

it f eatures six microphone array w ith necessary speech algorithm, like DoA(Direction of  arrival), BF(Beam-Forming), AEC(Acoustic echo cancellation) and etc.

ReSpeaker Core v2 runs GNU/Linux operation system. It benef its f rom pow erf ul and active community, w e can use lot of  existing sof tw are/tools f or development,

testing and deploy, so that rapid product development become available.

ReSpeaker Core v2 is not only designed f or makers/enthusiast, but also a turnkey solution f or business company. The hardw are consists of  tw o parts, one is the

minimized SoC module w hich is small and easy f or manuf acturing and ready f or f inal product, the other is a bottom board w hich can be f ull customizable.

Features

High perf ormance SoC

1GB RAM & 4GB eMMC

6 Microphone Array

USB OTG, USB device

WiFi b/g/n and BLE 4.0

Detect range: ~5 meters

Grove socket f or other sensor

3.5mm audio jack & JST2.0 connector

8 channel ADCs f or 6 microphone array and 2 loopback (hardw are loopback)

Summary of Contents for ReSpeaker Core v2

Page 1: ...s for development testing and deploy so that rapid product development become available ReSpeaker Core v2 is not only designed for makers enthusiast but also a turnkey solution for business company The hardw are consists of tw o parts one is the minimized SoC module w hich is small and easy for manufacturing and ready for final product the other is a bottom board w hich can be full customizable Fe...

Page 2: ...5GHz GPU Mali400MP Support OpenGL ES1 1 2 0 Memory 1GB RAM Core Module includes RAM and PMU System Operating Voltage 3 6 5V 80 pins on module PMU on module Peripheral Networks WiFi b g n BLE 4 0 Ethernet USB 2 x USB Host 1 x USB OTG 1 x USB power Grove 1 x Grove socket I2C and Digital Vedio HDMI 2 0 with HDCP 1 4 2 2 up to 4K 60Hz Audio 6 Microphone Array 3 5mm Audio Jack JST2 0 Audio output conne...

Page 3: ...e speakers Jst 2 0 Socket UART You also can connect the ReSpeaker Core v2 w ith your computer via this UART port 8 Pins GPIO General Purpose Input Output interface for extended applications SD Card Slot T o plug in micro SD card eMMC Embedded Multi Media Card You can burn the image into eMMC so that the ReSpeaker Core v2 can boot from the eMMC USB Host You can plug USB device such as USB mouse USB...

Page 4: ... or I2C Pin Out Pin index definition for headers 8 pins header Grove Socket GPIO Pins MRAA HEADER PIN INDEX SYSFS PIN RK3229 PIN 0 0 1091 GPIO2_D3 1 1 VCC 2 2 1043 GPIO1_B3 3 3 1127 GPIO3_D7 4 4 1017 GPIO0_C1 5 5 1067 GPIO2_A3 6 6 GND 7 7 1013 GPIO0_B5 8 8 1085 GPIO2_C5 9 9 1084 GPIO2_C4 10 10 VCC 11 11 GND I2C Pins MRAA HEADER PIN INDEX SYSFS PIN RK3229 PIN 0 8 I2C2_SCL 0 9 I2C2_SDA Dimensions ...

Page 5: ...Applications Smart speaker Intelligent voice assistant systems ...

Page 6: ... 9 iot sd 4gb img xz Section Description iot lxqt The lxqt version comes w ith a desktop GUI w hile the iot version does not If you are new to ReSpeaker Core V2 lxqt version is recommended flasher sd The flasher version is used to flash the onboard eMMC after flashing you can remove the SD card The sd version w ill require the SD card to stay inserted all the time For development w e recommend the...

Page 7: ... file then burn it to SD card w ith other image w riting tools Step 3 After burning SD card insert the SD card in the ReSpeaker Core V2 Pow er the board using the PWR_IN micro usb port and do not remove the SD card w hile it s flashing During the flashing process you ll see the USER1 and USER2 LEDs blink alternately It w ill take about 10 minutes to complete When the LEDs turn off you can pow er o...

Page 8: ...ish a connection from your computer to your ReSpeaker using your USB to TTL adapter w hich w ill be connected to the ReSpeaker s Uart port Uart port located just to the left of the ReSpeaker speaker plug Step 1 Connect Uart port and your PC Mac w ith an USB T o TTL Adapter Note that the voltage of RX TX are 3 3V If you don t have an USB T o TTL Adapter you can click here to get one Step 2 Use the ...

Page 9: ...er over this serial connection And note this is a one time procedure as you ll next setup your Respeaker for Wi Fi connectivity and then connect via ssh or VNC going forw ard Network Setting Up A Wi Fi Setting Up Configure your ReSpeaker s netw ork w ith the Netw ork Manager tool nmtui nmtui w ill already be installed on the ReSpeaker image respeaker v2 sudo nmtui respeaker user needs sudo Then yo...

Page 10: ... ebf0 ec0a 5965 e710 f329 64 scope global noprefixroute dynamic valid_lft 345598sec preferred_lft 345598sec inet6 fe80 64de cac8 65ef aac8 64 scope link valid_lft forever preferred_lft forever In addition to the Netw or Manager GUI interface Netw ork Manager also has a command line tool If you are connecting to a hidden Wi Fi netw ork you ll need to use this command line tool nmcli c add type wifi...

Page 11: ...he sound card driver that SEEED implemented drives both the capture device and the playback device So there s no discrete capture or playback sound card in ALSA device list They re all named seeed 8mic voicecard The simplest w ay to heard sound from the board is to plugin a headset If you prefer loud speaker the board can output up to 8W of drive capability Record and Play 1 Test via ALSA As this ...

Page 12: ...o3 wav So far w e learned the basic operations of the ReSpeaker Core v2 board let s move forw ard We can use ReSpeaker Core v2 to build our ow n AVS Alexa Voice Service device or Dueros Voice assistance of Baidu device Play with AVS Alexa Voice Service This guide w ill show s you how to build an AVS device based on the ReSpeaker Core V2 Step 1 Install AVS library Python respeaker v2 sudo apt updat...

Page 13: ...dd the LED effect We call it Alexa w ith light Alexa Tap to Play T ap the command below in the terminal Of Putty SSH is recommended respeaker v2 local bin alexa tap Wait until you see on_ready in the log printing Press Enter key of your computer and talk to Alexa Only support English now Alexa Hands Free via snowboy sudo apt install libatlas base dev required by snowboy git clone https github com ...

Page 14: ...os auth After login the follow ing step is the same as AVS Please refer to AVS Demos When you run the python program you can say Alexa to w ake up the Baidu voice assistance GPIO This part w ill introduce how to use MRAA and UPM to control GPIO and Grove Socket on Respeaker Core v2 Step 1 Update MRAAand UPM libraries to latest version First w e need to check the kernel version of the system w e re...

Page 15: ...aker Core V2 board please refer to Pin Out Step 3 Demos with MRAAor UPM A Use MRAA Library Control GPIO Directly Materials ReSpeaker Core v2 Grove Buzzer Get ONE Now Get ONE Now Connect the Grove PIR sensor s SIG pin to the ReSpeaker Core v2 s header pin 0 w ith jumper Don t forget to w ire the VCC and GND at the same time Then tap the code below into your console respeaker v2 python Python 2 7 13...

Page 16: ...ept ValueError as e print e Then run the code w ith the command below make sure you have located in the folder w hich contains the mraa_pir py you ve just saved sudo python mraa_pir py The result w ill be like sudo python mraa_pir py Starting ISR for pin 0 Press ENTER to stoppin 1091 0 pin 1091 0 pin 1091 1 B Use UPM Library The UPM project implements sensors driver based on the MRAA library so w ...

Page 17: ... LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE from __future__ import print_function import time sys signal atexit from upm import pyupm_tsl2561 as upmTsl2561 def main Instantiate a digital light sensor TSL2561 on I2C myDigitalLightSensor upmTsl25...

Page 18: ...p 3 Click Record button again this time you w ill find Channel 8 changed Q2 If I do not have suitable cable to access the Serial Console how can I get into ReSpeaker Core v2 A2 You can use tw o w ires cable to pow er the ReSpeaker Core v2 When the system is running the Respeaker Core v2 can act as an AP You can use your computer to access this AP As the picture show You can follow the steps to con...

Page 19: ...e and capture sensitivity Step 1 T ap the follow ing code to open Alsamixer Alsamixer Step 2 Press F6 on your keyboard to choose Seeed 8mic voicec card Step 3 You w ill find the interface as the picture below You can choose the playback voice or record channel by pressing Right or Left key And you can adjust the value by pressing the Up or Down key ...

Page 20: ...if you have any technical issue Or submit the issue into our forum Resources PDF Dow nload PDF of This Wiki PDF Rockchip RK3229 Datasheet V1 1 PDF Dimensions for Board SKP 3d Models For ReSpeaker Core v2 MoreReading Mraa Python documents page MoreReading Intel Mraa SDK ...

Reviews: