background image

                                                                   

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

ROOBO Smart Audio Dev Kit 2 DDK2C7M1 

User Guide 

 

 

 

 

 

 

 

 

 
 

 

 

 

Summary of Contents for DDK2C7M1

Page 1: ...ROOBO Smart Audio Dev Kit 2 DDK2C7M1 User Guide ...

Page 2: ... owns the right to make improvements and or changes in this document at any time ROOBO provides this product to help accelerate the development of customizable in home assistants in car assistants smart speaker IoT devices or other voice enabled devices but not for other purposes Figures photos schematics and other information are included in this document to show the technical specifications and ...

Page 3: ...d system reference design This Circular 7 Mic array Dev Kit is a pre tuned end to end reference design that enables the commercial device manufacturers to efficiently build high quality speech enabled devices using Microsoft Speech Services Developers can integrate the Microsoft Speech Services into smart speakers set top boxes and other IoT devices with this kit and leverage premium Microsoft voi...

Page 4: ...it2 Specification Items Specs CPU MTK MT8516AAAA B Quad core A35 1 3GHz CPU OS Linux 4 4 WIFI 802 11b g n Bluetooth 4 0 HS RAM DDR3L NAND Flash 1Gb 64M x 16 1Gb MIC Array 7 circular array 6 1 Audio Line out 1 x 3 5mm Line out Data Interface 1 x Micro USB Interface Power Interface 1 x Micro USB Interface ...

Page 5: ...p to 32GB FAT32 Key 5 x Keys Reset Mute Volume Up Volume Down play pause Power Indicator Support Power Indicator Mic Array Indicator 12xRGB LEDs Work Temperature 4 131 20 55 Certification FCC ID 1 3 Circular 7 Mic Array 1 3 1 Mic Array Specs Items Performance ...

Page 6: ...tance 10m Listening Range 5m Room environment Signal to Noise Ratio 65dBA Sampling Rate 16K Sensitivity 38 1 dBV 1kHz ref 1V Pa 1 3 2 Mic Array Board Sample and layout Items Description Analog MEMS Microphone Pick up the audio from bottom Sensitivity 38dBV ADC TDM interface 24bit ADC Audio output Pin pitch 0 5mm 24 pins Connected to core board LED Driver Driver RGBx12 LED RGB LED 12xRGB LED ...

Page 7: ...d Sample and Layout Items Description Antenna Terminal 2 4GHz Wi Fi antenna terminal Line out 3 5mm Audio interface USB Debug Interface USB 2 0 Device Audio input Pin pitch 0 5mm 24 pins Connected to mic array board ...

Page 8: ...ongly recommend using high quality speakers for a better experience If you have noticed any static noise when the speaker is connected to the dev kit s AUX interface please switch to a higher quality speaker or use the USB port of the computer to power the dev kit The static noise generally occurs when an adapter is used to power the dev kit and the quality of the speaker is low If you want recomm...

Page 9: ...all exe to install it After installation android_winusb inf will be generated in the C Program Files MediaTek SP Driver drv Android path Open android_winusb inf add information under MediaTek NTx86 and MediaTek NTamd64 as below SingleAdbInterface USB_Install USB VID_18D1 PID_D002 Please replace the VID_18D1 PID_D002 section according to your actual device ID Example MediaTek NTx86 SingleAdbInterfa...

Page 10: ...2 7 5 installer and install it add the installation path to the environment variable after the installation is finished When finished close the current CMD window reopen a Windows console program and enter the following code python version Verify that version 2 7 5 is currently in use Step3 install pySerial Decompress the pySerial installer and run setup bat to install the pySerial tool to ensure ...

Page 11: ... where the image is placed in the Windows system environment Do not include Chinese characters and Spaces or you will get an error Power off the device unplug the power cord or plug in the cable to disconnect the power supply insert the small port of the Debug USB cable into the Micro USB interface of the device and connect the other end to your PC On a Windows PC open a CMD window go to the direc...

Page 12: ...lume button After the upgrade is completed a prompt message will be displayed telling you that the upgrade is successful After the upgrade is successful you will see success prompt and the platform system will be automatically restarted ...

Page 13: ...m guide 4 1 Mic LEDs program You can use the APIs of libfl3236 so to control the LEDs We also offer a DLL named libfl3236 so can be used to configure LED effects The head file libfl3236 so declares the APIs sysroots aarch64 poky linux usr include fl3236_manager h The sample code is as follows include stdio h include stdlib h include unistd h include fcntl h include fl3236 fl3236_manager h int main...

Page 14: ...ess events About API you can refer to the head file of libinputevent so sysroots aarch64 poky linux usr include input_manager h The sample code is as follows include stdio h include stdlib h include linux input h include inputevent input_manager h define KEYPAD_DEV_NAME gpio keys static void key_evt_callback struct input_event evt if evt type EV_KEY evt value 0 evt value 1 printf key d s n evt cod...

Page 15: ...fine I2C_DEV_ADDR 0x3e int main int argc char const argv int fd 1 char data 32 0 fd open dev i2c 0 O_WRONLY ioctl fd I2C_SLAVE I2C_DEV_ADDR write fd char data sizeof data close fd return 0 4 4 GPIO program Operate GPIO in user space you can refer to MTK SampleCode 4 5 Audio operating programming Audio operations can be performed directly using the standard ALSA framework DDK2 operates on ALSA in t...

Page 16: ...nd Integrated audio player function and other important peripheral functions such as WIFI Bluetooth OTA etc Appmainprog could be available as an application development kit it provides an interface layer for docking applications Use Domain Socket mode to communicate with other application commands The communication command is in cJson format Assistant Stub thread is responsible for receiving the c...

Page 17: ...E ASSISTANT_CMD_BT_MODE_SWITCH ASSISTANT_CMD_BT_STOP_INQUIRY ASSISTANT_CMD_BT_CONNECT ASSISTANT_CMD_BT_UNPAIR ASSISTANT_CMD_BT_PAIRED_LIST_UPDATE ASSISTANT_CMD_BT_INQUIRY ASSISTANT_CMD_START_BT_PAIR ASSISTANT_CMD_DEL_BT_PAIRED ASSISTANT_CMD_OPEN_BLE ASSISTANT_CMD_CLOSE_BLE ASSISTANT_CMD_BT_POWER_ON ASSISTANT_CMD_BT_POWER_OFF ASSISTANT_CMD_PLAY_BT_MUSIC ASSISTANT_CMD_BT_DISCONNECT ASSISTANT_CMD_GET...

Page 18: ...SH_STATUS_CHANGE ASSISTANT_CMD_KEY ASSISTANT_CMD_MAX ASSISTANT_CMD_E Each instruction corresponds to a different json command You can learn the details and implications of each command through Appmainprog_Communication_Protocol pdf Programming reference routines or MTK SampleCode include AssistantDef h include AssistantCmd h include CmdHubApi h include unistd h include fcntl h static void player_c...

Page 19: ... is subject to the condition that this device does not cause harmful interference 1 this device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation Any changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment NOTE T...

Page 20: ...om that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help To maintain compliance with FCC s RF Exposure guidelines This equipment should be installed and operated with minimum distance between 20cm the radiator your body Use only the supplied antenna FCC ID 2ASEF DDK2C7M1 ...

Reviews: